]> git.baikalelectronics.ru Git - kernel.git/commit
batman-adv: Add const type qualifier for pointers
authorSven Eckelmann <sven@narfation.org>
Sat, 14 May 2011 21:14:50 +0000 (23:14 +0200)
committerSven Eckelmann <sven@narfation.org>
Mon, 30 May 2011 05:39:31 +0000 (07:39 +0200)
commit23fe9554400032c2eec179d7e708e4d1a2a94edb
tree98428064fef191a5093e276d5a779b9e801a97f0
parent23092a6b706ce99b6d7bfe464d9c529e2bfa6208
batman-adv: Add const type qualifier for pointers

batman-adv uses pointers which are marked as const and should not
violate that type qualifier by passing it to functions which force a
cast to the non-const version.

Signed-off-by: Sven Eckelmann <sven@narfation.org>
27 files changed:
net/batman-adv/aggregation.c
net/batman-adv/aggregation.h
net/batman-adv/bat_debugfs.c
net/batman-adv/bat_sysfs.c
net/batman-adv/bitarray.c
net/batman-adv/bitarray.h
net/batman-adv/gateway_client.c
net/batman-adv/hard-interface.c
net/batman-adv/hard-interface.h
net/batman-adv/hash.h
net/batman-adv/main.c
net/batman-adv/main.h
net/batman-adv/originator.c
net/batman-adv/originator.h
net/batman-adv/ring_buffer.c
net/batman-adv/ring_buffer.h
net/batman-adv/routing.c
net/batman-adv/routing.h
net/batman-adv/send.c
net/batman-adv/send.h
net/batman-adv/soft-interface.c
net/batman-adv/soft-interface.h
net/batman-adv/translation-table.c
net/batman-adv/translation-table.h
net/batman-adv/unicast.c
net/batman-adv/unicast.h
net/batman-adv/vis.c