ISSOtm
268219d74e
Avoid warning about /* fallthrough */ comments
...
We do not have `fallthrough;`, so...
2020-09-21 17:46:44 +02:00
ISSOtm
2d7d9eef9f
Fix some make checkcodebase errors
...
- Reorder checkpatch ignore flags alphabetically
- Fix checkpatch WARNINGs and CHECKs when they make sense
- Add more checkpatch ignores
2019-12-04 00:16:28 +01:00
ISSOtm
58556f91f7
Disable chcecking for global initialisers
...
This is specific to the kernel and does not apply to us
2019-11-18 12:45:38 +01:00
dbrotz
461ef6cea5
Don't complain about initializing statics
...
This error is specific to the way the Linux kernel handles statics.
It does not apply to userspace programs.
2019-08-29 22:48:16 -07:00
Jakub Kądziołka
3cb56c5a2e
checkpatch.conf: Don't complain when bools are used in struct
...
In RGBDS's codebase, boolean struct members aren't a problem. See
include/asm/main.h, include/gfx/main.h for examples.
2019-08-20 14:43:31 +02:00
yenatch
5e9c433a24
checkpatch: Don't expect Signed-off-by lines in commit messages
2018-07-01 00:05:11 -04:00
Antonio Niño Díaz
24d7cfe0f9
checkpatch: Ignore warnings about SPDX
...
The Linux kernel expects the SPDX license tag to be in the first line of
all source code files. The reason is that they have many different
license headers, and this simplifies the work for any tool that has to
determine the license of each file.
In this project, the license headers follow the same pattern, so it
isn't useful.
Signed-off-by: Antonio Niño Díaz <antonio_nd@outlook.com >
2018-04-27 23:00:29 +01:00
Antonio Niño Díaz
b28a16c0da
Enable -Wpedantic
...
Fix a few warnings related needed to build the source with this option.
Add new exception to .checkpatch.conf.
Signed-off-by: Antonio Niño Díaz <antonio_nd@outlook.com >
2018-04-01 00:56:00 +01:00
Antonio Niño Díaz
b04596a32b
Move externs to header files
...
Follow Linux kernel coding style.
Remove exception from checkpatch.pl configuration file.
Signed-off-by: Antonio Niño Díaz <antonio_nd@outlook.com >
2018-01-04 01:28:23 +00:00
Antonio Niño Díaz
3c15b141e0
Add checkpatch.pl config file and Makefile targets
...
This is used to verify the coding style of patches.
Signed-off-by: Antonio Niño Díaz <antonio_nd@outlook.com >
2018-01-02 17:09:36 +01:00