Re: [PATCH] block: Fix function name in comment

Bart Van Assche
2019-05-02T20:33:49Z

On Thu, 2019-05-02 at 13:48 -0600, Raul E Rangel wrote:
> The comment was out of date.
>
> Signed-off-by: Raul E Rangel <rrangel@chromium.org>
> ---
>
> block/blk-mq.c | 2 +
> 1 file changed, 1 insertion(), 1 deletion(-)
>
> diff --git a/block/blk-mq.c b/block/blk-mq.c
> index 9516304a38ee..0e467ff440a2 100644
> --- a/block/blk-mq.c
> diff --git a/block/blk-mq.c b/block/blk-mq.c
> index 9516304a38ee..0e467ff440a2 100644
> --- a/block/blk-mq.c
> +++ b/block/blk-mq.c
> @@ -2062,7 +2062,7 @@ void blk_mq_free_rqs(struct blk_mq_tag_set *set, struct blk_mq_tags *tags,
> list_del_init(&page->lru);
> /*
> * Remove kmemleak object previously allocated in
> - * blk_mq_init_rq_map().
> + * blk_mq_alloc_rqs().
> */
> kmemleak_free(page_address(page));
> __free_pages(page, page->private);

Does the entire comment fit on a single 80 column line? In other words, can
the comment that is spread over four lines be reduced to a single line?

Thanks,

Bart.