Skip to contentSkip to conversation

net/appletalk: Fix inconsistent indenting

PATCH Applied Jiapeng Chong 2 participants 2 messages May 26, 2021 – May 27, 2021

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 net/appletalk: Fix inconsistent indenting

Eliminate the follow smatch warning:

drivers/net/appletalk/ltpc.c:588 idle() warn: inconsistent indenting.

---
 drivers/net/appletalk/ltpc.c | 10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)
drivers/net/appletalk/ltpc.c +6 -4
index f0e715a..69c2708 100644
@@ -584,11 +584,13 @@ static void idle(struct net_device *dev)
 						printk("%02x ",ltdmacbuf[i]);
 					printk("\n");
 				}
+
 				handlecommand(dev);
-					if(0xfa==inb_p(base+6)) {
-						/* we timed out, so return */
-						goto done;
-					} 
+
+				if (0xfa == inb_p(base + 6)) {
+					/* we timed out, so return */
+					goto done;
+				}
 			} else {
 				/* we don't seem to have a command */
 				if (!mboxinuse[0]) {
Signature · 1 line
1.8.3.1
#1 lore raw
This patch was applied to netdev/net-next.git (refs/heads/master):

Hello:

This patch was applied to netdev/net-next.git (refs/heads/master):

Quoted 8 lines · On Wed, 26 May 2021 18:21:04 +0800 you wrote:

Eliminate the follow smatch warning:

drivers/net/appletalk/ltpc.c:588 idle() warn: inconsistent indenting.

[...]

Here is the summary with links:
- net/appletalk: Fix inconsistent indenting

    https://git.kernel.org/netdev/net-next/c/18c8d3044d9c

You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html