[PATCH 00/15] Warning Removal Patch Series

Joel Sherrill joel.sherrill at oarcorp.com
Mon Mar 9 17:38:40 UTC 2015


Hi

This series of patches includes two I posted over the weekend.
Most are pretty obvious changes to fix warnings or minor issues
I spotted while removing warnings. 

Again, the warning removal pass does not have tests or 
networking enabled. We have about 30 printf() format
warnings which may be reduced by a newlib/gcc
inttypes.h/stdint.h mismatch I am trying to get resolved.
There are also two BSPs with warnings in BSP specific code left. 

Anyway, this is this round of warning removal patches.

--joel

Joel Sherrill (15):
  shared/include/grcan.h: Add prototypes to fix warnings
  powerpc/shared/bootloader/pci.c: Remove warnings
  gensh4/include/bsp.h: Remove unused prototype and include
  gensh1/include/bsp.h: Add needed prototype
  or1k: Correct _CPU_Thread_Idle_body prototype
  cpukit/score/cpu/sh/context.c: Correct name of _CPU_Context_switch
  tools/cpu/sh/sci.c: Add include of bsp.h to generated file
  or1k/rtems/score/cpu.h: Add no_return attribute to
    _CPU_Context_restore
  vprintk.c: Reorder switch and add default to eliminate warning
  mvme136.cfg: Remove -DNDEBUG flag
  lpc1768_mbed.cfg: Remove -DNDEBUG flag
  rtl22xx.cfg: Remove -DNDEBUG flag
  libcpu/powerpc/mpc8260/console-generic/console-generic.c: Include
    bsp.h to fix warning
  cpukit/libdl/rtl-mdreloc-m32r.c: Add parentheses per Chris' suggestion
  cpukit/libcrypt/misc.c: Conditionally correct 16-bit unclean code

 c/src/lib/libbsp/arm/lpc176x/make/custom/lpc1768_mbed.cfg        | 2 +-
 c/src/lib/libbsp/arm/rtl22xx/make/custom/rtl22xx.cfg             | 2 +-
 c/src/lib/libbsp/m68k/mvme136/make/custom/mvme136.cfg            | 2 +-
 c/src/lib/libbsp/powerpc/shared/bootloader/pci.c                 | 4 ++--
 c/src/lib/libbsp/sh/gensh1/include/bsp.h                         | 7 +++++++
 c/src/lib/libbsp/sh/gensh4/include/bsp.h                         | 6 ------
 c/src/lib/libbsp/sparc/shared/include/grcan.h                    | 3 ++-
 .../lib/libcpu/powerpc/mpc8260/console-generic/console-generic.c | 4 +---
 cpukit/libcrypt/misc.c                                           | 4 ++++
 cpukit/libcsupport/src/vprintk.c                                 | 9 +++++----
 cpukit/libdl/rtl-mdreloc-m32r.c                                  | 2 +-
 cpukit/score/cpu/or1k/cpu.c                                      | 2 +-
 cpukit/score/cpu/or1k/rtems/score/cpu.h                          | 4 ++--
 cpukit/score/cpu/sh/context.c                                    | 2 +-
 tools/cpu/sh/sci.c                                               | 1 +
 15 files changed, 30 insertions(+), 24 deletions(-)

-- 
1.9.3



More information about the devel mailing list