Messages in this thread | | | Date | Thu, 30 Apr 2020 16:19:58 +0200 | From | Wolfram Sang <> | Subject | Re: [PATCH] i2c: powermac: use true,false for bool variable |
| |
On Sun, Apr 26, 2020 at 05:42:28PM +0800, Jason Yan wrote: > In i2c_powermac_register_devices(), variable 'found_onyx' is bool and > assigned '0' and 'true' in different places. Use 'false' instead of '0'. > This fixes the following coccicheck warning: > > drivers/i2c/busses/i2c-powermac.c:318:6-16: WARNING: Assignment of 0/1 > to bool variable > > Signed-off-by: Jason Yan <yanaijie@huawei.com>
Applied to for-next, thanks!
[unhandled content-type:application/pgp-signature] | |