Re: [PATCH -next] watchdog: diag288_wdt: use kmemdup() to allocate memory

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Feb 02, 2023 at 03:41:27PM +0800, Yang Yingliang wrote:
> Use kmemdup() helper instead of open-coding to simplify
> the code when allocating ebc_cmd.
> 
> Generated by: scripts/coccinelle/api/memdup.cocci
> 
> Signed-off-by: Yang Yingliang <yangyingliang@xxxxxxxxxx>
> ---
>  drivers/watchdog/diag288_wdt.c | 3 +--
>  1 file changed, 1 insertion(+), 2 deletions(-)

Thanks, but this code will be changed differently with the next merge
window. Therefore I will not apply patch.



[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux