Re: hi, i want to use a script in kernel

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



One can use checkptach -f <filename> to run the script on source files.

For more details, check
 ./scripts/checkpatch.pl --help

On Tue, Nov 17, 2015 at 10:46 AM, 慕冬亮 <mudongliangabcd@xxxxxxxxx> wrote:
> checkpatch.pl is script to check your patch, not C file I think.
>
> 2015-11-17 13:01 GMT+08:00 Naver <earwigz@xxxxxxxxx>:
>> hi,
>> i want to use a script in kernel, but i can't use this.
>> in my terminal.
>> yoon@pc:~/project/aosp/kernel/linux/scripts$ ./checkpatch.pl sortextable.c
>> Must be run from the top-level dir. of a kernel tree
>>
>>
>> Please let me know how to use this script.
>> Thanks.
>>
>>
>> _______________________________________________
>> Kernelnewbies mailing list
>> Kernelnewbies@xxxxxxxxxxxxxxxxx
>> http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
>
>
>
> --
> My best regards to you.
>
>      No System Is Safe!
>      mudongliang
>
> _______________________________________________
> Kernelnewbies mailing list
> Kernelnewbies@xxxxxxxxxxxxxxxxx
> http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies




[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux