* Kernel 2.4.x with CONFIG_PPP_FILTER (warning remove)
@ 2005-06-09 8:23 magicfox
0 siblings, 0 replies; only message in thread
From: magicfox @ 2005-06-09 8:23 UTC (permalink / raw)
To: linux-ppp
Dears,
uprog.len is defined in struct as unsigned short and can't be > 65535.
May be this legitime warning may be removed.
ppp_generic.c: In function `ppp_ioctl':
ppp_generic.c:662: warning: comparison is always true due to limited
range of data type
- if (uprog.len > 0 && uprog.len < 65536) {
+ if (uprog.len > 0) {
Best regards.
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2005-06-09 8:23 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-06-09 8:23 Kernel 2.4.x with CONFIG_PPP_FILTER (warning remove) magicfox
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).