Skip to content

Commit 817e1d9

Browse files
Fabian Fredericktorvalds
authored andcommitted
fs/befs: kernel-doc fixes
Fix some comment errors. Signed-off-by: Fabian Frederick <fabf@skynet.be> Cc: Randy Dunlap <rdunlap@infradead.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
1 parent f38f41c commit 817e1d9

3 files changed

Lines changed: 11 additions & 11 deletions

File tree

‎fs/befs/btree.c‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -318,7 +318,7 @@ befs_btree_find(struct super_block *sb, befs_data_stream * ds,
318318
* befs_find_key - Search for a key within a node
319319
* @sb: Filesystem superblock
320320
* @node: Node to find the key within
321-
* @key: Keystring to search for
321+
* @findkey: Keystring to search for
322322
* @value: If key is found, the value stored with the key is put here
323323
*
324324
* finds exact match if one exists, and returns BEFS_BT_MATCH
@@ -706,7 +706,7 @@ befs_bt_get_key(struct super_block *sb, befs_btree_node * node,
706706
* @key1: pointer to the first key to be compared
707707
* @keylen1: length in bytes of key1
708708
* @key2: pointer to the second key to be compared
709-
* @kelen2: length in bytes of key2
709+
* @keylen2: length in bytes of key2
710710
*
711711
* Returns 0 if @key1 and @key2 are equal.
712712
* Returns >0 if @key1 is greater.

‎fs/befs/datastream.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ befs_fblock2brun(struct super_block *sb, befs_data_stream * data,
116116
* befs_read_lsmylink - read long symlink from datastream.
117117
* @sb: Filesystem superblock
118118
* @ds: Datastrem to read from
119-
* @buf: Buffer in which to place long symlink data
119+
* @buff: Buffer in which to place long symlink data
120120
* @len: Length of the long symlink in bytes
121121
*
122122
* Returns the number of bytes read

‎fs/befs/linuxvfs.c‎

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -582,21 +582,21 @@ befs_utf2nls(struct super_block *sb, const char *in,
582582
/**
583583
* befs_nls2utf - Convert NLS string to utf8 encodeing
584584
* @sb: Superblock
585-
* @src: Input string buffer in NLS format
586-
* @srclen: Length of input string in bytes
587-
* @dest: The output string in UTF-8 format
588-
* @destlen: Length of the output buffer
585+
* @in: Input string buffer in NLS format
586+
* @in_len: Length of input string in bytes
587+
* @out: The output string in UTF-8 format
588+
* @out_len: Length of the output buffer
589589
*
590-
* Converts input string @src, which is in the format of the loaded NLS map,
590+
* Converts input string @in, which is in the format of the loaded NLS map,
591591
* into a utf8 string.
592592
*
593-
* The destination string @dest is allocated by this function and the caller is
593+
* The destination string @out is allocated by this function and the caller is
594594
* responsible for freeing it with kfree()
595595
*
596-
* On return, *@destlen is the length of @dest in bytes.
596+
* On return, *@out_len is the length of @out in bytes.
597597
*
598598
* On success, the return value is the number of utf8 characters written to
599-
* the output buffer @dest.
599+
* the output buffer @out.
600600
*
601601
* On Failure, a negative number coresponding to the error code is returned.
602602
*/

0 commit comments

Comments
 (0)