Re: [PATCH v2] block: ioctl: Fix coding style issues

From: Joe Perches
Date: Fri Jul 01 2011 - 05:58:25 EST


On Fri, 2011-07-01 at 21:44 +1200, Chris Forbes wrote:
> Fixed issues as flagged by checkpatch.pl
> diff --git a/block/ioctl.c b/block/ioctl.c
[]
> @@ -6,10 +6,10 @@
> #include <linux/backing-dev.h>
> #include <linux/buffer_head.h>
> #include <linux/blktrace_api.h>
> -#include <asm/uaccess.h>
> +#include <linux/uaccess.h>
>
> -static int blkpg_ioctl(struct block_device *bdev, struct blkpg_ioctl_arg __user *arg)
> -{
> +static int blkpg_ioctl(struct block_device *bdev,
> + struct blkpg_ioctl_arg __user *arg) {

Hey Chris.

Sorry, that's not right.
The open brace needs to be on a new line.


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