lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1309514299.7277.30.camel@Joe-Laptop>
Date:	Fri, 01 Jul 2011 02:58:19 -0700
From:	Joe Perches <joe@...ches.com>
To:	Chris Forbes <chrisf@....co.nz>
Cc:	Jens Axboe <axboe@...nel.dk>, linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2] block: ioctl: Fix coding style issues

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@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ