Re: [PATCH] net: usb: asix: ax88772: fix boolconv.cocci warnings
From: Jakub Kicinski
Date: Wed Aug 25 2021 - 10:29:48 EST
On Wed, 25 Aug 2021 06:22:07 +0200 Oleksij Rempel wrote:
> On Wed, Aug 25, 2021 at 06:17:16AM +0800, kernel test robot wrote:
> > From: kernel test robot <lkp@xxxxxxxxx>
> >
> > drivers/net/usb/asix_devices.c:757:60-65: WARNING: conversion to bool not needed here
> >
> > Remove unneeded conversion to bool
> >
> > Semantic patch information:
> > Relational and logical operators evaluate to bool,
> > explicit conversion is overly verbose and unneeded.
> >
> > Generated by: scripts/coccinelle/misc/boolconv.cocci
> >
> > Fixes: 7a141e64cf14 ("net: usb: asix: ax88772: move embedded PHY detection as early as possible")
> > CC: Oleksij Rempel <o.rempel@xxxxxxxxxxxxxx>
> > Reported-by: kernel test robot <lkp@xxxxxxxxx>
> > Signed-off-by: kernel test robot <lkp@xxxxxxxxx>
>
> Reviewed-by: Oleksij Rempel <o.rempel@xxxxxxxxxxxxxx>
This patch never made it into patchwork, would you mind resending it,
Oleksij?