On 14.05.2020 12:01, Wei Liu wrote:
> On Wed, May 13, 2020 at 04:43:33PM +0100, Hongyan Xia wrote:
>> From: Hongyan Xia <[email protected]>
>>
>> The macro version UNMAP_DOMAIN_PAGE() does both NULL checking and
>> variable clearing. Move NULL checking into the function itself so that
>> the semantics is consistent with other similar constructs like XFREE().
>> This also eases the use unmap_domain_page() in error handling paths,
>> where we only care about NULL checking but not about variable clearing.
>>
>> Signed-off-by: Hongyan Xia <[email protected]>
> 
> Reviewed-by: Wei Liu <[email protected]>

Acked-by: Jan Beulich <[email protected]>


Reply via email to