diff options
author | Heinrich Schuchardt <heinrich.schuchardt@canonical.com> | 2022-01-19 20:05:50 +0300 |
---|---|---|
committer | Heinrich Schuchardt <heinrich.schuchardt@canonical.com> | 2022-01-19 20:11:34 +0300 |
commit | 185f812c419f1b4f0d10d9787d59cf9f11a2a600 (patch) | |
tree | 2fea02768d6005934547f075586c60ba7aca6253 /fs/fat/fat.c | |
parent | 6a685753ce8b6b02b67d64b239143bf19eda63c9 (diff) | |
download | u-boot-185f812c419f1b4f0d10d9787d59cf9f11a2a600.tar.xz |
doc: replace @return by Return:
Sphinx expects Return: and not @return to indicate a return value.
find . -name '*.c' -exec \
sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \;
find . -name '*.h' -exec \
sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \;
Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
Diffstat (limited to 'fs/fat/fat.c')
-rw-r--r-- | fs/fat/fat.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/fs/fat/fat.c b/fs/fat/fat.c index 65f77c4f75..df9ea2c028 100644 --- a/fs/fat/fat.c +++ b/fs/fat/fat.c @@ -735,7 +735,7 @@ static int fat_itr_isdir(fat_itr *itr); * * @itr: iterator to initialize * @fsdata: filesystem data for the partition - * @return 0 on success, else -errno + * Return: 0 on success, else -errno */ static int fat_itr_root(fat_itr *itr, fsdata *fsdata) { @@ -954,7 +954,7 @@ static dir_entry *extract_vfat_name(fat_itr *itr) * Must be called once on a new iterator before the cursor is valid. * * @itr: the iterator to iterate - * @return boolean, 1 if success or 0 if no more entries in the + * Return: boolean, 1 if success or 0 if no more entries in the * current directory */ static int fat_itr_next(fat_itr *itr) @@ -1024,7 +1024,7 @@ static int fat_itr_next(fat_itr *itr) * fat_itr_isdir() - is current cursor position pointing to a directory * * @itr: the iterator - * @return true if cursor is at a directory + * Return: true if cursor is at a directory */ static int fat_itr_isdir(fat_itr *itr) { @@ -1052,7 +1052,7 @@ static int fat_itr_isdir(fat_itr *itr) * @itr: iterator initialized to root * @path: the requested path * @type: bitmask of allowable file types - * @return 0 on success or -errno + * Return: 0 on success or -errno */ static int fat_itr_resolve(fat_itr *itr, const char *path, unsigned type) { |