Re: [PATCH 41/66] drivers/md/linear.h: Checkpatch cleanup

From: Neil Brown
Date: Sun Feb 28 2010 - 00:41:18 EST


On Sat, 27 Feb 2010 17:51:22 +0100
Andrea Gelmini <andrea.gelmini@xxxxxxxxx> 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@xxxxxxxxx>
> ---
> 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;

--
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/