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>
Showing
- net/ipv6/icmp.c 4 additions, 13 deletionsnet/ipv6/icmp.c
- net/ipv6/ip6_output.c 5 additions, 10 deletionsnet/ipv6/ip6_output.c
- net/ipv6/ipv6_sockglue.c 0 additions, 2 deletionsnet/ipv6/ipv6_sockglue.c
- net/ipv6/raw.c 1 addition, 4 deletionsnet/ipv6/raw.c
- net/ipv6/udp.c 1 addition, 4 deletionsnet/ipv6/udp.c
Loading
Please register or sign in to comment