lkml.org 
[lkml]   [2015]   [Mar]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH] [PATCH V2] drivers/base: use tabs where possible in code indentation
From
Date
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.




\
 
 \ /
  Last update: 2015-03-08 22:01    [W:0.043 / U:4.480 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site