shuhua hua commented on a discussion: 
https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/542#note_126334


Thanks for the technical clarification—I completely agree both orderings are 
standards-compliant given the checks don't dereference the pointer. For this 
implementation, I've intentionally maintained the NULL check first at line 144 
as it streamlines readability by handling fundamental validity upfront before 
progressing to semantic alignment checks at line 148. This flow naturally 
aligns with defensive coding practices 。

-- 
View it on GitLab: 
https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/542#note_126334
You're receiving this email because of your account on gitlab.rtems.org.


_______________________________________________
bugs mailing list
bugs@rtems.org
http://lists.rtems.org/mailman/listinfo/bugs

Reply via email to