Victor,
On Tue, Aug 3, 2010 at 11:28 AM, Victor Rodriguez <[email protected]> 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
--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to [email protected]
Please read the FAQ at http://kernelnewbies.org/FAQ