-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CI: check the coding style of bpf programs
The project, as stated in CONTRIBUTING have a strong preference for the Linux kernel coding style. This patch enforces it by adding automatic checks in the CI for bpf sources. The patch uses and import the current checkpatch.pl and its requirement spelling.txt. Signed-off-by: Paolo Valerio <[email protected]>
- Loading branch information
Showing
6 changed files
with
9,599 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,6 @@ | ||
vmlinux.h linguist-vendored | ||
**/bpf_sys/include/linux/*.h linguist-vendored | ||
*_uapi.rs linguist-vendored | ||
tools/checkpatch.pl linguist-vendored | ||
tools/spelling.txt linguist-vendored | ||
tools/const_structs.checkpatch linguist-vendored |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.