Re: [PATCH] net/ipv6: remove redundant err variable

From: Jakub Kicinski
Date: Wed Jan 19 2022 - 10:59:41 EST


On Wed, 19 Jan 2022 05:55:57 +0000 cgel.zte@xxxxxxxxx wrote:
> There are more than 3,000 numbers retrieved by the rules I wrote.
> Of course, many of these 3,000 are false positives, and maybe
> there are 300 patches.I wrote this rule similar to returnvar.cocci.

Can you start by improving returnvar.cocci so it catches all the cases?
Then make sure your patches build and don't introduce formatting
problems. Then post them.