lkml.org 
[lkml]   [2011]   [Jun]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] security: inode: fixed coding style issue
On Fri, 17 Jun 2011, Chris Forbes wrote:

> --- a/security/inode.c
> +++ b/security/inode.c
> @@ -75,7 +75,8 @@ static struct inode *get_inode(struct super_block *sb, int mode, dev_t dev)
> inode->i_op = &simple_dir_inode_operations;
> inode->i_fop = &simple_dir_operations;
>
> - /* directory inodes start off with i_nlink == 2 (for "." entry) */
> + /* directory inodes start off with i_nlink == 2
> + * (for "." entry) */

This is not correct for multi-line comments.

> - static struct tree_descr files[] = {{""}};
> + static struct tree_descr files[] = { {""} };

Why ?



--
James Morris
<jmorris@namei.org>


\
 
 \ /
  Last update: 2011-06-20 02:39    [W:0.042 / U:0.296 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site