Thread (4 messages) 4 messages, 3 authors, 2021-08-25

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

From: Jakub Kicinski <kuba@kernel.org>
Date: 2021-08-25 14:29:47
Also in: linux-mm, lkml, netdev, oe-kbuild-all

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:
quoted
From: kernel test robot <redacted>

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@pengutronix.de>
Reported-by: kernel test robot <redacted>
Signed-off-by: kernel test robot <redacted>  
Reviewed-by: Oleksij Rempel <o.rempel@pengutronix.de>
This patch never made it into patchwork, would you mind resending it,
Oleksij?
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help