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.