Skip to contentSkip to conversation

block: Fix some kernel-doc comments

PATCH Applied Yang Li 2 participants 2 messages Nov 7, 2022 Block layer

lore
Share & tools
lore

Yang Li

author
#0 lore raw

PATCH 1/1 block: Fix some kernel-doc comments

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'

Fixes ffb86425ee2c ("block: don't check for required features in elevator_match")
---
 block/elevator.c | 1 -
 1 file changed, 1 deletion(-)
block/elevator.c +0 -1
index 800e0038be0d..a5bdc3b1e7e5 100644
@@ -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.
Signature · 1 line
2.20.1.7.g153144c
maintainer Applied
#1 lore raw
Quoted 6 lines · Yang Li

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'

Applied, thanks!

[1/1] block: Fix some kernel-doc comments

      commit: 5b2560c4c20e6d6933625b4b56f6843d6c7faf0f

Best regards,

Signature · 1 line
Jens Axboe