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

Martine Lenders authmillenon at gmail.com
Wed Apr 19 08:18:49 CEST 2017


  Branch: refs/heads/master
  Home:   https://github.com/RIOT-OS/RIOT
  Commit: 3a304f10ee3310157ade850c956d0bee6269f277
      https://github.com/RIOT-OS/RIOT/commit/3a304f10ee3310157ade850c956d0bee6269f277
  Author: Oleg Hahm <oleg at hobbykeller.org>
  Date:   2017-04-14 (Fri, 14 Apr 2017)

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

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


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

  Changed paths:
    M drivers/adt7310/adt7310.c

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


  Commit: 5a48c27d96e771984107a9b5679e8b4905046e90
      https://github.com/RIOT-OS/RIOT/commit/5a48c27d96e771984107a9b5679e8b4905046e90
  Author: Oleg Hahm <oleg at hobbykeller.org>
  Date:   2017-04-14 (Fri, 14 Apr 2017)

  Changed paths:
    M drivers/hdc1000/hdc1000.c

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


  Commit: 22fd9c12cc331e00f4856c1edcdf9e436c808d68
      https://github.com/RIOT-OS/RIOT/commit/22fd9c12cc331e00f4856c1edcdf9e436c808d68
  Author: Oleg Hahm <oleg at hobbykeller.org>
  Date:   2017-04-14 (Fri, 14 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: 62ca7f9242d602929cdeeac2b0f73e7cdc2d5350
      https://github.com/RIOT-OS/RIOT/commit/62ca7f9242d602929cdeeac2b0f73e7cdc2d5350
  Author: Martine Lenders <m.lenders at fu-berlin.de>
  Date:   2017-04-14 (Fri, 14 Apr 2017)

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

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


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

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

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


  Commit: c2c2516a53e64afea0dfedddff8298e970e9cfcb
      https://github.com/RIOT-OS/RIOT/commit/c2c2516a53e64afea0dfedddff8298e970e9cfcb
  Author: Martine Lenders <m.lenders at fu-berlin.de>
  Date:   2017-04-14 (Fri, 14 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: 32c60cd0aaf1c9eb3c9af97dc9fc97f1b9ea18e0
      https://github.com/RIOT-OS/RIOT/commit/32c60cd0aaf1c9eb3c9af97dc9fc97f1b9ea18e0
  Author: Martine Lenders <m.lenders at fu-berlin.de>
  Date:   2017-04-14 (Fri, 14 Apr 2017)

  Changed paths:
    M sys/universal_address/universal_address.c

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


  Commit: c2dfd8439c1fb02574145d867d24e2bc32440b89
      https://github.com/RIOT-OS/RIOT/commit/c2dfd8439c1fb02574145d867d24e2bc32440b89
  Author: Oleg Hahm <oleg at hobbykeller.org>
  Date:   2017-04-14 (Fri, 14 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: ffe2f68a66ffd0fb5b5a04b9ea9b2a55760d5c59
      https://github.com/RIOT-OS/RIOT/commit/ffe2f68a66ffd0fb5b5a04b9ea9b2a55760d5c59
  Author: Oleg Hahm <oleg at hobbykeller.org>
  Date:   2017-04-14 (Fri, 14 Apr 2017)

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

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


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

  Changed paths:
    M sys/universal_address/universal_address.c

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


  Commit: 191797bc6b6599821d1b620ae5d68f36122fbc1e
      https://github.com/RIOT-OS/RIOT/commit/191797bc6b6599821d1b620ae5d68f36122fbc1e
  Author: Oleg Hahm <oleg at hobbykeller.org>
  Date:   2017-04-14 (Fri, 14 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: 45cd9ad5c48c8de1bebda11a2ea2ffe2f1892cc2
      https://github.com/RIOT-OS/RIOT/commit/45cd9ad5c48c8de1bebda11a2ea2ffe2f1892cc2
  Author: Oleg Hahm <oleg at hobbykeller.org>
  Date:   2017-04-14 (Fri, 14 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: a9cc8babbafd202bf0e75eef4bb7da6acc6c9ec8
      https://github.com/RIOT-OS/RIOT/commit/a9cc8babbafd202bf0e75eef4bb7da6acc6c9ec8
  Author: Oleg Hahm <oleg at hobbykeller.org>
  Date:   2017-04-14 (Fri, 14 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: 93770edce4a40bddc9930c0b7ce85ba495607fbd
      https://github.com/RIOT-OS/RIOT/commit/93770edce4a40bddc9930c0b7ce85ba495607fbd
  Author: Joseph Noir <joseph.noir at gmail.com>
  Date:   2017-04-14 (Fri, 14 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: fae24057dfa93ecd0a90af1c602401b6fc8b49b4
      https://github.com/RIOT-OS/RIOT/commit/fae24057dfa93ecd0a90af1c602401b6fc8b49b4
  Author: Oleg Hahm <oleg at hobbykeller.org>
  Date:   2017-04-14 (Fri, 14 Apr 2017)

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

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


  Commit: 242cd6290a63e23eb7cb88a1ac322ce1ce99d976
      https://github.com/RIOT-OS/RIOT/commit/242cd6290a63e23eb7cb88a1ac322ce1ce99d976
  Author: Oleg Hahm <oleg at hobbykeller.org>
  Date:   2017-04-14 (Fri, 14 Apr 2017)

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

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


  Commit: 4219011b66d49afe3515055f28c9ca8a286b192d
      https://github.com/RIOT-OS/RIOT/commit/4219011b66d49afe3515055f28c9ca8a286b192d
  Author: Oleg Hahm <oleg at hobbykeller.org>
  Date:   2017-04-14 (Fri, 14 Apr 2017)

  Changed paths:
    M cpu/lpc2387/asmfunc.s

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


  Commit: 984077d35ce4870b6d8f844f994d668c1199b46a
      https://github.com/RIOT-OS/RIOT/commit/984077d35ce4870b6d8f844f994d668c1199b46a
  Author: Oleg Hahm <oleg at hobbykeller.org>
  Date:   2017-04-14 (Fri, 14 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: 6928c5d4ed2b493a2dbd8221310ec264d53a163a
      https://github.com/RIOT-OS/RIOT/commit/6928c5d4ed2b493a2dbd8221310ec264d53a163a
  Author: Martine Lenders <m.lenders at fu-berlin.de>
  Date:   2017-04-14 (Fri, 14 Apr 2017)

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

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


  Commit: 908429eb3331303e65898be08637078869873495
      https://github.com/RIOT-OS/RIOT/commit/908429eb3331303e65898be08637078869873495
  Author: Kaspar Schleiser <kaspar at schleiser.de>
  Date:   2017-04-14 (Fri, 14 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: 2cb16c5ff41645c7dc6c0dc21d4589215308ef0d
      https://github.com/RIOT-OS/RIOT/commit/2cb16c5ff41645c7dc6c0dc21d4589215308ef0d
  Author: Oleg Hahm <oleg at hobbykeller.org>
  Date:   2017-04-14 (Fri, 14 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: 76e884e3463668ac7acf99b8b4ca5a722851fe73
      https://github.com/RIOT-OS/RIOT/commit/76e884e3463668ac7acf99b8b4ca5a722851fe73
  Author: Oleg Hahm <oleg at hobbykeller.org>
  Date:   2017-04-14 (Fri, 14 Apr 2017)

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

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


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

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

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


  Commit: 38f383c68dbf21326e74427c7876b327b659e2cc
      https://github.com/RIOT-OS/RIOT/commit/38f383c68dbf21326e74427c7876b327b659e2cc
  Author: Martine Lenders <authmillenon at gmail.com>
  Date:   2017-04-19 (Wed, 19 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 #6703 from OlegHahm/cppcheck_fixes

dist: enable cppcheck warnings for all files


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


More information about the commits mailing list