aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv6/tcp_ipv6.c
diff options
context:
space:
mode:
authorArnd Bergmann <[email protected]>2016-03-14 14:18:38 +0000
committerDavid S. Miller <[email protected]>2016-03-14 17:09:50 +0000
commit8e0cc8c326d99e41468c96fea9785ab78883a281 (patch)
tree2ab7f952501861b4520b900d837f3bc975c71b2d /net/ipv6/tcp_ipv6.c
parentath9k: fix misleading indentation (diff)
downloadkernel-8e0cc8c326d99e41468c96fea9785ab78883a281.tar.gz
kernel-8e0cc8c326d99e41468c96fea9785ab78883a281.zip
net: caif: fix misleading indentation
gcc points out code that is not indented the way it is interpreted: net/caif/cfpkt_skbuff.c: In function 'cfpkt_setlen': net/caif/cfpkt_skbuff.c:289:4: error: statement is indented as if it were guarded by... [-Werror=misleading-indentation] return cfpkt_getlen(pkt); ^~~~~~ net/caif/cfpkt_skbuff.c:286:3: note: ...this 'else' clause, but it is not else ^~~~ It is clear from the context that not returning here would be a bug, as we'd end up passing a negative length into a function that takes a u16 length, so it is not missing curly braces here, and I'm assuming that the indentation is the only part that's wrong about it. Signed-off-by: Arnd Bergmann <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/ipv6/tcp_ipv6.c')
0 files changed, 0 insertions, 0 deletions