Re: [PATCH] net: usb: asix: ax88772: fix boolconv.cocci warnings

From: Oleksij Rempel
Date: Wed Aug 25 2021 - 14:36:35 EST


On Wed, Aug 25, 2021 at 07:29:42AM -0700, Jakub Kicinski wrote:
> 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?

ack. done.

Regards,
Oleksij
--
Pengutronix e.K. | |
Steuerwalder Str. 21 | http://www.pengutronix.de/ |
31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |