diff options
author | Nathan Chancellor <natechancellor@gmail.com> | 2019-12-09 14:50:27 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-12-09 20:31:46 -0800 |
commit | 5c61e223004b3b5c3f1dd25718e979bc17a3b12d (patch) | |
tree | cf6c018c971461ccadcfe345495f9d120f74aca0 /net/tipc/node.c | |
parent | fe06bf3d83ef0d92f35a24e03297172e92ce9ce3 (diff) |
net: smc911x: Adjust indentation in smc911x_phy_configure
Clang warns:
../drivers/net/ethernet/smsc/smc911x.c:939:3: warning: misleading
indentation; statement is not part of the previous 'if'
[-Wmisleading-indentation]
if (!lp->ctl_rfduplx)
^
../drivers/net/ethernet/smsc/smc911x.c:936:2: note: previous statement
is here
if (lp->ctl_rspeed != 100)
^
1 warning generated.
This warning occurs because there is a space after the tab on this line.
Remove it so that the indentation is consistent with the Linux kernel
coding style and clang no longer warns.
Fixes: 0a0c72c9118c ("[PATCH] RE: [PATCH 1/1] net driver: Add support for SMSC LAN911x line of ethernet chips")
Link: https://github.com/ClangBuiltLinux/linux/issues/796
Signed-off-by: Nathan Chancellor <natechancellor@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/tipc/node.c')
0 files changed, 0 insertions, 0 deletions