[PATCH] drivers: net: Follow the indentation coding standard on printks

From: Carlos Bilbao
Date: Thu Jul 08 2021 - 11:23:51 EST


Fix indentation of printks that start at the beginning of the line. Change this
for the right number of space characters, or tabs if the file uses them.

Signed-off-by: Carlos Bilbao <bilbao@xxxxxx>
---
drivers/net/ethernet/dec/tulip/de4x5.c | 2 +-
drivers/net/sb1000.c | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/drivers/net/ethernet/dec/tulip/de4x5.c b/drivers/net/ethernet/dec/tulip/de4x5.c
index b125d7faefdf..155cfe8800cd 100644
--- a/drivers/net/ethernet/dec/tulip/de4x5.c
+++ b/drivers/net/ethernet/dec/tulip/de4x5.c
@@ -3169,7 +3169,7 @@ dc2114x_autoconf(struct net_device *dev)

default:
lp->tcount++;
-printk("Huh?: media:%02x\n", lp->media);
+ printk("Huh?: media:%02x\n", lp->media);
lp->media = INIT;
break;
}
diff --git a/drivers/net/sb1000.c b/drivers/net/sb1000.c
index e88af978f63c..54a7c7613434 100644
--- a/drivers/net/sb1000.c
+++ b/drivers/net/sb1000.c
@@ -760,7 +760,7 @@ sb1000_rx(struct net_device *dev)

insw(ioaddr, (unsigned short*) st, 1);
#ifdef XXXDEBUG
-printk("cm0: received: %02x %02x\n", st[0], st[1]);
+ printk("cm0: received: %02x %02x\n", st[0], st[1]);
#endif /* XXXDEBUG */
lp->rx_frames++;

@@ -805,7 +805,7 @@ printk("cm0: received: %02x %02x\n", st[0], st[1]);
/* get data length */
insw(ioaddr, buffer, NewDatagramHeaderSize / 2);
#ifdef XXXDEBUG
-printk("cm0: IP identification: %02x%02x fragment offset: %02x%02x\n", buffer[30], buffer[31], buffer[32], buffer[33]);
+ printk("cm0: IP identification: %02x%02x fragment offset: %02x%02x\n", buffer[30], buffer[31], buffer[32], buffer[33]);
#endif /* XXXDEBUG */
if (buffer[0] != NewDatagramHeaderSkip) {
if (sb1000_debug > 1)
--
2.25.1