Message ID | alpine.DEB.2.21.1811211832430.2779@hadrien (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | usb: misc: fix boolconv.cocci warnings | expand |
On Wed, Nov 21, 2018 at 06:33:51PM +0100, Julia Lawall wrote: > From: kbuild test robot <fengguang.wu@intel.com> > > drivers/usb/misc/ft232h-intf.c:816:27-32: 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: 0772a5bf580c ("usb: misc: add driver for FT232H based FPGA configuration devices") I can't find this commit anywhere, nor the file that this patch touches. What tree is it in? thanks, greg k-h
On Fri, 23 Nov 2018 16:10:54 +0100 Greg KH gregkh@linuxfoundation.org wrote: ... >> Fixes: 0772a5bf580c ("usb: misc: add driver for FT232H based FPGA configuration devices") > >I can't find this commit anywhere, nor the file that this patch touches. > >What tree is it in? This new driver was submitted to the lists and is not in mainline tree yet. It was committed to some tree for build testing the submitted patches, it seems. Thanks, Anatolij
--- a/drivers/usb/misc/ft232h-intf.c +++ b/drivers/usb/misc/ft232h-intf.c @@ -813,7 +813,7 @@ static int ftdi_mpsse_gpio_get(struct gp dev_dbg(chip->parent, "%s: offset %d\n", __func__, offset); - low = offset < 5 ? true : false; + low = offset < 5; mutex_lock(&priv->ops_mutex);