arm64: Mark the 'addr' argument to set_ptes() and __set_pte_at() as unused
authorCatalin Marinas <catalin.marinas@arm.com>
Tue, 17 Oct 2023 10:57:55 +0000 (11:57 +0100)
committerCatalin Marinas <catalin.marinas@arm.com>
Wed, 18 Oct 2023 09:58:31 +0000 (10:58 +0100)
commitdba2ff4922b3cf573c25c3886e869258a6076030
treea4ca9bb86489a1f8ecaf27e86df81f203cb4b404
parent3425cec42c3ce0f65fe74e412756b567b152e61d
arm64: Mark the 'addr' argument to set_ptes() and __set_pte_at() as unused

This argument is not used by the arm64 implementation. Mark it as
__always_unused and also remove the unnecessary 'addr' increment in
set_ptes().

Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202310140531.BQQwt3NQ-lkp@intel.com/
Cc: Will Deacon <will@kernel.org>
Tested-by: Ryan Roberts <ryan.roberts@arm.com>
Link: https://lore.kernel.org/r/ZS6EvMiJ0QF5INkv@arm.com
arch/arm64/include/asm/pgtable.h