linux/arch/hexagon/mm
Nathan Chancellor bba07109f5 hexagon: mm: include asm/setup.h for setup_arch_memory()'s prototype
Clang warns:

  arch/hexagon/mm/init.c:138:13: warning: no previous prototype for function 'setup_arch_memory' [-Wmissing-prototypes]
    138 | void __init setup_arch_memory(void)
        |             ^
  arch/hexagon/mm/init.c:138:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
    138 | void __init setup_arch_memory(void)
        | ^
        | static

The prototype is in asm/setup.h, include it to clear up the warning.

Link: https://lkml.kernel.org/r/20231130-hexagon-missing-prototypes-v1-3-5c34714afe9e@kernel.org
Signed-off-by: Nathan Chancellor <nathan@kernel.org>
Cc: Arnd Bergmann <arnd@arndb.de>
Cc: Brian Cain <bcain@quicinc.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
2023-12-10 17:21:34 -08:00
..
cache.c
copy_from_user.S
copy_to_user.S
copy_user_template.S
init.c hexagon: mm: include asm/setup.h for setup_arch_memory()'s prototype 2023-12-10 17:21:34 -08:00
Makefile hexagon: mm: convert to GENERIC_IOREMAP 2023-08-18 10:12:32 -07:00
uaccess.c hexagon: uaccess: remove clear_user_hexagon() 2023-12-10 17:21:33 -08:00
vm_fault.c mm/fault: convert remaining simple cases to lock_mm_and_find_vma() 2023-06-24 14:12:58 -07:00
vm_tlb.c