* 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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.