[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1622024648-33438-1-git-send-email-jiapeng.chong@linux.alibaba.com>
Date: Wed, 26 May 2021 18:24:08 +0800
From: Jiapeng Chong <jiapeng.chong@...ux.alibaba.com>
To: davem@...emloft.net
Cc: kuba@...nel.org, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org,
Jiapeng Chong <jiapeng.chong@...ux.alibaba.com>
Subject: [PATCH] drivers/net/sungem: Fix inconsistent indenting
Eliminate the follow smatch warning:
drivers/net/sungem_phy.c:412 genmii_read_link() warn: inconsistent
indenting.
Reported-by: Abaci Robot <abaci@...ux.alibaba.com>
Signed-off-by: Jiapeng Chong <jiapeng.chong@...ux.alibaba.com>
---
drivers/net/sungem_phy.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/sungem_phy.c b/drivers/net/sungem_phy.c
index 291fa44..4daac5f 100644
--- a/drivers/net/sungem_phy.c
+++ b/drivers/net/sungem_phy.c
@@ -409,7 +409,7 @@ static int genmii_read_link(struct mii_phy *phy)
* though magic-aneg shouldn't prevent this case from occurring
*/
- return 0;
+ return 0;
}
static int generic_suspend(struct mii_phy* phy)
--
1.8.3.1
Powered by blists - more mailing lists