Hi Naver, The prompt has told you to run it on top-level of directory. Execute "./scripts/checkpatch.pl sortextable.c" Best Regards Nan Xiao On Tue, Nov 17, 2015 at 1:01 PM, Naver <earwigz@xxxxxxxxx> wrote: > 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 _______________________________________________ Kernelnewbies mailing list Kernelnewbies@xxxxxxxxxxxxxxxxx http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies