lkml.org 
[lkml]   [2018]   [Mar]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH] enic: fix boolreturn.cocci warnings
From
From: kbuild test robot <fengguang.wu@intel.com>
Date: Wed, 7 Mar 2018 02:23:23 +0800

> From: Fengguang Wu <fengguang.wu@intel.com>
>
> 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: scripts/coccinelle/misc/boolreturn.cocci
>
> Fixes: 48398b6e7065 ("enic: set UDP rss flag")
> CC: Govindarajulu Varadarajan <gvaradar@cisco.com>
> Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>

Applied to net-next.

\
 
 \ /
  Last update: 2018-03-07 19:37    [W:0.050 / U:0.272 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site