[PATCH v1] arm64: mm: avoid name clash in __page_to_voff()

Catalin Marinas catalin.marinas at arm.com
Wed Jan 18 03:24:30 PST 2017


On Wed, Jan 18, 2017 at 09:09:25AM +0200, Oleksandr Andrushchenko wrote:
> From: Oleksandr Andrushchenko <Oleksandr_Andrushchenko at epam.com>
> 
> The arm64 __page_to_voff() macro takes a parameter called 'page', and
> also refers to 'struct page'. Thus, if the value passed in is not
> called 'page', we'll refer to the wrong struct name (which might not
> exist).
> 
> Fixes: 3fa72fe9c614 ("arm64: mm: fix __page_to_voff definition")
> Acked-by: Mark Rutland <mark.rutland at arm.com>
> Suggested-by: Volodymyr Babchuk <Volodymyr_Babchuk at epam.com>
> Signed-off-by: Oleksandr Andrushchenko <Oleksandr_Andrushchenko at epam.com>

Queued for 4.10. Thanks.

-- 
Catalin



More information about the linux-arm-kernel mailing list