hi, i want to use a script in kernel

Bogicevic Sasa brutallesale at gmail.com
Tue Nov 17 12:54:26 EST 2015

On 11/17, Valdis.Kletnieks at vt.edu wrote:
>On Tue, 17 Nov 2015 14:01:19 +0900, Naver said:
>> hi,
>> i want to use a script in kernel, but i can't use this.
>> in my terminal.
>> yoon at pc:~/project/aosp/kernel/linux/scripts$ ./checkpatch.pl sortextable.c
>> Must be run from the top-level dir. of a kernel tree
>$ cd ~/project/aosp/kernel/linux
>$ scripts/checkpatch.pl scripts/sortextable.c
>Though why you have a .c file in scripts/ is beyond me, it should probably
>be in some other directory.

>Kernelnewbies mailing list
>Kernelnewbies at kernelnewbies.org
You can use it something like this 
./scripts/checkpatch.pl --file --terse /path/to/the/file.c

More information about the Kernelnewbies mailing list