[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date: Tue, 7 Jul 2015 11:27:55 +0000
From: David Binderman <dcb314@...mail.com>
To: Alexei Starovoitov <ast@...nel.org>,
"netdev@...r.kernel.org" <netdev@...r.kernel.org>
Subject: linux-4.2-rc1/samples/bpf/sockex3_kern.c: bad expression ?
Hello there,
[linux-4.2-rc1/samples/bpf/sockex3_kern.c:268]: (style) Expression '(X & 0xf0) == 0x4' is always false.
Source code is
if ((verlen & 0xF0) == 4)
Maybe
if ((verlen & 0xF0) == 0x40)
Regards
David Binderman
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists