[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CO2PR11MB008830D87FE83267215E5F79974E0@CO2PR11MB0088.namprd11.prod.outlook.com>
Date: Mon, 23 May 2016 11:26:21 +0000
From: Yuval Mintz <Yuval.Mintz@...gic.com>
To: David Binderman <linuxdev.baldrick@...il.com>,
netdev <netdev@...r.kernel.org>,
linux-kernel <linux-kernel@...r.kernel.org>,
"dcb314@...mail.com" <dcb314@...mail.com>
CC: Dan Carpenter <dan.carpenter@...cle.com>,
Ariel Elior <Ariel.Elior@...gic.com>
Subject: RE: drivers/net/ethernet/qlogic/qed/qed_dcbx.c:210: pointless test ?
> Hello there,
>
> drivers/net/ethernet/qlogic/qed/qed_dcbx.c:210:16: warning: comparison is
> always false due to limited range of data type [-Wtype-limits]
>
> Source code is
>
> if (priority < 0) {
>
> but
>
> u8 tc, priority, priority_map;
>
>
> Regards
>
> David Binderman
Hi David,
Dan Carpenter has already sent a fix for this one ~an hour ago.
[https://patchwork.ozlabs.org/patch/625114/]
Thanks,
Yuval
Powered by blists - more mailing lists