linux/net/batman-adv
David Howells b2c44a5383 batman-adv: count_real_packets() in batman-adv assumes char is signed
count_real_packets() in batman-adv assumes char is signed, and returns -1
through it:

net/batman-adv/routing.c: In function 'receive_bat_packet':
net/batman-adv/routing.c:739: warning: comparison is always false due to limited range of data type

Use int instead.

Signed-off-by: David Howells <dhowells@redhat.com>
[sven@narfation.org: Rebase on top of current version]
Signed-off-by: Sven Eckelmann <sven@narfation.org>
2011-06-20 11:23:36 +02:00
..
aggregation.c batman-adv: use NO_FLAGS define instead of hard-coding 0 2011-06-09 20:40:38 +02:00
aggregation.h batman-adv: Add const type qualifier for pointers 2011-05-30 07:39:31 +02:00
bat_debugfs.c batman-adv: Calculate sizeof using variable insead of types 2011-05-30 07:39:33 +02:00
bat_debugfs.h batman-adv: Update copyright years 2011-01-31 14:57:12 +01:00
bat_sysfs.c batman-adv: Rewrite debugfs kobj_to_* helpers as functions 2011-06-09 20:40:38 +02:00
bat_sysfs.h batman-adv: Update copyright years 2011-01-31 14:57:12 +01:00
bitarray.c batman-adv: count_real_packets() in batman-adv assumes char is signed 2011-06-20 11:23:36 +02:00
bitarray.h batman-adv: count_real_packets() in batman-adv assumes char is signed 2011-06-20 11:23:36 +02:00
gateway_client.c batman-adv: use NO_FLAGS define instead of hard-coding 0 2011-06-09 20:40:38 +02:00
gateway_client.h batman-adv: concentrate all curr_gw related rcu operations in select/deselect functions 2011-04-17 21:11:01 +02:00
gateway_common.c batman-adv: Fix signedness problem in parse_gw_bandwidth 2011-06-09 20:40:38 +02:00
gateway_common.h batman-adv: Update copyright years 2011-01-31 14:57:12 +01:00
hard-interface.c batman-adv: use NO_FLAGS define instead of hard-coding 0 2011-06-09 20:40:38 +02:00
hard-interface.h batman-adv: Use enums for related constants 2011-06-09 20:40:38 +02:00
hash.c batman-adv: Calculate sizeof using variable insead of types 2011-05-30 07:39:33 +02:00
hash.h batman-adv: Add const type qualifier for pointers 2011-05-30 07:39:31 +02:00
icmp_socket.c batman-adv: Calculate sizeof using variable insead of types 2011-05-30 07:39:33 +02:00
icmp_socket.h batman-adv: Remove duplicate types.h inclusions 2011-02-11 23:30:29 +01:00
Kconfig
main.c batman-adv: Add const type qualifier for pointers 2011-05-30 07:39:31 +02:00
main.h batman-adv: use NO_FLAGS define instead of hard-coding 0 2011-06-09 20:40:38 +02:00
Makefile batman-adv: Update copyright years 2011-01-31 14:57:12 +01:00
originator.c batman-adv: Move compare_orig to originator.c 2011-06-20 10:38:55 +02:00
originator.h batman-adv: Move compare_orig to originator.c 2011-06-20 10:38:55 +02:00
packet.h batman-adv: Use enums for related constants 2011-06-09 20:40:38 +02:00
ring_buffer.c batman-adv: Add const type qualifier for pointers 2011-05-30 07:39:31 +02:00
ring_buffer.h batman-adv: Add const type qualifier for pointers 2011-05-30 07:39:31 +02:00
routing.c batman-adv: count_real_packets() in batman-adv assumes char is signed 2011-06-20 11:23:36 +02:00
routing.h batman-adv: Add const type qualifier for pointers 2011-05-30 07:39:31 +02:00
send.c batman-adv: use NO_FLAGS define instead of hard-coding 0 2011-06-09 20:40:38 +02:00
send.h batman-adv: Add const type qualifier for pointers 2011-05-30 07:39:31 +02:00
soft-interface.c batman-adv: Keep interface_tx as local function 2011-06-20 10:38:59 +02:00
soft-interface.h batman-adv: Keep interface_tx as local function 2011-06-20 10:38:59 +02:00
translation-table.c batman-adv: Calculate sizeof using variable insead of types 2011-05-30 07:39:33 +02:00
translation-table.h batman-adv: Add const type qualifier for pointers 2011-05-30 07:39:31 +02:00
types.h batman-adv: a multiline comment should precede the variable it is describing 2011-05-30 07:39:36 +02:00
unicast.c batman-adv: Calculate sizeof using variable insead of types 2011-05-30 07:39:33 +02:00
unicast.h batman-adv: Calculate sizeof using variable insead of types 2011-05-30 07:39:33 +02:00
vis.c batman-adv: move smallest_signed_int(), seq_before() and seq_after() into main.h 2011-05-30 07:39:35 +02:00
vis.h batman-adv: Update copyright years 2011-01-31 14:57:12 +01:00