Skip to content

mach-omap2: resolve remaining sparse issues

Paul Walmsley linux-omap 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4Add prototypes for public functions or declare private functions static:arch/arm/mach-omap2/pm.c arch/arm/mach-omap2/pm.h arch/arm/mach-omap2/pm34xx.c +1 more+10 -20 replies
2/4mach-omap2: mark casts between integers and pointers with __forcearch/arm/mach-omap2/clock24xx.h arch/arm/mach-omap2/clock34xx.h arch/arm/mach-omap2/gpmc.c +1 more+19 -110 replies
3/4mach-omap2: fix sparse warnings, some style issues for OMAP2 buildsarch/arm/mach-omap2/board-2430sdp-flash.c arch/arm/mach-omap2/board-n800-audio.c arch/arm/mach-omap2/board-n800-camera.c +9 more+42 -330 replies
4/4SmartReflex: fix sparse issuesarch/arm/mach-omap2/smartreflex.c arch/arm/mach-omap2/smartreflex.h+9 -40 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/4] mach-omap2: resolve remaining sparse issues

This series fixes the current set of sparse warnings in arch/arm/mach-omap2 for the omap2_evm_defconfig, n800_defconfig, and omap_3430sdp_defconfig configs. A few checkpatch issues are also addressed.

Boot-tested on N800 and 3430SDP ES2.

- Paul

size:
text data bss dec hex filename

2922973  134480  100984 3158437  3031a5 vmlinux.omap2evm.orig
2922941  134480  100984 3158405  303185 vmlinux.omap2evm

---

Paul Walmsley (4):
SmartReflex: fix sparse issues
mach-omap2: fix sparse warnings, some style issues for OMAP2 builds
mach-omap2: mark casts between integers and pointers with __force Add prototypes for public functions or declare private functions static:

 arch/arm/mach-omap2/board-2430sdp-flash.c |   28 ++++++++++++++--------------
 arch/arm/mach-omap2/board-n800-audio.c    |   14 ++++++++------
 arch/arm/mach-omap2/board-n800-camera.c   |    2 ++
 arch/arm/mach-omap2/board-n800.h          |    2 ++
 arch/arm/mach-omap2/clock24xx.c           |    2 +-
 arch/arm/mach-omap2/clock24xx.h           |    6 ++++--
 arch/arm/mach-omap2/clock34xx.h           |    9 ++++++---
 arch/arm/mach-omap2/gpmc.c                |   11 +++++++----
 arch/arm/mach-omap2/irq.c                 |    4 ++--
 arch/arm/mach-omap2/mailbox.c             |    4 ++--
 arch/arm/mach-omap2/mcbsp.c               |    2 +-
 arch/arm/mach-omap2/mmu.h                 |    4 ++--
 arch/arm/mach-omap2/mux.c                 |    2 +-
 arch/arm/mach-omap2/pm.c                  |    3 ++-
 arch/arm/mach-omap2/pm.h                  |   16 ++++++++++------
 arch/arm/mach-omap2/pm34xx.c              |    2 +-
 arch/arm/mach-omap2/smartreflex.c         |   10 ++++++----
 arch/arm/mach-omap2/smartreflex.h         |    3 +++
 include/asm-arm/arch-omap/mailbox.h       |    2 ++
 include/asm-arm/arch-omap/prcm.h          |    4 ++++
 20 files changed, 80 insertions(+), 50 deletions(-)