Kernel 2.4.x with CONFIG_PPP_FILTER (warning remove)
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.