Strange warnings out of checkpatch

Aruna Hewapathirane aruna.hewapathirane at gmail.com
Mon Nov 2 15:21:09 EST 2015


On Mon, Nov 2, 2015 at 3:11 PM, John Whitmore <arigead at gmail.com> wrote:

> On Sun, Nov 01, 2015 at 03:34:15PM -0500, Aruna Hewapathirane wrote:
> > >><snip>
> >
> > I'd like to understand what is either wrong with code or chcekpatch
> > > $ scripts/checkpatch.pl drivers/net/can/spi/mcp251x.c
> > >
> >
> > John,
> >
> > Please run checkpatch.pl with the -f switch/flag like shown below:
> >
> > scripts/checkpatch.pl  *-f *drivers/net/can/spi/mcp251x.c
> >
> > also run scripts/checkpatch.pl --help and read.
> >
> > [ -f, --file  treat FILE as regular source file ]
> >
> > Thanks - Aruna
>
> Oops sorry I should have checked there :-( thanks a million for you help
>

Do not be sorry, it is the best way to learn. You make that mistake only
the once :) In my case a few times more than once !
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20151102/8e4fd0a7/attachment.html 


More information about the Kernelnewbies mailing list