]> git.openfabrics.org - ~emulex/infiniband.git/commit
batman-adv: Fix signedness problem in parse_gw_bandwidth
authorSven Eckelmann <sven@narfation.org>
Sat, 4 Jun 2011 12:00:49 +0000 (14:00 +0200)
committerSven Eckelmann <sven@narfation.org>
Thu, 9 Jun 2011 18:40:38 +0000 (20:40 +0200)
commite72948eb21d1da0275be1c6e0c7a9a22aa67a5e3
treed55325b914c76a663cd23873b2325c18d743e6af
parent6b9aadfa97efa5a73c005c5c4c667359a0c85bec
batman-adv: Fix signedness problem in parse_gw_bandwidth

strict_strtoul as used in parse_gw_bandwidth is defined for unsigned
long and strict_strtol should be used instead for long.

Signed-off-by: Sven Eckelmann <sven@narfation.org>
net/batman-adv/gateway_common.c