[PATCH] sparse fixes

Sascha Hauer s.hauer at pengutronix.de
Mon Jun 25 13:38:18 EDT 2012


This series fixes a bunch of sparse warnings. Don't worry, there are
still some left in the tree ;)

Sascha

----------------------------------------------------------------
Sascha Hauer (12):
      MMC i.MX esdhc: Fix sparse warnings
      tlsf: Use NULL instead of 0 for returning NULL pointers
      qsort: declare strcmp_compar publically
      Do not use iomem space for dev_get_mem_region
      define __user empty
      ARM i.MX speed: sparse fixes
      USB ohci: Fix sparse warnings
      net smc911x: Use __iomem for register base
      ARM i.MX clocksource: put registers in iomem space
      USB gadget fsl: Put registers into iomem space
      fs FAT: fix warning: Using plain integer as NULL pointer
      of: Fix usage of 0 as NULL pointer

 arch/arm/mach-imx/clocksource.c        |   12 ++++++----
 arch/arm/mach-imx/include/mach/clock.h |    2 ++
 arch/arm/mach-imx/speed-imx35.c        |    2 +-
 arch/arm/mach-imx/speed-imx51.c        |    5 ++--
 arch/arm/mach-imx/speed-imx53.c        |    3 ++-
 common/oftree.c                        |    2 +-
 common/tlsf.c                          |   12 +++++-----
 drivers/base/driver.c                  |    6 ++---
 drivers/mci/imx-esdhc.c                |   20 ++++++++--------
 drivers/mtd/ubi/ubi-barebox.h          |    1 -
 drivers/net/smc911x.c                  |    2 +-
 drivers/usb/gadget/fsl_udc.c           |    2 +-
 drivers/usb/host/ohci-hcd.c            |   40 ++++++--------------------------
 drivers/usb/host/ohci.h                |    2 +-
 fs/fat/ff.c                            |   10 ++++----
 include/driver.h                       |    2 +-
 include/linux/compiler.h               |    2 +-
 include/qsort.h                        |    2 ++
 18 files changed, 54 insertions(+), 73 deletions(-)



More information about the barebox mailing list