lkml.org 
[lkml]   [2010]   [Feb]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 41/66] drivers/md/linear.h: Checkpatch cleanup
On Sat, 27 Feb 2010 17:51:22 +0100
Andrea Gelmini <andrea.gelmini@gelma.net> wrote:

> drivers/md/linear.h:12: ERROR: open brace '{' following struct go on the same line

Thanks, but no thanks.
This just doesn't need cleaning up.

NeilBrown

>
> Signed-off-by: Andrea Gelmini <andrea.gelmini@gelma.net>
> ---
> drivers/md/linear.h | 3 +--
> 1 files changed, 1 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/md/linear.h b/drivers/md/linear.h
> index 0ce29b6..3860fd8 100644
> --- a/drivers/md/linear.h
> +++ b/drivers/md/linear.h
> @@ -8,8 +8,7 @@ struct dev_info {
>
> typedef struct dev_info dev_info_t;
>
> -struct linear_private_data
> -{
> +struct linear_private_data {
> sector_t array_sectors;
> dev_info_t disks[0];
> struct rcu_head rcu;



\
 
 \ /
  Last update: 2010-02-28 06:43    [W:0.316 / U:14.392 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site