Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1460022
| From | Salah Triki <salah.triki@gmail.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH 3/4] befs: fix comment style |
| Date | 2016-08-10 23:50 +0200 |
| Message-ID | <s4JxT-2gM-23@gated-at.bofh.it> (permalink) |
| References | <s4nnH-4Yg-9@gated-at.bofh.it> <s4nnH-4Yg-7@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
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
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
[PATCH 3/4] befs: fix comment style Luis de Bethencourt <luisbg@osg.samsung.com> - 2016-08-10 00:10 +0200 Re: [PATCH 3/4] befs: fix comment style Salah Triki <salah.triki@gmail.com> - 2016-08-10 23:50 +0200
csiph-web