This is an automated email from the ASF dual-hosted git repository. acassis pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/nuttx-apps.git
commit af2922d2911acd0bb46cc41f8d153b42ba00c447 Author: Marco Casaroli <[email protected]> AuthorDate: Wed Nov 11 03:53:39 2026 +0100 testing/nettest: Fix the nxstyle errors in test_others_bufpool.c Add a blank line after the declarations in two functions. These errors are older than the next commit, which changes this file, and checkpatch checks the full file. No code change. Assisted-by: Claude Code:claude-opus-5-5 Signed-off-by: Marco Casaroli <[email protected]> --- testing/nettest/others/test_others_bufpool.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/testing/nettest/others/test_others_bufpool.c b/testing/nettest/others/test_others_bufpool.c index 9cb41fafc..59585cb36 100644 --- a/testing/nettest/others/test_others_bufpool.c +++ b/testing/nettest/others/test_others_bufpool.c @@ -51,6 +51,7 @@ static void test_net_bufpool_alloc_to(FAR struct net_bufpool_s *pool, FAR sq_queue_t *allocated) { FAR sq_entry_t *node; + assert_true(NET_BUFPOOL_TEST(*pool) == OK); node = NET_BUFPOOL_ALLOC(*pool); assert_non_null(node); @@ -67,6 +68,7 @@ static void test_net_bufpool_free_from(FAR struct net_bufpool_s *pool, while (!sq_empty(allocated)) { FAR sq_entry_t *node = sq_remfirst(allocated); + NET_BUFPOOL_FREE(*pool, node); assert_true(NET_BUFPOOL_TEST(*pool) == OK); }
