Re: [NETFILTER]: xt_hashlimit match, revision 1

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Jan Engelhardt wrote:
Hi,

this patch was previously unmerged because it conflicted with Eric Dumazet's changes. I now rediffed it; please apply.


This adds a huge number of sparse warnings, please fix those up.
I already fixed those in your other recent patches, but please
make sure all patches you submit are sparse warning free.

net/netfilter/xt_hashlimit.c:480:17: warning: incorrect type in argument 1 (different base types) net/netfilter/xt_hashlimit.c:480:17: expected unsigned int [unsigned] [usertype] a net/netfilter/xt_hashlimit.c:480:17: got restricted unsigned int [usertype] <noident>
net/netfilter/xt_hashlimit.c:469:9: warning: cast to restricted type
net/netfilter/xt_hashlimit.c:469:9: warning: cast to restricted type
net/netfilter/xt_hashlimit.c:469:9: warning: cast to restricted type
net/netfilter/xt_hashlimit.c:469:9: warning: cast to restricted type
net/netfilter/xt_hashlimit.c:469:9: warning: cast to restricted type
net/netfilter/xt_hashlimit.c:469:9: warning: cast to restricted type
net/netfilter/xt_hashlimit.c:469:9: warning: cast to restricted type
net/netfilter/xt_hashlimit.c:469:9: warning: cast to restricted type
net/netfilter/xt_hashlimit.c:469:9: warning: cast to restricted type
net/netfilter/xt_hashlimit.c:469:9: warning: cast to restricted type
net/netfilter/xt_hashlimit.c:469:9: warning: cast to restricted type
net/netfilter/xt_hashlimit.c:469:9: warning: cast to restricted type
net/netfilter/xt_hashlimit.c:469:9: warning: cast to restricted type
net/netfilter/xt_hashlimit.c:469:9: warning: cast to restricted type
net/netfilter/xt_hashlimit.c:469:9: warning: cast to restricted type
net/netfilter/xt_hashlimit.c:469:9: warning: cast to restricted type
net/netfilter/xt_hashlimit.c:469:9: warning: cast to restricted type
net/netfilter/xt_hashlimit.c:469:9: warning: cast to restricted type
net/netfilter/xt_hashlimit.c:469:9: warning: cast to restricted type
net/netfilter/xt_hashlimit.c:469:9: warning: cast to restricted type
net/netfilter/xt_hashlimit.c:469:9: warning: cast to restricted type
net/netfilter/xt_hashlimit.c:469:9: warning: cast to restricted type
net/netfilter/xt_hashlimit.c:469:9: warning: cast to restricted type
net/netfilter/xt_hashlimit.c:469:9: warning: cast to restricted type
net/netfilter/xt_hashlimit.c:469:9: warning: cast to restricted type
net/netfilter/xt_hashlimit.c:469:9: warning: cast to restricted type
net/netfilter/xt_hashlimit.c:469:9: warning: cast to restricted type
net/netfilter/xt_hashlimit.c:469:9: warning: cast to restricted type
net/netfilter/xt_hashlimit.c:469:9: warning: cast to restricted type
net/netfilter/xt_hashlimit.c:469:9: warning: cast to restricted type
net/netfilter/xt_hashlimit.c:469:9: warning: cast to restricted type
net/netfilter/xt_hashlimit.c:469:9: warning: cast to restricted type
net/netfilter/xt_hashlimit.c:469:9: warning: cast to restricted type
net/netfilter/xt_hashlimit.c:469:9: warning: cast to restricted type
net/netfilter/xt_hashlimit.c:469:9: warning: cast to restricted type
net/netfilter/xt_hashlimit.c:469:9: warning: cast to restricted type
net/netfilter/xt_hashlimit.c:469:9: warning: incorrect type in return expression (different base types)
net/netfilter/xt_hashlimit.c:469:9:    expected unsigned int
net/netfilter/xt_hashlimit.c:469:9: got restricted unsigned int [usertype] <noident> net/netfilter/xt_hashlimit.c:480:8: warning: incorrect type in assignment (different base types) net/netfilter/xt_hashlimit.c:480:8: expected restricted unsigned int [usertype] <noident>
net/netfilter/xt_hashlimit.c:480:8:    got unsigned int
net/netfilter/xt_hashlimit.c:487:17: warning: incorrect type in argument 1 (different base types) net/netfilter/xt_hashlimit.c:487:17: expected unsigned int [unsigned] [usertype] a net/netfilter/xt_hashlimit.c:487:17: got restricted unsigned int [usertype] <noident>
net/netfilter/xt_hashlimit.c:469:9: warning: cast to restricted type
net/netfilter/xt_hashlimit.c:469:9: warning: cast to restricted type
net/netfilter/xt_hashlimit.c:469:9: warning: cast to restricted type
net/netfilter/xt_hashlimit.c:469:9: warning: cast to restricted type
net/netfilter/xt_hashlimit.c:469:9: warning: cast to restricted type
net/netfilter/xt_hashlimit.c:469:9: warning: cast to restricted type
net/netfilter/xt_hashlimit.c:469:9: warning: cast to restricted type
net/netfilter/xt_hashlimit.c:469:9: warning: cast to restricted type
net/netfilter/xt_hashlimit.c:469:9: warning: cast to restricted type
net/netfilter/xt_hashlimit.c:469:9: warning: cast to restricted type
net/netfilter/xt_hashlimit.c:469:9: warning: cast to restricted type
net/netfilter/xt_hashlimit.c:469:9: warning: cast to restricted type
net/netfilter/xt_hashlimit.c:469:9: warning: cast to restricted type
net/netfilter/xt_hashlimit.c:469:9: warning: cast to restricted type
net/netfilter/xt_hashlimit.c:469:9: warning: cast to restricted type
net/netfilter/xt_hashlimit.c:469:9: warning: cast to restricted type
net/netfilter/xt_hashlimit.c:469:9: warning: cast to restricted type
net/netfilter/xt_hashlimit.c:469:9: warning: cast to restricted type
net/netfilter/xt_hashlimit.c:469:9: warning: cast to restricted type
net/netfilter/xt_hashlimit.c:469:9: warning: cast to restricted type
net/netfilter/xt_hashlimit.c:469:9: warning: cast to restricted type
net/netfilter/xt_hashlimit.c:469:9: warning: cast to restricted type
net/netfilter/xt_hashlimit.c:469:9: warning: cast to restricted type
net/netfilter/xt_hashlimit.c:469:9: warning: cast to restricted type
net/netfilter/xt_hashlimit.c:469:9: warning: cast to restricted type
net/netfilter/xt_hashlimit.c:469:9: warning: cast to restricted type
net/netfilter/xt_hashlimit.c:469:9: warning: cast to restricted type
net/netfilter/xt_hashlimit.c:469:9: warning: cast to restricted type
net/netfilter/xt_hashlimit.c:469:9: warning: cast to restricted type
net/netfilter/xt_hashlimit.c:469:9: warning: cast to restricted type
net/netfilter/xt_hashlimit.c:469:9: warning: cast to restricted type
net/netfilter/xt_hashlimit.c:469:9: warning: cast to restricted type
net/netfilter/xt_hashlimit.c:469:9: warning: cast to restricted type
net/netfilter/xt_hashlimit.c:469:9: warning: cast to restricted type
net/netfilter/xt_hashlimit.c:469:9: warning: cast to restricted type
net/netfilter/xt_hashlimit.c:469:9: warning: cast to restricted type
net/netfilter/xt_hashlimit.c:469:9: warning: incorrect type in return expression (different base types)
net/netfilter/xt_hashlimit.c:469:9:    expected unsigned int
net/netfilter/xt_hashlimit.c:469:9: got restricted unsigned int [usertype] <noident> net/netfilter/xt_hashlimit.c:487:8: warning: incorrect type in assignment (different base types) net/netfilter/xt_hashlimit.c:487:8: expected restricted unsigned int [usertype] <noident>
net/netfilter/xt_hashlimit.c:487:8:    got unsigned int
net/netfilter/xt_hashlimit.c:494:17: warning: incorrect type in argument 1 (different base types) net/netfilter/xt_hashlimit.c:494:17: expected unsigned int [unsigned] [usertype] a net/netfilter/xt_hashlimit.c:494:17: got restricted unsigned int [usertype] <noident>
net/netfilter/xt_hashlimit.c:469:9: warning: cast to restricted type
net/netfilter/xt_hashlimit.c:469:9: warning: cast to restricted type
net/netfilter/xt_hashlimit.c:469:9: warning: cast to restricted type
net/netfilter/xt_hashlimit.c:469:9: warning: cast to restricted type
net/netfilter/xt_hashlimit.c:469:9: warning: cast to restricted type
net/netfilter/xt_hashlimit.c:469:9: warning: cast to restricted type
net/netfilter/xt_hashlimit.c:469:9: warning: cast to restricted type
net/netfilter/xt_hashlimit.c:469:9: warning: cast to restricted type
net/netfilter/xt_hashlimit.c:469:9: warning: cast to restricted type
net/netfilter/xt_hashlimit.c:469:9: warning: cast to restricted type
net/netfilter/xt_hashlimit.c:469:9: warning: cast to restricted type
net/netfilter/xt_hashlimit.c:469:9: warning: cast to restricted type
net/netfilter/xt_hashlimit.c:469:9: warning: cast to restricted type
net/netfilter/xt_hashlimit.c:469:9: warning: cast to restricted type
net/netfilter/xt_hashlimit.c:469:9: warning: cast to restricted type
net/netfilter/xt_hashlimit.c:469:9: warning: cast to restricted type
net/netfilter/xt_hashlimit.c:469:9: warning: cast to restricted type
net/netfilter/xt_hashlimit.c:469:9: warning: cast to restricted type
net/netfilter/xt_hashlimit.c:469:9: warning: cast to restricted type
net/netfilter/xt_hashlimit.c:469:9: warning: cast to restricted type
net/netfilter/xt_hashlimit.c:469:9: warning: too many warnings
-
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Netfitler Users]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux