Re: [PATCH] mtd: mtdcore: constify name param in mtd_bdi_init

2021-03-02 Thread Miquel Raynal
On Thu, 2021-02-25 at 14:33:29 UTC, Tomas Winkler wrote: > The bdi name is not modified by the function, it should be const. > > Signed-off-by: Tomas Winkler Applied to https://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux.git mtd/next, thanks. Miquel

[PATCH] mtd: mtdcore: constify name param in mtd_bdi_init

2021-02-25 Thread Tomas Winkler
The bdi name is not modified by the function, it should be const. Signed-off-by: Tomas Winkler --- drivers/mtd/mtdcore.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mtd/mtdcore.c b/drivers/mtd/mtdcore.c index db5167eacaa4..80fb69453ebe 100644 --- a/drivers/mtd/mtd