Re: [PATCH] [PATCH V2] drivers/base: use tabs where possible in code indentation

From: Joe Perches
Date: Sun Mar 08 2015 - 16:41:24 EST


On Sun, 2015-03-08 at 22:33 +0200, Lavinia Tache wrote:
> Linux kernel coding style require that tabs should be used instead of
> spaces for code indentation.
> Problem found using checkpatch.pl script.
[]
> diff --git a/drivers/base/soc.c b/drivers/base/soc.c
[]
> @@ -43,8 +43,8 @@ struct device *soc_device_to_device(struct soc_device *soc_dev)
> }
>
> static umode_t soc_attribute_mode(struct kobject *kobj,
> - struct attribute *attr,
> - int index)
> + struct attribute *attr,
> + int index)

It'd be nicer to keep the alignment to the open parenthesis.


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/