Re: How to use the scripts/checkpatch.pl

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

 



HI Abraham

On Tue, Aug 3, 2010 at 11:50 AM, Abraham Arce
<abraham.arce.moreno@xxxxxxxxx> wrote:
> Victor,
>
> On Tue, Aug 3, 2010 at 11:28 AM, Victor Rodriguez <vm.rod25@xxxxxxxxx> wrote:
>> One simple question I have tried to use the checkpatch.pl like
>>
>> $ ./checkpatch.p patch1.patch
>>
>> but it doesn't work it shows
>>
>> Must be run from the top-level dir. of a kernel tree
>>
>> Any idea of what I am doing wrong
>>
>
> This line comes from
>
>        if (!defined $root) {
>                print "Must be run from the top-level dir. of a kernel tree\n";
>                exit(2);
>        }
>
> so use it from the top level directory as requested
>
> scripts/checkpath.pl /path/to/your/patch
>
> Best Regards
> Abraham
>

It works thanks

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ




[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