This is an automated email from the ASF dual-hosted git repository. GUIDINGLI pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/nuttx.git
commit 14a0b0edfde2c7f072365f0a0c0e391037733421 Author: huojianchao <[email protected]> AuthorDate: Mon Nov 23 18:07:46 2026 +0800 mm/mempool: add the missing blank line in mempool_zallocate() nxstyle wants a blank line after the declaration of blk. No functional change. Assisted-by: Kiro:claude-opus-5-5 Signed-off-by: huojianchao <[email protected]> --- mm/mempool/mempool.c | 1 + 1 file changed, 1 insertion(+) diff --git a/mm/mempool/mempool.c b/mm/mempool/mempool.c index 273196bd3d7..66ff7f9b96a 100644 --- a/mm/mempool/mempool.c +++ b/mm/mempool/mempool.c @@ -577,6 +577,7 @@ retry: FAR void *mempool_zallocate(FAR struct mempool_s *pool, unsigned int timeout) { FAR void *blk = mempool_allocate(pool, timeout); + if (blk != NULL) { memset(blk, 0, pool->blocksize);
