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

Kevin Wern
2016-02-12T05:35:19Z

> Not really.
>
> That'd only find an additional
> sscanf
> (buf,
> foo,
> bar);
>
> And that's quite unlikely.
>

I fail to see the issue if it matches everything matched by /\bsscanf\b\s*(/,
plus one additional case that is unlikey, but still valid.

I can do a patch the $line match you described, but I'd prefer to do what I
previously described.

Thanks again for your feedback.

Kevin