Skip to content

Instantly share code, notes, and snippets.

@conor-pwbot
Created July 30, 2023 10:08
Show Gist options
  • Save conor-pwbot/79dd764c0a7bae2c5a1985034f9495fe to your computer and use it in GitHub Desktop.
Save conor-pwbot/79dd764c0a7bae2c5a1985034f9495fe to your computer and use it in GitHub Desktop.
+ printk("ERROR: expect value 4, got %d\n", ret);
CHECK: Lines should not end with a '('
CHECK: Unbalanced braces around else statement
ERROR: else should follow close brace '}'
ERROR: open brace '{' following function definitions go on the next line
WARNING: Missing commit description - Add an appropriate one
WARNING: Missing or malformed SPDX-License-Identifier tag in line 1
WARNING: Prefer using '"%s...", __func__' to using 'pre_handler', this function's name, in a string
WARNING: added, moved or deleted file(s), does MAINTAINERS need updating?
WARNING: else is not generally useful after a break or return
WARNING: printk() should include KERN_<LEVEL> facility level
Traceback (most recent call last):
File "/ci/workspace/OC_ES_linux-test_riscv-patchwork__2/nipa/trees_rv/for-next/scripts/spdxcheck.py", line 6, in <module>
from ply import lex, yacc
ModuleNotFoundError: No module named 'ply'
==========
checkpatch - FAILED
Traceback (most recent call last):
File "/ci/workspace/OC_ES_linux-test_riscv-patchwork__2/nipa/trees_rv/for-next/scripts/spdxcheck.py", line 6, in <module>
from ply import lex, yacc
ModuleNotFoundError: No module named 'ply'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment