Skip to contentSkip to conversation

Documentation bug in kernelnewbies.org/StartKernelHacking

DISCUSSION Christopher Díaz Riveros 2 participants 2 messages Jan 25, 2018 – Feb 6, 2018

lore
Share & tools
lore
#0 lore raw

Hi, I was reading the StartKernelHacking section from kernelnewbies.org site and found that the command:

scripts/checkpatch.pl --terse --show-types --strict path/to/source/file

needs to add the --file option before path/to..., if not, checkpatch.pl will complain about the non-diff format.

scripts/checkpatch.pl --terse --show-types --strict --file path/to/source/file

I tried to apply the change by myself, but obviously I had no permissions to do so.

Hope it helps and thank you for maintaining the website,

Signature · 3 lines
Christopher D?az Riveros
Gentoo Linux Developer
GPG Fingerprint: E517 5ECB 8152 98E4 FEBC  2BAA 4DBB D10F 0FDD 2547
#1 lore raw
Quoted 7 lines · Christopher D?az Riveros

Hi, I was reading the StartKernelHacking section from kernelnewbies.org site and found that the command:

scripts/checkpatch.pl --terse --show-types --strict path/to/source/file

needs to add the --file option before path/to..., if not, checkpatch.pl will complain about the non-diff format.

fixed. thanks

Tobin