inet6: Conversion from u8 to int
authorGerrit Renker <gerrit@erg.abdn.ac.uk>
Sun, 9 Aug 2009 08:12:48 +0000 (08:12 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 13 Aug 2009 23:43:31 +0000 (16:43 -0700)
commite651f03afe833326faa0abe55948c1c6cfd0b8ac
tree77058921e3842568e885f23b7b6829c628a0051b
parent9ec04da7489d2c9ae01ea6e9b5fa313ccf3d35fb
inet6: Conversion from u8 to int

This replaces assignments of the type "int on LHS" = "u8 on RHS" with
simpler code. The LHS can express all of the unsigned right hand side
values, hence the assigned value can not be negative.

Signed-off-by: Gerrit Renker <gerrit@erg.abdn.ac.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/icmp.c
net/ipv6/ip6_output.c
net/ipv6/ipv6_sockglue.c
net/ipv6/raw.c
net/ipv6/udp.c