Files
kernel_xiaomi_sm8250/include/linux
David S. Miller eec009548e net: Fix warnings caused by MAX_SKB_FRAGS change.
After commit a715dea3c8 ("net: Always
allocate at least 16 skb frags regardless of page size"), the value
of MAX_SKB_FRAGS can now take on either an "unsigned long" or an
"int" value.

This causes warnings like:

net/packet/af_packet.c: In function ‘tpacket_fill_skb’:
net/packet/af_packet.c:948: warning: format ‘%lu’ expects type ‘long unsigned int’, but argument 2 has type ‘int’

Fix by forcing the constant to be unsigned long, otherwise we have
a situation where the type of a system wide constant is variable.

Signed-off-by: David S. Miller <davem@davemloft.net>
2011-03-29 23:34:08 -07:00
..
2011-03-27 23:34:59 -07:00
2011-03-23 10:42:00 +01:00
2011-03-18 23:38:50 -07:00
2011-03-22 17:43:59 -07:00
2011-03-22 17:44:15 -07:00
2011-03-23 19:46:17 -07:00
2011-03-22 17:44:05 -07:00
2011-03-20 14:50:53 +01:00
2011-03-28 06:05:21 -04:00
2011-03-29 14:50:32 +02:00
2011-03-29 14:48:19 +02:00
2011-03-22 04:53:54 -03:00
2011-03-22 17:43:59 -07:00
2011-03-23 15:29:04 -04:00
2011-03-22 04:53:46 -03:00
2011-03-23 19:46:43 -07:00
2011-03-22 17:44:03 -07:00
2011-03-23 07:48:42 -07:00
2011-03-22 17:44:05 -07:00