]> git.baikalelectronics.ru Git - kernel.git/commit
ppp: Adjust indentation into ppp_async_input
authorNathan Chancellor <natechancellor@gmail.com>
Mon, 9 Dec 2019 22:38:59 +0000 (15:38 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 10 Dec 2019 04:32:40 +0000 (20:32 -0800)
commit80c9e8080b76158d549fb2faaed72288f6e5f15f
treeb020239100b265ff3efff0671750ad78e8ca5ec1
parentcbc0f51a349f25f0b3a68a315501f5419d518210
ppp: Adjust indentation into ppp_async_input

Clang warns:

../drivers/net/ppp/ppp_async.c:877:6: warning: misleading indentation;
statement is not part of the previous 'if' [-Wmisleading-indentation]
                                ap->rpkt = skb;
                                ^
../drivers/net/ppp/ppp_async.c:875:5: note: previous statement is here
                                if (!skb)
                                ^
1 warning generated.

This warning occurs because there is a space before the tab on this
line. Clean up this entire block's indentation so that it is consistent
with the Linux kernel coding style and clang no longer warns.

Fixes: f6add8402685 ("[PPP]: handle misaligned accesses")
Link: https://github.com/ClangBuiltLinux/linux/issues/800
Signed-off-by: Nathan Chancellor <natechancellor@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ppp/ppp_async.c