lkml.org 
[lkml]   [2011]   [Jul]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH v2] block: ioctl: Fix coding style issues
From
Date
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.




\
 
 \ /
  Last update: 2011-07-01 12:01    [from the cache]
©2003-2011 Jasper Spaans