From mboxrd@z Thu Jan 1 00:00:00 1970 From: j.l.madushan@gmail.com (NISHANTHA) Date: Tue, 17 Nov 2015 11:01:26 +0530 Subject: hi, i want to use a script in kernel In-Reply-To: References: <564AB49F.5050801@naver.com> Message-ID: To: kernelnewbies@lists.kernelnewbies.org List-Id: kernelnewbies.lists.kernelnewbies.org Try something like this, scripts/checkpatch.pl --file --no-tree yourfile.c -madushan On Tue, Nov 17, 2015 at 10:57 AM, Chinmay V S wrote: > One can use checkptach -f to run the script on source files. > > For more details, check > ./scripts/checkpatch.pl --help > > On Tue, Nov 17, 2015 at 10:46 AM, ??? wrote: > > checkpatch.pl is script to check your patch, not C file I think. > > > > 2015-11-17 13:01 GMT+08:00 Naver : > >> 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 > >> > >> > >> Please let me know how to use this script. > >> Thanks. > >> > >> > >> _______________________________________________ > >> Kernelnewbies mailing list > >> Kernelnewbies at kernelnewbies.org > >> http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies > > > > > > > > -- > > My best regards to you. > > > > No System Is Safe! > > mudongliang > > > > _______________________________________________ > > Kernelnewbies mailing list > > Kernelnewbies at kernelnewbies.org > > http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies > > _______________________________________________ > Kernelnewbies mailing list > Kernelnewbies at kernelnewbies.org > http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies > -- *Faithfully,* *Madushan Nishantha,* *Student at Faculty of Engineering,* *University of Peradeniya,* *Sri Lanka.* -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20151117/a152ed15/attachment.html