diff mbox series

[-next] block: Fix some kernel-doc comments

Message ID 20221104062014.62656-1-yang.lee@linux.alibaba.com (mailing list archive)
State New, archived
Headers show
Series [-next] block: Fix some kernel-doc comments | expand

Commit Message

Yang Li Nov. 4, 2022, 6:20 a.m. UTC
Remove the description of @required_features in elevator_match()
to clear the below warning:

block/elevator.c:103: warning: Excess function parameter 'required_features' description in 'elevator_match'

Link: https://bugzilla.openanolis.cn/show_bug.cgi?id=2734
Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Signed-off-by: Yang Li <yang.lee@linux.alibaba.com>
---
 block/elevator.c | 1 -
 1 file changed, 1 deletion(-)

Comments

Jens Axboe Nov. 5, 2022, 3:20 p.m. UTC | #1
On 11/4/22 12:20 AM, Yang Li wrote:
> Remove the description of @required_features in elevator_match()
> to clear the below warning:
> 
> block/elevator.c:103: warning: Excess function parameter 'required_features' description in 'elevator_match'

I'm guessing this was introduced by the recent series from
Christoph? Can you add a Fixes tag?
diff mbox series

Patch

diff --git a/block/elevator.c b/block/elevator.c
index 800e0038be0d..a5bdc3b1e7e5 100644
--- a/block/elevator.c
+++ b/block/elevator.c
@@ -94,7 +94,6 @@  static inline bool elv_support_features(struct request_queue *q,
  * elevator_match - Test an elevator name and features
  * @e: Scheduler to test
  * @name: Elevator name to test
- * @required_features: Features that the elevator must provide
  *
  * Return true if the elevator @e name matches @name and if @e provides all
  * the features specified by @required_features.