Re: [PATCH net-next v2] drivers: net: Follow the indentation coding standard on printks

From: Joe Perches
Date: Thu Jul 08 2021 - 13:38:32 EST


On Thu, 2021-07-08 at 13:33 -0400, Carlos Bilbao wrote:
> 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.

You are touching 2 different drivers and this should really be
2 separate patches.

> diff --git a/drivers/net/ethernet/dec/tulip/de4x5.c.rej b/drivers/net/ethernet/dec/tulip/de4x5.c.rej
[]
> +++ b/drivers/net/ethernet/dec/tulip/de4x5.c.rej
> @@ -0,0 +1,11 @@
> +--- drivers/net/ethernet/dec/tulip/de4x5.c
> ++++ 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;
> + }

This is an interdiff that should not be part of this change.