[riot-commits] [RIOT-OS/RIOT] bb3591: core: assert correct msq queue size on creation

Oleg Hahm oleg at hobbykeller.org
Sun Apr 17 14:49:57 CEST 2016


  Branch: refs/heads/master
  Home:   https://github.com/RIOT-OS/RIOT
  Commit: bb359138408b204841bf2bb36f505994195dc71c
      https://github.com/RIOT-OS/RIOT/commit/bb359138408b204841bf2bb36f505994195dc71c
  Author: Oleg Hahm <oleg at hobbykeller.org>
  Date:   2016-04-17 (Sun, 17 Apr 2016)

  Changed paths:
    M core/include/msg.h
    M core/msg.c
    M sys/net/gnrc/application_layer/zep/gnrc_zep.c

  Log Message:
  -----------
  core: assert correct msq queue size on creation

The return value was never checked. Hence, this runtime check was rather
pointless. Better assert the correct size during development.


  Commit: 8690a888f5c3b611dde1467537edafb09bfaf4ae
      https://github.com/RIOT-OS/RIOT/commit/8690a888f5c3b611dde1467537edafb09bfaf4ae
  Author: Oleg Hahm <oleg at hobbykeller.org>
  Date:   2016-04-17 (Sun, 17 Apr 2016)

  Changed paths:
    M core/include/msg.h
    M core/msg.c
    M sys/net/gnrc/application_layer/zep/gnrc_zep.c

  Log Message:
  -----------
  Merge pull request #5295 from OlegHahm/msg_init_queue_assert

core: assert correct msq queue size on creation


Compare: https://github.com/RIOT-OS/RIOT/compare/85dfed3249ae...8690a888f5c3


More information about the commits mailing list