xiaoxiang781216 commented on PR #20001:
URL: https://github.com/apache/nuttx/pull/20001#issuecomment-5505966358
@AlmAck please fix the style error in the original code:
```
44ba63d660 Merge 9b0431dd51f4e0378a43881dcca5cce87660acc0 into
02c4f9855e21eaa670f633ff2107ab9f9039e766
9b0431dd51 drivers/mtd/filemtd: open the backing file O_RDWR
../nuttx/tools/checkpatch.sh -c -u -m -g
02c4f9855e21eaa670f633ff2107ab9f9039e766..HEAD
Error: /home/runner/work/nuttx/nuttx/nuttx/drivers/mtd/filemtd.c:510:10:
error: Missing blank line after declarations
Error: /home/runner/work/nuttx/nuttx/nuttx/drivers/mtd/filemtd.c:533:10:
error: Missing blank line after declarations
Error: /home/runner/work/nuttx/nuttx/nuttx/drivers/mtd/filemtd.c:583:10:
error: Missing blank line after declarations
Error: /home/runner/work/nuttx/nuttx/nuttx/drivers/mtd/filemtd.c:701:4:
error: Bad comment alignment
Error: /home/runner/work/nuttx/nuttx/nuttx/drivers/mtd/filemtd.c:702:5:
error: Bad comment block alignment
Error: /home/runner/work/nuttx/nuttx/nuttx/drivers/mtd/filemtd.c:703:5:
error: Bad comment block alignment
Error: /home/runner/work/nuttx/nuttx/nuttx/drivers/mtd/filemtd.c:704:5:
error: Bad comment block alignment
Error: /home/runner/work/nuttx/nuttx/nuttx/drivers/mtd/filemtd.c:705:5:
error: Bad comment block alignment
Error: /home/runner/work/nuttx/nuttx/nuttx/drivers/mtd/filemtd.c:707:4:
error: Bad alignment
Error: /home/runner/work/nuttx/nuttx/nuttx/drivers/mtd/filemtd.c:708:6:
error: Bad left brace alignment
Error: /home/runner/work/nuttx/nuttx/nuttx/drivers/mtd/filemtd.c:729:6:
error: Bad alignment
Error: /home/runner/work/nuttx/nuttx/nuttx/drivers/mtd/filemtd.c:731:4:
error: Bad comment alignment
Error: /home/runner/work/nuttx/nuttx/nuttx/drivers/mtd/filemtd.c:732:5:
error: Bad comment block alignment
Error: /home/runner/work/nuttx/nuttx/nuttx/drivers/mtd/filemtd.c:733:5:
error: Bad comment block alignment
Error: /home/runner/work/nuttx/nuttx/nuttx/drivers/mtd/filemtd.c:734:5:
error: Bad comment block alignment
Error: /home/runner/work/nuttx/nuttx/nuttx/drivers/mtd/filemtd.c:735:5:
error: Bad comment block alignment
Error: /home/runner/work/nuttx/nuttx/nuttx/drivers/mtd/filemtd.c:736:5:
error: Bad comment block alignment
Error: /home/runner/work/nuttx/nuttx/nuttx/drivers/mtd/filemtd.c:737:5:
error: Bad comment block alignment
Error: /home/runner/work/nuttx/nuttx/nuttx/drivers/mtd/filemtd.c:739:4:
error: Bad alignment
Error: /home/runner/work/nuttx/nuttx/nuttx/drivers/mtd/filemtd.c:740:6:
error: Bad left brace alignment
Error: /home/runner/work/nuttx/nuttx/nuttx/drivers/mtd/filemtd.c:751:7:
error: Bad right brace alignment
Error: /home/runner/work/nuttx/nuttx/nuttx/drivers/mtd/filemtd.c:752:7:
error: Bad alignment
Error: /home/runner/work/nuttx/nuttx/nuttx/drivers/mtd/filemtd.c:754:5:
error: Bad alignment
Error: /home/runner/work/nuttx/nuttx/nuttx/drivers/mtd/filemtd.c:755:7:
error: Bad alignment
Used config files:
1: .codespellrc
Some checks failed. For contributing guidelines, see:
```
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]