lkml.org 
[lkml]   [2016]   [Aug]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 3/4] befs: fix comment style
On Tue, Aug 09, 2016 at 11:01:25PM +0100, Luis de Bethencourt wrote:
> The description of befs_load_sb was confusing the kernel-doc system since,
> because it starts with /**, it thinks it will document the function with
> kernel-doc formatting. Which it isn't.
>
> Fix other comment style issues in the file while we are at it.
>
> Signed-off-by: Luis de Bethencourt <luisbg@osg.samsung.com>
> ---
> fs/befs/super.c | 10 +++-------
> 1 file changed, 3 insertions(+), 7 deletions(-)
>
> diff --git a/fs/befs/super.c b/fs/befs/super.c
> index c36745d..80b93c0 100644
> --- a/fs/befs/super.c
> +++ b/fs/befs/super.c
> @@ -13,13 +13,9 @@
> #include "befs.h"
> #include "super.h"
>
> -/**
> +/*
> * befs_load_sb -- Read from disk and properly byteswap all the fields
> * of the befs superblock
> - *
> - *
> - *
> - *
> */
> int
> befs_load_sb(struct super_block *sb, befs_super_block * disk_sb)
> @@ -93,8 +89,8 @@ befs_check_sb(struct super_block *sb)
> }
>
> /*
> - * block_shift and block_size encode the same information
> - * in different ways as a consistency check.
> + * block_shift and block_size encode the same information
> + * in different ways as a consistency check.
> */
>
> if ((1 << befs_sb->block_shift) != befs_sb->block_size) {
> --
> 2.5.1
>

Signed-off-by: Salah Triki <salah.triki@gmail.com>

Thanx
Salah

\
 
 \ /
  Last update: 2016-08-11 00:21    [W:0.250 / U:0.100 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site