INET: style updates for the inet_sock->is_icsk assignment fix
Subsystems (2)
PATCH 1/1 INET: style updates for the inet_sock->is_icsk assignment fix
A quick patch to change the inet_sock->is_icsk assignment to better fit with existing kernel coding style.
Signed-off-by Paul Moore <[email protected]>
Cc Jarek Poplawski <[email protected]>
Cc Arnaldo Carvalho de Melo <[email protected]>
--- net/ipv4/af_inet.c | 2 +- net/ipv6/af_inet6.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
net/ipv4/af_inet.c +1 -1
@@ -305,7 +305,7 @@ lookup_protocol: sk->sk_reuse =1 ; inet =inet_sk (sk); - inet->is_icsk = (INET_PROTOSW_ICSK & answer_flags) ==INET_PROTOSW_ICSK ; + inet->is_icsk = (INET_PROTOSW_ICSK & answer_flags) !=0 ;if (SOCK_RAW == sock->type) { inet->num = protocol;
net/ipv6/af_inet6.c +1 -1
@@ -171,7 +171,7 @@ lookup_protocol: sk->sk_reuse =1 ; inet =inet_sk (sk); - inet->is_icsk = (INET_PROTOSW_ICSK & answer_flags) ==INET_PROTOSW_ICSK ; + inet->is_icsk = (INET_PROTOSW_ICSK & answer_flags) !=0 ;if (SOCK_RAW == sock->type) { inet->num = protocol;
--
paul moore
linux security @ hp
Quoted 6 lines · Paul Moore
A quick patch to change the
inet_sock->is_icskassignment to better fit with existing kernel coding style.Signed-off-by Paul Moore <[email protected]>Cc Jarek Poplawski <[email protected]>Cc Arnaldo Carvalho de Melo <[email protected]>
Signed-off-by Arnaldo Carvalho de Melo <[email protected]>
David Miller
maintainerFrom: "Arnaldo Carvalho de Melo" <[email protected]>
Date: Tue, 9 Jan 2007 16:45:12 -0200
Quoted 9 lines · Paul Moore
Quoted 6 lines
A quick patch to change the
inet_sock->is_icskassignment to better fit with existing kernel coding style.Signed-off-by Paul Moore <[email protected]>Cc Jarek Poplawski <[email protected]>Cc Arnaldo Carvalho de Melo <[email protected]>Signed-off-by Arnaldo Carvalho de Melo <[email protected]>
Ok, the style police win :)