Re: [PATCH] enic: fix boolreturn.cocci warnings

2018-03-07 Thread David Miller
From: kbuild test robot Date: Wed, 7 Mar 2018 02:23:23 +0800 > From: Fengguang Wu > > drivers/net/ethernet/cisco/enic/vnic_dev.c:1294:9-10: WARNING: return of 0/1 > in function 'vnic_dev_capable_udp_rss' with return type bool > > Return

[PATCH] enic: fix boolreturn.cocci warnings

2018-03-06 Thread kbuild test robot
From: Fengguang Wu drivers/net/ethernet/cisco/enic/vnic_dev.c:1294:9-10: WARNING: return of 0/1 in function 'vnic_dev_capable_udp_rss' with return type bool Return statements in functions returning bool should use true/false instead of 1/0. Generated by: