linux-hexagon.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 00/19] hexagon: Fix up instances of -Wmissing-prototypes
@ 2023-11-30 22:58 Nathan Chancellor
  2023-11-30 22:58 ` [PATCH 01/19] hexagon: uaccess: Remove clear_user_hexagon() Nathan Chancellor
                   ` (20 more replies)
  0 siblings, 21 replies; 22+ messages in thread
From: Nathan Chancellor @ 2023-11-30 22:58 UTC (permalink / raw)
  To: bcain, akpm, arnd; +Cc: linux-hexagon, llvm, patches, Nathan Chancellor

Hi all,

This series fixes all the instances of -Wmissing-prototypes in
arch/hexagon, now that it is enabled globally in a default build. I hope
most of the patches will be uncontroversial but please let me know
otherwise. This survives ARCH=hexagon defconfig and allmodconfig with
LLVM 17.0.6.

This is based on Arnd's asm-generic-prototypes branch but it applies
cleanly to 6.7-rc3 as well, in case Andrew wants to take it (as far as
I remember, he has handled Hexagon patches for me in the past).

---
Nathan Chancellor (19):
      hexagon: uaccess: Remove clear_user_hexagon()
      hexagon: mm: Mark paging_init() as static
      hexagon: mm: Include asm/setup.h for setup_arch_memory()'s prototype
      hexagon: smp: Mark handle_ipi() and start_secondary() as static
      hexagon: vm_fault: Mark do_page_fault() as static
      hexagon: vm_fault: Include asm/vm_fault.h for prototypes
      hexagon: vm_tlb: Include asm/tlbflush.h for prototypes
      hexagon: time: Include asm/time.h for prototypes
      hexagon: time: Mark time_init_deferred() as static
      hexagon: time: Include asm/delay.h for prototypes
      hexagon: signal: Switch to SYSCALL_DEFINE0 for sys_rt_sigreturn()
      hexagon: reset: Include linux/reboot.h for prototypes
      hexagon: process: Include linux/cpu.h for arch_cpu_idle() prototype
      hexagon: process: Add internal prototype for do_work_pending()
      hexagon: vdso: Include asm/elf.h for arch_setup_additional_pages() prototype
      hexagon: vm_events: Remove unused dummy_handler()
      hexagon: irq: Add prototype for arch_do_IRQ()
      hexagon: traps: Remove sys_syscall()
      hexagon: traps: Add internal prototypes for functions only called from asm

 arch/hexagon/include/asm/irq.h  |  3 +++
 arch/hexagon/kernel/process.c   |  2 ++
 arch/hexagon/kernel/reset.c     |  1 +
 arch/hexagon/kernel/signal.c    |  2 +-
 arch/hexagon/kernel/smp.c       |  4 ++--
 arch/hexagon/kernel/time.c      |  4 +++-
 arch/hexagon/kernel/traps.c     | 11 ++++-------
 arch/hexagon/kernel/vdso.c      |  1 +
 arch/hexagon/kernel/vm_events.c |  7 -------
 arch/hexagon/mm/init.c          |  3 ++-
 arch/hexagon/mm/uaccess.c       |  8 --------
 arch/hexagon/mm/vm_fault.c      |  3 ++-
 arch/hexagon/mm/vm_tlb.c        |  1 +
 13 files changed, 22 insertions(+), 28 deletions(-)
---
base-commit: 6479f0df0b7b7e977357e524bdd2eb3aeb4fd085
change-id: 20231130-hexagon-missing-prototypes-6e05144769e7

Best regards,
-- 
Nathan Chancellor <nathan@kernel.org>


^ permalink raw reply	[flat|nested] 22+ messages in thread

end of thread, other threads:[~2023-12-01  7:13 UTC | newest]

Thread overview: 22+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-11-30 22:58 [PATCH 00/19] hexagon: Fix up instances of -Wmissing-prototypes Nathan Chancellor
2023-11-30 22:58 ` [PATCH 01/19] hexagon: uaccess: Remove clear_user_hexagon() Nathan Chancellor
2023-11-30 22:58 ` [PATCH 02/19] hexagon: mm: Mark paging_init() as static Nathan Chancellor
2023-11-30 22:58 ` [PATCH 03/19] hexagon: mm: Include asm/setup.h for setup_arch_memory()'s prototype Nathan Chancellor
2023-11-30 22:58 ` [PATCH 04/19] hexagon: smp: Mark handle_ipi() and start_secondary() as static Nathan Chancellor
2023-11-30 22:58 ` [PATCH 05/19] hexagon: vm_fault: Mark do_page_fault() " Nathan Chancellor
2023-11-30 22:58 ` [PATCH 06/19] hexagon: vm_fault: Include asm/vm_fault.h for prototypes Nathan Chancellor
2023-11-30 22:58 ` [PATCH 07/19] hexagon: vm_tlb: Include asm/tlbflush.h " Nathan Chancellor
2023-11-30 22:58 ` [PATCH 08/19] hexagon: time: Include asm/time.h " Nathan Chancellor
2023-11-30 22:58 ` [PATCH 09/19] hexagon: time: Mark time_init_deferred() as static Nathan Chancellor
2023-11-30 22:58 ` [PATCH 10/19] hexagon: time: Include asm/delay.h for prototypes Nathan Chancellor
2023-11-30 22:58 ` [PATCH 11/19] hexagon: signal: Switch to SYSCALL_DEFINE0 for sys_rt_sigreturn() Nathan Chancellor
2023-11-30 22:58 ` [PATCH 12/19] hexagon: reset: Include linux/reboot.h for prototypes Nathan Chancellor
2023-11-30 22:58 ` [PATCH 13/19] hexagon: process: Include linux/cpu.h for arch_cpu_idle() prototype Nathan Chancellor
2023-11-30 22:58 ` [PATCH 14/19] hexagon: process: Add internal prototype for do_work_pending() Nathan Chancellor
2023-11-30 22:58 ` [PATCH 15/19] hexagon: vdso: Include asm/elf.h for arch_setup_additional_pages() prototype Nathan Chancellor
2023-11-30 22:58 ` [PATCH 16/19] hexagon: vm_events: Remove unused dummy_handler() Nathan Chancellor
2023-11-30 22:58 ` [PATCH 17/19] hexagon: irq: Add prototype for arch_do_IRQ() Nathan Chancellor
2023-11-30 22:58 ` [PATCH 18/19] hexagon: traps: Remove sys_syscall() Nathan Chancellor
2023-11-30 22:58 ` [PATCH 19/19] hexagon: traps: Add internal prototypes for functions only called from asm Nathan Chancellor
2023-11-30 23:38 ` [PATCH 00/19] hexagon: Fix up instances of -Wmissing-prototypes Andrew Morton
2023-12-01  7:12 ` Arnd Bergmann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).