Re: [PATCH] lib/vnsprintf: add const modifier for param 'bitmap'

From: Steven Rostedt
Date: Tue Aug 16 2022 - 18:39:35 EST


On Tue, 16 Aug 2022 22:45:57 +0800
Guangbin Huang <huangguangbin2@xxxxxxxxxx> wrote:

> From: Jian Shen <shenjian15@xxxxxxxxxx>
>
> There is no modification for param bitmap in function
> bitmap_string() and bitmap_list_string(), so add const
> modifier for it.

Yep, seems so.

Reviewed-by: Steven Rostedt (Google) <rostedt@xxxxxxxxxxx>

-- Steve

>
> Signed-off-by: Jian Shen <shenjian15@xxxxxxxxxx>
> Signed-off-by: Guangbin Huang <huangguangbin2@xxxxxxxxxx>