Linux MIPS Architecture development
 help / color / mirror / Atom feed
* [PATCH 00/11] MIPS: Fix various sparse warnings
@ 2017-08-23 18:17 Paul Burton
  2017-08-23 18:17 ` Paul Burton
                   ` (12 more replies)
  0 siblings, 13 replies; 30+ messages in thread
From: Paul Burton @ 2017-08-23 18:17 UTC (permalink / raw)
  To: linux-mips, Ralf Baechle, trivial; +Cc: Paul Burton

This series fixes various sparse warnings, mostly low hanging fruit.

Patches 1-7 include headers providing declarations of functions or
variables in files which provide their definitions. This clears up
sparse warnings & ensures that the prototypes of declarations &
definitions match.

Patch 8 fixes the type of a fault_addr argument used in the FPU
emulation code to be correct & avoid a lot of sparse warnings.

Patches 9 & 10 remove some dead code.

Patch 11 declares a bunch of things which we don't use outside of the
translation unit that defines them static.

Applies atop v4.13-rc6.

Paul Burton (11):
  MIPS: generic: Include asm/bootinfo.h for plat_fdt_relocated()
  MIPS: generic: Include asm/time.h for get_c0_*_int()
  MIPS: Include asm/setup.h for cpu_cache_init()
  MIPS: Include linux/cpu.h for arch_cpu_idle()
  MIPS: Include asm/delay.h for __{,n,u}delay()
  MIPS: Include elf-randomize.h for arch_mmap_rnd() &
    arch_randomize_brk()
  MIPS: Include linux/initrd.h for free_initrd_mem()
  MIPS: math-emu: Correct user fault_addr type
  MIPS: Remove __invalidate_kernel_vmap_range
  MIPS: Remove plat_timer_setup()
  MIPS: Declare various variables & functions static

 arch/mips/generic/init.c              |  5 +++++
 arch/mips/generic/irq.c               |  1 +
 arch/mips/include/asm/fpu_emulator.h  |  2 +-
 arch/mips/kernel/cpu-probe.c          |  2 +-
 arch/mips/kernel/idle.c               |  1 +
 arch/mips/kernel/mips-r2-to-r6-emul.c |  6 +++---
 arch/mips/kernel/pm-cps.c             |  2 +-
 arch/mips/kernel/time.c               | 14 --------------
 arch/mips/kernel/unaligned.c          |  2 +-
 arch/mips/lib/delay.c                 |  1 +
 arch/mips/math-emu/cp1emu.c           |  8 ++++----
 arch/mips/mm/cache.c                  |  2 +-
 arch/mips/mm/dma-default.c            |  4 ++--
 arch/mips/mm/init.c                   |  1 +
 arch/mips/mm/mmap.c                   |  1 +
 15 files changed, 24 insertions(+), 28 deletions(-)

-- 
2.14.1

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

end of thread, other threads:[~2017-08-29 16:46 UTC | newest]

Thread overview: 30+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-08-23 18:17 [PATCH 00/11] MIPS: Fix various sparse warnings Paul Burton
2017-08-23 18:17 ` Paul Burton
2017-08-23 18:17 ` [PATCH 01/11] MIPS: generic: Include asm/bootinfo.h for plat_fdt_relocated() Paul Burton
2017-08-23 18:17   ` Paul Burton
2017-08-23 18:17 ` [PATCH 02/11] MIPS: generic: Include asm/time.h for get_c0_*_int() Paul Burton
2017-08-23 18:17   ` Paul Burton
2017-08-23 18:17 ` [PATCH 03/11] MIPS: Include asm/setup.h for cpu_cache_init() Paul Burton
2017-08-23 18:17   ` Paul Burton
2017-08-23 18:17 ` [PATCH 04/11] MIPS: Include linux/cpu.h for arch_cpu_idle() Paul Burton
2017-08-23 18:17   ` Paul Burton
2017-08-23 18:17 ` [PATCH 05/11] MIPS: Include asm/delay.h for __{,n,u}delay() Paul Burton
2017-08-23 18:17   ` Paul Burton
2017-08-23 18:17 ` [PATCH 06/11] MIPS: Include elf-randomize.h for arch_mmap_rnd() & arch_randomize_brk() Paul Burton
2017-08-23 18:17   ` Paul Burton
2017-08-23 18:17 ` [PATCH 07/11] MIPS: Include linux/initrd.h for free_initrd_mem() Paul Burton
2017-08-23 18:17   ` Paul Burton
2017-08-23 18:17 ` [PATCH 08/11] MIPS: math-emu: Correct user fault_addr type Paul Burton
2017-08-23 18:17   ` Paul Burton
2017-08-23 18:17 ` [PATCH 09/11] MIPS: Remove __invalidate_kernel_vmap_range Paul Burton
2017-08-23 18:17   ` Paul Burton
2017-08-23 18:17 ` [PATCH 10/11] MIPS: Remove plat_timer_setup() Paul Burton
2017-08-23 18:17   ` Paul Burton
2017-08-23 18:17 ` [PATCH 11/11] MIPS: Declare various variables & functions static Paul Burton
2017-08-23 18:17   ` Paul Burton
2017-08-29 10:07   ` Marcin Nowakowski
2017-08-29 10:07     ` Marcin Nowakowski
     [not found]   ` <787b1a5b-2e77-41cc-235f-6dfd882b225a@imgtec.com>
2017-08-29 16:44     ` Paul Burton
2017-08-29 16:44       ` Paul Burton
2017-08-29 16:46       ` Ralf Baechle
2017-08-25 21:20 ` [PATCH 00/11] MIPS: Fix various sparse warnings Florian Fainelli

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox