Re: checkpatch.pl "uninitialized value"

From: Joe Perches
Date: Mon Jan 14 2013 - 08:49:52 EST


On Mon, 2013-01-14 at 14:45 +0100, Bernd Petrovitsch wrote:
> On Mon, 2013-01-14 at 14:42 +0100, Schrober wrote:
> [...]
> > it seems the current version of checkpatch.pl in linux-next ist broken. I get
> > a lot of
> >
> > Use of uninitialized value $ms_size in pattern match (m//) at ./scripts/checkpatch.pl line 3383.

> on which file?

Any file with a usleep_range or a memset

> If you would have added the command line to trivially reproduce that (or
> whatever you did to get it), people are more likely to look into it.

Try this patch:
https://lkml.org/lkml/2013/1/10/444



--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/