Re: [PATCH] checkpatch.pl: fix naked sscanf false positives

Dan Carpenter
2016-02-05T09:46:54Z

On Fri, Feb 05, 2016 at 12:29:52AM -0800, Kevin Wern wrote:
> There is a section of checkpatch.pl that intends to ensure the return
> value of sscanf is always checked. However, in certain cases, like in
> drivers/staging/dgnc/dgnc.mod.c

You shouldn't be running checkpatch.pl on a mod.c file. Those are just
a build artifact and not code.

regards,
dan carpenter