Skip to contentSkip to conversation

block: Modify mismatched function name

PATCH Applied Jiapeng Chong 3 participants 3 messages Mar 14, 2024 Block layer

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 block: Modify mismatched function name

No functional modification involved.

block/blk-settings.c:281: warning: expecting prototype for queue_limits_commit_set(). Prototype was for queue_limits_set() instead.

---
 block/blk-settings.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
block/blk-settings.c +1 -1
index e160d56e8eda..3c7d8d638ab5 100644
@@ -267,7 +267,7 @@ int queue_limits_commit_update(struct request_queue *q,
 EXPORT_SYMBOL_GPL(queue_limits_commit_update);
 
 /**
- * queue_limits_commit_set - apply queue limits to queue
+ * queue_limits_set - apply queue limits to queue
  * @q:		queue to update
  * @lim:	limits to apply
  *
Signature · 1 line
2.20.1.7.g153144c
Reviewed-by on v1 1/1
#1 lore raw
Quoted 7 lines · Jiapeng Chong

No functional modification involved.

block/blk-settings.c:281: warning: expecting prototype for queue_limits_commit_set(). Prototype was for queue_limits_set() instead.

Thanks.

Quoted 17 lines
---
 block/blk-settings.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
block/blk-settings.c +1 -1
index e160d56e8eda..3c7d8d638ab5 100644
@@ -267,7 +267,7 @@ int queue_limits_commit_update(struct request_queue *q,
 EXPORT_SYMBOL_GPL(queue_limits_commit_update);
 
 /**
- * queue_limits_commit_set - apply queue limits to queue
+ * queue_limits_set - apply queue limits to queue
  * @q:		queue to update
  * @lim:	limits to apply
  *
Signature · 1 line
#Randy
maintainer Applied
#2 lore raw
In reply to Jiapeng Chong
Quoted 5 lines · Jiapeng Chong

No functional modification involved.

block/blk-settings.c:281: warning: expecting prototype for queue_limits_commit_set(). Prototype was for queue_limits_set() instead.

Applied, thanks!

[1/1] block: Modify mismatched function name

      commit: 4c4ab8ae416350ce817339f239bdaaf351212f15

Best regards,

Signature · 1 line
Jens Axboe