[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAMzoamY7fh8Lyzm0njDy0fUqTZSjwDrDbZ60kZ=1XpupSBfG3A@mail.gmail.com>
Date: Mon, 23 May 2016 12:11:30 +0100
From: David Binderman <linuxdev.baldrick@...il.com>
To: Yuval.Mintz@...gic.com, Ariel.Elior@...gic.com,
everest-linux-l2@...gic.com, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org, dcb314@...mail.com
Subject: 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
Powered by blists - more mailing lists