Re: [PATCH] net: phy: mscc: fix excluded_middle.cocci warnings

From: Julia Lawall
Date: Mon Nov 16 2020 - 10:26:41 EST




On Mon, 16 Nov 2020, Jakub Kicinski wrote:

> On Sun, 15 Nov 2020 19:37:59 +0100 (CET) Julia Lawall wrote:
> > From: kernel test robot <lkp@xxxxxxxxx>
> >
> > Condition !A || A && B is equivalent to !A || B.
> >
> > Generated by: scripts/coccinelle/misc/excluded_middle.cocci
> >
> > Fixes: b76f0ea01312 ("coccinelle: misc: add excluded_middle.cocci script")
> > CC: Denis Efremov <efremov@xxxxxxxxx>
> > Reported-by: kernel test robot <lkp@xxxxxxxxx>
> > Signed-off-by: kernel test robot <lkp@xxxxxxxxx>
> > Signed-off-by: Julia Lawall <julia.lawall@xxxxxxxx>
>
> cc netdev plz!

OK, I will send it again. I sent it to everyone in the list generated by
0-day. I don't know how they calculate the list, though.

julia