[riot-commits] [RIOT-OS/RIOT] 715045: dist: enable cppcheck warnings for all files

Kaspar Schleiser kaspar at schleiser.de
Fri Apr 21 09:54:06 CEST 2017


  Branch: refs/heads/2017.04-branch
  Home:   https://github.com/RIOT-OS/RIOT
  Commit: 71504540f7836c11f7c4017c7a75a8a691850d9a
      https://github.com/RIOT-OS/RIOT/commit/71504540f7836c11f7c4017c7a75a8a691850d9a
  Author: Oleg Hahm <oleg at hobbykeller.org>
  Date:   2017-04-19 (Wed, 19 Apr 2017)

  Changed paths:
    M dist/tools/ci/build_and_test.sh

  Log Message:
  -----------
  dist: enable cppcheck warnings for all files


  Commit: c365b59bb7adfef723e0bae5108abec637a59928
      https://github.com/RIOT-OS/RIOT/commit/c365b59bb7adfef723e0bae5108abec637a59928
  Author: Oleg Hahm <oleg at hobbykeller.org>
  Date:   2017-04-19 (Wed, 19 Apr 2017)

  Changed paths:
    M drivers/adt7310/adt7310.c

  Log Message:
  -----------
  adt7310: suppress cppcheck warning


  Commit: 3d425380ce90f8998f8f0ef7ecf8b6051be1ea01
      https://github.com/RIOT-OS/RIOT/commit/3d425380ce90f8998f8f0ef7ecf8b6051be1ea01
  Author: Oleg Hahm <oleg at hobbykeller.org>
  Date:   2017-04-19 (Wed, 19 Apr 2017)

  Changed paths:
    M drivers/hdc1000/hdc1000.c

  Log Message:
  -----------
  hdc1000: reduce scope of variables


  Commit: 9c85c881cbe31521eb1cdeca3cb2c97168d8d69c
      https://github.com/RIOT-OS/RIOT/commit/9c85c881cbe31521eb1cdeca3cb2c97168d8d69c
  Author: Oleg Hahm <oleg at hobbykeller.org>
  Date:   2017-04-19 (Wed, 19 Apr 2017)

  Changed paths:
    M pkg/nordic_softdevice_ble/src/ble-mac.c
    M pkg/nordic_softdevice_ble/src/gnrc_nordic_ble_6lowpan.c

  Log Message:
  -----------
  pkg: nordic_softdevice_ble: fix cppcheck warnings


  Commit: 9e4e3f1c38f931c90ab39d450a517c6d87479684
      https://github.com/RIOT-OS/RIOT/commit/9e4e3f1c38f931c90ab39d450a517c6d87479684
  Author: Martine Lenders <m.lenders at fu-berlin.de>
  Date:   2017-04-19 (Wed, 19 Apr 2017)

  Changed paths:
    M sys/crypto/chacha.c
    M sys/crypto/modes/cbc.c

  Log Message:
  -----------
  crypto: fix cppcheck warnings


  Commit: e9f8bf3972cbc41b683c96a0544a26ae797b1b8f
      https://github.com/RIOT-OS/RIOT/commit/e9f8bf3972cbc41b683c96a0544a26ae797b1b8f
  Author: Martine Lenders <m.lenders at fu-berlin.de>
  Date:   2017-04-19 (Wed, 19 Apr 2017)

  Changed paths:
    M sys/include/xtimer/implementation.h

  Log Message:
  -----------
  xtimer: fix cppcheck warnings


  Commit: ecd8a6799001b77baee4fefe17cdf1cbc7a14cdf
      https://github.com/RIOT-OS/RIOT/commit/ecd8a6799001b77baee4fefe17cdf1cbc7a14cdf
  Author: Martine Lenders <m.lenders at fu-berlin.de>
  Date:   2017-04-19 (Wed, 19 Apr 2017)

  Changed paths:
    M sys/net/gnrc/network_layer/ipv6/netif/gnrc_ipv6_netif.c
    M sys/net/gnrc/routing/rpl/p2p/gnrc_rpl_p2p.c
    M sys/net/gnrc/sock/udp/gnrc_sock_udp.c

  Log Message:
  -----------
  gnrc: fix cppcheck warnings


  Commit: 8b21641a6aa95e8b05d552f3a49397205054e12c
      https://github.com/RIOT-OS/RIOT/commit/8b21641a6aa95e8b05d552f3a49397205054e12c
  Author: Martine Lenders <m.lenders at fu-berlin.de>
  Date:   2017-04-19 (Wed, 19 Apr 2017)

  Changed paths:
    M sys/universal_address/universal_address.c

  Log Message:
  -----------
  universal_address: fix cppcheck warnings


  Commit: 60ca3ff08e51adecb65e8bb76b1a5810702f06be
      https://github.com/RIOT-OS/RIOT/commit/60ca3ff08e51adecb65e8bb76b1a5810702f06be
  Author: Oleg Hahm <oleg at hobbykeller.org>
  Date:   2017-04-19 (Wed, 19 Apr 2017)

  Changed paths:
    M sys/quad_math/muldi3.c
    M sys/quad_math/qdivrem.c

  Log Message:
  -----------
  quad_math: fix or suppress cppcheck warnings


  Commit: f5e5066f3a6ce31d144140975ac8c312f02fee83
      https://github.com/RIOT-OS/RIOT/commit/f5e5066f3a6ce31d144140975ac8c312f02fee83
  Author: Oleg Hahm <oleg at hobbykeller.org>
  Date:   2017-04-19 (Wed, 19 Apr 2017)

  Changed paths:
    M sys/shell/commands/sc_gnrc_rpl.c

  Log Message:
  -----------
  shell: rpl: fix cppcheck warning


  Commit: 36427cff8008e68a07cfd33140c7e37bb87ce430
      https://github.com/RIOT-OS/RIOT/commit/36427cff8008e68a07cfd33140c7e37bb87ce430
  Author: Oleg Hahm <oleg at hobbykeller.org>
  Date:   2017-04-19 (Wed, 19 Apr 2017)

  Changed paths:
    M sys/universal_address/universal_address.c

  Log Message:
  -----------
  universal_address: fix cppcheck warning


  Commit: 294118a38fe7dd4e4f7d92958f7972e7521133c2
      https://github.com/RIOT-OS/RIOT/commit/294118a38fe7dd4e4f7d92958f7972e7521133c2
  Author: Oleg Hahm <oleg at hobbykeller.org>
  Date:   2017-04-19 (Wed, 19 Apr 2017)

  Changed paths:
    M sys/net/gnrc/network_layer/sixlowpan/nd/gnrc_sixlowpan_nd.c

  Log Message:
  -----------
  gnrc: 6lowpan-nd: removed superfluous check


  Commit: e74d2723c13f1048f0d0c926b73acc1fcf91f172
      https://github.com/RIOT-OS/RIOT/commit/e74d2723c13f1048f0d0c926b73acc1fcf91f172
  Author: Oleg Hahm <oleg at hobbykeller.org>
  Date:   2017-04-19 (Wed, 19 Apr 2017)

  Changed paths:
    M sys/net/gnrc/network_layer/sixlowpan/nd/gnrc_sixlowpan_nd.c

  Log Message:
  -----------
  gnrc: 6lowpan-nd: suppress wrong cppcheck warnings


  Commit: 021dc86f72f054d76bae0b27cac8066937eb8170
      https://github.com/RIOT-OS/RIOT/commit/021dc86f72f054d76bae0b27cac8066937eb8170
  Author: Oleg Hahm <oleg at hobbykeller.org>
  Date:   2017-04-19 (Wed, 19 Apr 2017)

  Changed paths:
    M sys/net/gnrc/network_layer/ndp/gnrc_ndp.c
    M sys/net/gnrc/network_layer/ndp/node/gnrc_ndp_node.c

  Log Message:
  -----------
  gnrc: ndp: suppress wrong cppcheck warnings


  Commit: 0dd5518445eb04550e2487b7a326e4e75cbb9356
      https://github.com/RIOT-OS/RIOT/commit/0dd5518445eb04550e2487b7a326e4e75cbb9356
  Author: Joseph Noir <joseph.noir at gmail.com>
  Date:   2017-04-19 (Wed, 19 Apr 2017)

  Changed paths:
    M sys/cpp11-compat/include/riot/chrono.hpp
    M sys/cpp11-compat/include/riot/thread.hpp

  Log Message:
  -----------
  cpp11-compat: address cppcheck warnings


  Commit: 10a82c61981bcc65680216228cb39d91ef0c2782
      https://github.com/RIOT-OS/RIOT/commit/10a82c61981bcc65680216228cb39d91ef0c2782
  Author: Oleg Hahm <oleg at hobbykeller.org>
  Date:   2017-04-19 (Wed, 19 Apr 2017)

  Changed paths:
    M sys/net/gnrc/conn/udp/gnrc_conn_udp.c

  Log Message:
  -----------
  conn: udp: eliminate redundant assignment


  Commit: 8abf8c27d0beb9b3f0bf2213f058dbeb3b44ca41
      https://github.com/RIOT-OS/RIOT/commit/8abf8c27d0beb9b3f0bf2213f058dbeb3b44ca41
  Author: Oleg Hahm <oleg at hobbykeller.org>
  Date:   2017-04-19 (Wed, 19 Apr 2017)

  Changed paths:
    M cpu/kinetis_common/periph/rtt.c

  Log Message:
  -----------
  cpu: kinetis: suppress incorrect cppcheck warning


  Commit: 814b80d1600a93beb056a2ed9c9cb818b2a092a6
      https://github.com/RIOT-OS/RIOT/commit/814b80d1600a93beb056a2ed9c9cb818b2a092a6
  Author: Oleg Hahm <oleg at hobbykeller.org>
  Date:   2017-04-19 (Wed, 19 Apr 2017)

  Changed paths:
    M cpu/lpc2387/asmfunc.s

  Log Message:
  -----------
  cpu: lpc2387: make comment a comment


  Commit: efde28585ce9ebad94967d85f8cbaaec96af4a58
      https://github.com/RIOT-OS/RIOT/commit/efde28585ce9ebad94967d85f8cbaaec96af4a58
  Author: Oleg Hahm <oleg at hobbykeller.org>
  Date:   2017-04-19 (Wed, 19 Apr 2017)

  Changed paths:
    M cpu/x86/x86_memory.c
    M cpu/x86/x86_pci.c
    M cpu/x86/x86_pit.c

  Log Message:
  -----------
  cpu: x86: eliminate cppcheck warnings


  Commit: 88127502c494c207bf2ecf01a401b3658f099783
      https://github.com/RIOT-OS/RIOT/commit/88127502c494c207bf2ecf01a401b3658f099783
  Author: Martine Lenders <m.lenders at fu-berlin.de>
  Date:   2017-04-19 (Wed, 19 Apr 2017)

  Changed paths:
    M pkg/nordic_softdevice_ble/src/ble-mac.c

  Log Message:
  -----------
  pkg: nordic_softdevice_ble: fix cppcheck warnings


  Commit: f3f6dca17c28d3075a1394b9ef5d9e240d996db9
      https://github.com/RIOT-OS/RIOT/commit/f3f6dca17c28d3075a1394b9ef5d9e240d996db9
  Author: Kaspar Schleiser <kaspar at schleiser.de>
  Date:   2017-04-19 (Wed, 19 Apr 2017)

  Changed paths:
    M tests/driver_hdc1000/main.c
    M tests/driver_pn532/main.c
    M tests/leds/main.c
    M tests/periph_hwrng/main.c
    M tests/pthread_cleanup/main.c
    M tests/unittests/tests-crypto/tests-crypto.h

  Log Message:
  -----------
  tests: fix misc cppcheck warnings


  Commit: 51a680519080ae46a3dacda0b33e8d45070e1ef7
      https://github.com/RIOT-OS/RIOT/commit/51a680519080ae46a3dacda0b33e8d45070e1ef7
  Author: Oleg Hahm <oleg at hobbykeller.org>
  Date:   2017-04-19 (Wed, 19 Apr 2017)

  Changed paths:
    M dist/tools/tunslip/tapslip6.c
    M dist/tools/tunslip/tunslip.c
    M dist/tools/tunslip/tunslip6.c

  Log Message:
  -----------
  dist: tunslip: fix cppcheck warnings


  Commit: 88638de3afd5dd6dc3b6e9e3d738ece6801331e7
      https://github.com/RIOT-OS/RIOT/commit/88638de3afd5dd6dc3b6e9e3d738ece6801331e7
  Author: Oleg Hahm <oleg at hobbykeller.org>
  Date:   2017-04-19 (Wed, 19 Apr 2017)

  Changed paths:
    M dist/tools/ci/build_and_test.sh

  Log Message:
  -----------
  dist: ci: removed obsolete TODO regarding cppcheck


  Commit: 410461b3bbff35a09aa84401d65797a28ebc0d8f
      https://github.com/RIOT-OS/RIOT/commit/410461b3bbff35a09aa84401d65797a28ebc0d8f
  Author: Oleg Hahm <oleg at hobbykeller.org>
  Date:   2017-04-19 (Wed, 19 Apr 2017)

  Changed paths:
    M dist/tools/cppcheck/check.sh

  Log Message:
  -----------
  dist: cppcheck: switch back to 8 jobs


  Commit: c4cf40cfc1359fac309c000ecc9d6c3edcc18ace
      https://github.com/RIOT-OS/RIOT/commit/c4cf40cfc1359fac309c000ecc9d6c3edcc18ace
  Author: Kaspar Schleiser <kaspar at schleiser.de>
  Date:   2017-04-21 (Fri, 21 Apr 2017)

  Changed paths:
    M cpu/kinetis_common/periph/rtt.c
    M cpu/lpc2387/asmfunc.s
    M cpu/x86/x86_memory.c
    M cpu/x86/x86_pci.c
    M cpu/x86/x86_pit.c
    M dist/tools/ci/build_and_test.sh
    M dist/tools/cppcheck/check.sh
    M dist/tools/tunslip/tapslip6.c
    M dist/tools/tunslip/tunslip.c
    M dist/tools/tunslip/tunslip6.c
    M drivers/adt7310/adt7310.c
    M drivers/hdc1000/hdc1000.c
    M pkg/nordic_softdevice_ble/src/ble-mac.c
    M pkg/nordic_softdevice_ble/src/gnrc_nordic_ble_6lowpan.c
    M sys/cpp11-compat/include/riot/chrono.hpp
    M sys/cpp11-compat/include/riot/thread.hpp
    M sys/crypto/chacha.c
    M sys/crypto/modes/cbc.c
    M sys/include/xtimer/implementation.h
    M sys/net/gnrc/conn/udp/gnrc_conn_udp.c
    M sys/net/gnrc/network_layer/ipv6/netif/gnrc_ipv6_netif.c
    M sys/net/gnrc/network_layer/ndp/gnrc_ndp.c
    M sys/net/gnrc/network_layer/ndp/node/gnrc_ndp_node.c
    M sys/net/gnrc/network_layer/sixlowpan/nd/gnrc_sixlowpan_nd.c
    M sys/net/gnrc/routing/rpl/p2p/gnrc_rpl_p2p.c
    M sys/net/gnrc/sock/udp/gnrc_sock_udp.c
    M sys/quad_math/muldi3.c
    M sys/quad_math/qdivrem.c
    M sys/shell/commands/sc_gnrc_rpl.c
    M sys/universal_address/universal_address.c
    M tests/driver_hdc1000/main.c
    M tests/driver_pn532/main.c
    M tests/leds/main.c
    M tests/periph_hwrng/main.c
    M tests/pthread_cleanup/main.c
    M tests/unittests/tests-crypto/tests-crypto.h

  Log Message:
  -----------
  Merge pull request #6931 from miri64/dist/enh/cppcheck-fixes

dist: enable cppcheck warnings for all files [2017.04 backport]


Compare: https://github.com/RIOT-OS/RIOT/compare/85c5ba28c8af...c4cf40cfc135


More information about the commits mailing list