kernelnewbies.kernelnewbies.org archive mirror
 help / color / mirror / Atom feed
From: brutallesale@gmail.com (Bogicevic Sasa)
To: kernelnewbies@lists.kernelnewbies.org
Subject: hi, i want to use a script in kernel
Date: Tue, 17 Nov 2015 18:54:26 +0100	[thread overview]
Message-ID: <20151117175426.GA16539@gmail.com> (raw)
In-Reply-To: <5596.1447780396@turing-police.cc.vt.edu>

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
>http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
You can use it something like this 
./scripts/checkpatch.pl --file --terse /path/to/the/file.c

      reply	other threads:[~2015-11-17 17:54 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-11-17  5:01 hi, i want to use a script in kernel Naver
2015-11-17  5:13 ` Nan Xiao
2015-11-17  5:16 ` 慕冬亮
2015-11-17  5:27   ` Chinmay V S
2015-11-17  5:31     ` NISHANTHA
2015-11-17 17:13 ` Valdis.Kletnieks at vt.edu
2015-11-17 17:54   ` Bogicevic Sasa [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20151117175426.GA16539@gmail.com \
    --to=brutallesale@gmail.com \
    --cc=kernelnewbies@lists.kernelnewbies.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).