TaiJuWu commented on PR #10605:
URL: https://github.com/apache/nuttx/pull/10605#issuecomment-1750561428

   > The style need fix too:
   > 
   > ```
   > ../nuttx/tools/checkpatch.sh -u -m -g 
57bf9d44d2d93619616a4c87ce96b85986f96c65..HEAD
   > Error: 
/home/runner/work/nuttx/nuttx/nuttx/sched/semaphore/spinlock.c:167:6: error: 
Bad left brace alignment
   > Error: 
/home/runner/work/nuttx/nuttx/nuttx/sched/semaphore/spinlock.c:169:6: error: 
Bad right brace alignment
   > Error: 
/home/runner/work/nuttx/nuttx/nuttx/sched/semaphore/spinlock.c:174:6: error: 
Bad left brace alignment
   > Error: 
/home/runner/work/nuttx/nuttx/nuttx/sched/semaphore/spinlock.c:176:6: error: 
Bad right brace alignment
   > Error: 
/home/runner/work/nuttx/nuttx/nuttx/sched/semaphore/spinlock.c:[23](https://github.com/apache/nuttx/actions/runs/6427966184/job/17454400895?pr=10605#step:3:24)1:6:
 error: Bad left brace alignment
   > Error: 
/home/runner/work/nuttx/nuttx/nuttx/sched/semaphore/spinlock.c:233:6: error: 
Bad right brace alignment
   > Error: 
/home/runner/work/nuttx/nuttx/nuttx/sched/semaphore/spinlock.c:238:6: error: 
Bad left brace alignment
   > Error: 
/home/runner/work/nuttx/nuttx/nuttx/sched/semaphore/spinlock.c:[24](https://github.com/apache/nuttx/actions/runs/6427966184/job/17454400895?pr=10605#step:3:25)0:6:
 error: Bad right brace alignment
   > ```
   > 
   > you can verify locally by:
   > 
   > ```
   > ./tools/checkpatch.sh -g HEAD~...HEAD
   > ```
   
   This is nxstyle bug. The formatting tool didn't consider the case of nest 
curly brackets.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to