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 e0be519ede0a88f9c10eb49332f341604e7351c7 Author: wangzhi16 <[email protected]> AuthorDate: Sun Dec 21 16:22:58 2025 +0800 mm/map: Follow MISRA-C 2012 10.4 Both operands of an operator in which the usual arithmetic conversions are performed shall have the same essential type category Signed-off-by: wangzhi16 <[email protected]> --- mm/map/mm_map.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mm/map/mm_map.c b/mm/map/mm_map.c index eb32e256e8b..40240d39d84 100644 --- a/mm/map/mm_map.c +++ b/mm/map/mm_map.c @@ -173,7 +173,7 @@ void mm_map_destroy(FAR struct mm_map_s *mm) kmm_free(entry); } - DEBUGASSERT(mm->map_count == 0); + DEBUGASSERT(mm->map_count == 0u); nxrmutex_destroy(&mm->mm_map_mutex);
