Re: [PATCH] dm: Use vmalloc_array to simplify code

2025-08-11 Thread Mikulas Patocka
Applied.thanks. Mikulas On Tue, 5 Aug 2025, Qianfeng Rong wrote: > Remove array_size() calls and replace vmalloc() with > vmalloc_array() to simplify the code. > > Signed-off-by: Qianfeng Rong > --- > drivers/md/dm-cache-policy-smq.c | 2 +- > drivers/md/dm-region-hash.c | 2 +- > driv

Re: [PATCH] dm: Use vmalloc_array to simplify code

2025-08-05 Thread Qianfeng Rong
在 2025/8/5 20:08, Markus Elfring 写道: [You don't often get email from markus.elfr...@web.de. Learn why this is important at https://aka.ms/LearnAboutSenderIdentification ] Remove array_size() calls and replace vmalloc() with vmalloc_array() to simplify the code. You may occasionally put more

Re: [PATCH] dm: Use vmalloc_array to simplify code

2025-08-05 Thread Markus Elfring
> Remove array_size() calls and replace vmalloc() with > vmalloc_array() to simplify the code. You may occasionally put more than 52 characters into text lines of such a change description. https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/Documentation/process/submitting-pat