Re: [PATCH 3/4] befs: fix comment style

From: Salah Triki
Date: Wed Aug 10 2016 - 17:42:51 EST


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@xxxxxxxxxxxxxxx>
> ---
> 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@xxxxxxxxx>

Thanx
Salah