sys/net/gnrc_pktbuf: deduplicate code#15839
Conversation
|
The stats are not too impressive, because:
So: The stats are lying, it is less code in this PR than in |
275ad32 to
919c6e6
Compare
There was a problem hiding this comment.
There is some stuff you missed (see Murdock). Also I would recommend to run the unittest tests-pktbuf on several boards (especially those with strict alignment) just to make sure nothing get's b0rken.
Not part of your PR, I know, but might I convince you to fix those vera++ warnings as well?
Implement gnrc_pktbuf_release_error() in gnrc_pktbuf once, rather than providing two implementations in gnrc_pktbuf_static and gnrc_pktbuf_malloc
6a4d69a to
3970b66
Compare
|
|
All comments are addressed, the CI is happy, and I tested the shit out of it :-) |
miri64
left a comment
There was a problem hiding this comment.
Yepp. Just have a small remaining comment. You may squash that directly in.
|
Thanks :-) |
Contribution description
Implement
gnrc_pktbuf_release_error()ingnrc_pktbufonce, rather than providing two implementations ingnrc_pktbuf_staticandgnrc_pktbuf_malloc.Testing procedure
masterand this PR:USEMODULE=gnrc_pktbuf_static make -C examples/gnrc_networkingUSEMODULE=gnrc_pktbuf_malloc make -C examples/gnrc_networkingmasterIssues/PRs references
suggested in review of #15694