diff mbox series

block: Modify mismatched function name

Message ID 20240314025615.71269-1-jiapeng.chong@linux.alibaba.com (mailing list archive)
State New, archived
Headers show
Series block: Modify mismatched function name | expand

Commit Message

Jiapeng Chong March 14, 2024, 2:56 a.m. UTC
No functional modification involved.

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

Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Closes: https://bugzilla.openanolis.cn/show_bug.cgi?id=8539
Signed-off-by: Jiapeng Chong <jiapeng.chong@linux.alibaba.com>
---
 block/blk-settings.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Randy Dunlap March 14, 2024, 5:07 a.m. UTC | #1
On 3/13/24 19:56, Jiapeng Chong wrote:
> No functional modification involved.
> 
> block/blk-settings.c:281: warning: expecting prototype for queue_limits_commit_set(). Prototype was for queue_limits_set() instead.
> 
> Reported-by: Abaci Robot <abaci@linux.alibaba.com>
> Closes: https://bugzilla.openanolis.cn/show_bug.cgi?id=8539
> Signed-off-by: Jiapeng Chong <jiapeng.chong@linux.alibaba.com>

Reviewed-by: Randy Dunlap <rdunlap@infradead.org>

Thanks.

> ---
>  block/blk-settings.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/block/blk-settings.c b/block/blk-settings.c
> index e160d56e8eda..3c7d8d638ab5 100644
> --- a/block/blk-settings.c
> +++ b/block/blk-settings.c
> @@ -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
>   *
Jens Axboe March 14, 2024, 3:40 p.m. UTC | #2
On Thu, 14 Mar 2024 10:56:15 +0800, Jiapeng Chong wrote:
> 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,
diff mbox series

Patch

diff --git a/block/blk-settings.c b/block/blk-settings.c
index e160d56e8eda..3c7d8d638ab5 100644
--- a/block/blk-settings.c
+++ b/block/blk-settings.c
@@ -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
  *