diff mbox series

fs: fix ioctl.c kernel-doc warnings

Message ID 1600176635-3717-1-git-send-email-tanxiaofei@huawei.com
State New
Headers show
Series fs: fix ioctl.c kernel-doc warnings | expand

Commit Message

Xiaofei Tan Sept. 15, 2020, 1:30 p.m. UTC
Fix following warnings:
fs/ioctl.c:109: warning: Excess function parameter 'fieinfo' description in 'SET_UNKNOWN_FLAGS'
fs/ioctl.c:109: warning: Excess function parameter 'logical' description in 'SET_UNKNOWN_FLAGS'
fs/ioctl.c:109: warning: Excess function parameter 'phys' description in 'SET_UNKNOWN_FLAGS'
fs/ioctl.c:109: warning: Excess function parameter 'len' description in 'SET_UNKNOWN_FLAGS'
fs/ioctl.c:109: warning: Excess function parameter 'flags' description in 'SET_UNKNOWN_FLAGS'

Signed-off-by: Xiaofei Tan <tanxiaofei@huawei.com>
---
 fs/ioctl.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
diff mbox series

Patch

diff --git a/fs/ioctl.c b/fs/ioctl.c
index 4e6cc0a..81b028f 100644
--- a/fs/ioctl.c
+++ b/fs/ioctl.c
@@ -91,6 +91,9 @@  static int ioctl_fibmap(struct file *filp, int __user *p)
 	return error;
 }
 
+#define SET_UNKNOWN_FLAGS	(FIEMAP_EXTENT_DELALLOC)
+#define SET_NO_UNMOUNTED_IO_FLAGS	(FIEMAP_EXTENT_DATA_ENCRYPTED)
+#define SET_NOT_ALIGNED_FLAGS	(FIEMAP_EXTENT_DATA_TAIL|FIEMAP_EXTENT_DATA_INLINE)
 /**
  * fiemap_fill_next_extent - Fiemap helper function
  * @fieinfo:	Fiemap context passed into ->fiemap
@@ -106,9 +109,6 @@  static int ioctl_fibmap(struct file *filp, int __user *p)
  * Returns 0 on success, -errno on error, 1 if this was the last
  * extent that will fit in user array.
  */
-#define SET_UNKNOWN_FLAGS	(FIEMAP_EXTENT_DELALLOC)
-#define SET_NO_UNMOUNTED_IO_FLAGS	(FIEMAP_EXTENT_DATA_ENCRYPTED)
-#define SET_NOT_ALIGNED_FLAGS	(FIEMAP_EXTENT_DATA_TAIL|FIEMAP_EXTENT_DATA_INLINE)
 int fiemap_fill_next_extent(struct fiemap_extent_info *fieinfo, u64 logical,
 			    u64 phys, u64 len, u32 flags)
 {