can: avoids a false warning
authorEric Dumazet <eric.dumazet@gmail.com>
Fri, 9 Apr 2010 23:47:31 +0000 (23:47 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 13 Apr 2010 10:03:14 +0000 (03:03 -0700)
commit4ffa87012efd7b664762b579213d4663560ef4a3
tree37e255f778b1bda29341799b6aa209e62ce69f84
parentdac876193cd79ced36d0462749ea47c05844fb49
can: avoids a false warning

At this point optlen == sizeof(sfilter) but some compilers are dumb.

Reported-by: Németh Márton <nm127@freemail.h
Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Acked-by: Oliver Hartkopp <oliver@hartkopp.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/can/raw.c