[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20170402.194402.639435117868426012.davem@davemloft.net>
Date: Sun, 02 Apr 2017 19:44:02 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: lkp@...el.com
Cc: salil.mehta@...wei.com, kbuild-all@...org, yisen.zhuang@...wei.com,
mehta.salil.lnk@...il.com, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org, linuxarm@...wei.com,
lipeng321@...wei.com
Subject: Re: [PATCH] net: hns: fix boolreturn.cocci warnings
From: kbuild test robot <lkp@...el.com>
Date: Sat, 1 Apr 2017 07:50:55 +0800
> drivers/net/ethernet/hisilicon/hns/hns_enet.c:1548:8-9: WARNING: return of 0/1 in function 'hns_enable_serdes_lb' 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
>
> CC: lipeng <lipeng321@...wei.com>
> Signed-off-by: Fengguang Wu <fengguang.wu@...el.com>
This doesn't apply to any of my trees.
Powered by blists - more mailing lists