]> git.baikalelectronics.ru Git - kernel.git/commit
arm64: Add kasan_hw_tags_enable() prototype to silence sparse
authorCatalin Marinas <catalin.marinas@arm.com>
Fri, 10 Jun 2022 17:01:31 +0000 (18:01 +0100)
committerCatalin Marinas <catalin.marinas@arm.com>
Fri, 10 Jun 2022 17:04:05 +0000 (18:04 +0100)
commitc3ebfe96950627a66d24a96e4bc5bd74b3fe095a
tree63d77e017267d2dba43cb6f2c5c6d97490e78e08
parent4e8c8b80f8b0b0e24c59a65369167ab2f67819f2
arm64: Add kasan_hw_tags_enable() prototype to silence sparse

This function is only called from assembly, no need for a prototype
declaration in a header file. In addition, add #ifdef around the
function since it is only used when CONFIG_KASAN_HW_TAGS.

Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Reported-by: kernel test robot <lkp@intel.com>
arch/arm64/kernel/mte.c