Open raiden00pl opened 3 months ago
Yes, I always point out the minor point during review. Maybe it's better to add the check into nxstyle.
Agree! Better to include it in the checkpatch!
Is it possible to also add rules in tools/uncrustify.cfg
? thus we can use uncrusity tool to fix the formating issue.
Currently version of uncrustify.cfg
seems wrong on block comment styles.
Our coding style guide shows function header like this:
The end of the header is preceded by a new line:
but there are many places in the code where this new line is not added, e.g.:
And from the doc https://nuttx.apache.org/docs/latest/contributing/coding_style.html#function-headers:
Should we correct these places to match the coding standard and pay more attention when reviewing code ?
I know it's a trivial problem, but for some reason it really irritates me when I don't see this additional empty line :)