Skip to content
Commit 1c8a946b authored by Oleksandr Andrushchenko's avatar Oleksandr Andrushchenko Committed by Catalin Marinas
Browse files

arm64: mm: avoid name clash in __page_to_voff()



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: 3fa72fe9 ("arm64: mm: fix __page_to_voff definition")
Acked-by: default avatarMark Rutland <mark.rutland@arm.com>
Suggested-by: default avatarVolodymyr Babchuk <Volodymyr_Babchuk@epam.com>
Signed-off-by: default avatarOleksandr Andrushchenko <Oleksandr_Andrushchenko@epam.com>
Signed-off-by: default avatarCatalin Marinas <catalin.marinas@arm.com>
parent 524dabe1
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment