[PATCH 00/19] Warning clean up series

Joel Sherrill joel.sherrill at oarcorp.com
Mon Mar 16 20:29:17 UTC 2015


Hi

This is a series of patches focused on warning clean up. Most
are related to reducing the number of deprecated warnings 
introduced by deprecating notepads, task variables, and
rtems_clock_get(). A few do touch printf() format warnings.

Some test and code rework is still left to get to the point
where all use of deprecated methods can be eliminated
very easily without impact.

--joel

Joel Sherrill (19):
  cpukit/libdl/rtl-obj-comp.c: Use correct printf() specification
  testsuites/samples/minimum/init.c: Notepads no longer need to be
    disabled
  tm07: Split some code into new spnotepad02.
  mvme162/tod/tod.c: Do not use rtems_clock_get()
  mvme167/network/network.c: Do not use rtems_clock_get()
  beatnik/network/porting/if_xxx_rtems.c: Do not use rtems_clock_get()
  score603e/tod/tod.c: Do not use rtems_clock_get()
  powerpc/shared/flash/intelFlash.c: Do not use rtems_clock_get()
  libcpu/bfin/clock/rtc.c: Do not use rtems_clock_get()
  libchip/i2c/spi-memdrv.c: Do not use rtems_clock_get()
  libchip/network/if_fxp.c: Do not use rtems_clock_get()
  libmisc/monitor/mon-task.c: Disable deprecated warning for use of
    notepads
  Disable deprecated warning on implementation of deprecated methods
  tests misc: Disable deprecated method usage warning when intentional
  sptests misc: Update to not use deprecated methods
  powerpc/mvme5500/vectors/exceptionhandler.c: Turn off deprecated
    warning
  powerpc/shared/flash/intelFlash.c: Eliminate use of deprecated method
  cpukit/include/rtems/btimer.h: Improve brief
  spcbssched03/tasks_periodic.c: Fixed now used before set warning

 c/src/lib/libbsp/m68k/mvme162/tod/tod.c            |   4 +-
 c/src/lib/libbsp/m68k/mvme167/network/network.c    |  40 +--
 .../powerpc/beatnik/network/porting/if_xxx_rtems.c |   2 +-
 .../powerpc/mvme5500/vectors/exceptionhandler.c    |   6 +
 c/src/lib/libbsp/powerpc/score603e/tod/tod.c       |   4 +-
 c/src/lib/libbsp/powerpc/shared/flash/intelFlash.c |   2 +-
 c/src/lib/libcpu/bfin/clock/rtc.c                  |   4 +-
 c/src/libchip/i2c/spi-memdrv.c                     |  11 +-
 c/src/libchip/network/if_fxp.c                     |   2 +-
 cpukit/include/rtems/btimer.h                      |   2 +-
 cpukit/libdl/rtl-obj-comp.c                        |   2 +-
 cpukit/libfs/src/rfs/rtems-rfs-buffer.c            |   4 +-
 cpukit/libmisc/monitor/mon-task.c                  |  23 +-
 cpukit/rtems/src/clockget.c                        |   6 +
 cpukit/rtems/src/taskgetnote.c                     |   5 +
 cpukit/rtems/src/tasks.c                           |  14 +-
 cpukit/rtems/src/tasksetnote.c                     |   5 +
 cpukit/rtems/src/taskvariable_invoke_dtor.c        |   5 +
 cpukit/rtems/src/taskvariableadd.c                 |   5 +
 cpukit/rtems/src/taskvariabledelete.c              |   5 +
 cpukit/rtems/src/taskvariableget.c                 |   5 +-
 testsuites/psxtests/psxconfig01/init.c             |  14 +-
 testsuites/samples/minimum/init.c                  |   7 -
 testsuites/sptests/Makefile.am                     |   2 +-
 testsuites/sptests/configure.ac                    |   1 +
 testsuites/sptests/sp07/init.c                     |  36 +--
 testsuites/sptests/sp07/sp07.scn                   |   2 -
 testsuites/sptests/sp07/task1.c                    |   5 +
 testsuites/sptests/sp07/task2.c                    |   5 +
 testsuites/sptests/spcbssched02/task_periodic.c    |   6 +-
 testsuites/sptests/spcbssched03/tasks_aperiodic.c  |   6 +-
 testsuites/sptests/spcbssched03/tasks_periodic.c   |   7 +-
 testsuites/sptests/spclockget/init.c               |   2 +
 testsuites/sptests/spedfsched03/tasks_aperiodic.c  |   6 +-
 testsuites/sptests/spedfsched03/tasks_periodic.c   |   6 +-
 testsuites/sptests/spnotepad01/init.c              |   5 +
 testsuites/sptests/spnotepad02/Makefile.am         |  22 ++
 testsuites/sptests/spnotepad02/init.c              |  65 ++++
 testsuites/sptests/spnotepad02/spnotepad02.doc     |   0
 testsuites/sptests/spnotepad02/spnotepad02.scn     |   0
 testsuites/sptests/spqreslib/task_periodic.c       |   6 +-
 testsuites/sptests/sptask_err04/task1.c            | 344 +++++++++++----------
 testsuites/tmtests/tm08/task1.c                    |  62 ++--
 43 files changed, 478 insertions(+), 287 deletions(-)
 create mode 100644 testsuites/sptests/spnotepad02/Makefile.am
 create mode 100644 testsuites/sptests/spnotepad02/init.c
 create mode 100644 testsuites/sptests/spnotepad02/spnotepad02.doc
 create mode 100644 testsuites/sptests/spnotepad02/spnotepad02.scn

-- 
1.9.3



More information about the devel mailing list