[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20171118.103105.152062661647395449.davem@davemloft.net>
Date: Sat, 18 Nov 2017 10:31:05 +0900 (KST)
From: David Miller <davem@...emloft.net>
To: gomonovych@...il.com
Cc: Ariel.Elior@...ium.com, everest-linux-l2@...ium.com,
netdev@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] qed: fix unnecessary call to memset cocci warnings
From: Vasyl Gomonovych <gomonovych@...il.com>
Date: Thu, 16 Nov 2017 23:04:08 +0100
> Use kzalloc rather than kmalloc followed by memset with 0
>
> drivers/net/ethernet/qlogic/qed/qed_dcbx.c:1280:13-20: WARNING:
> kzalloc should be used for dcbx_info, instead of kmalloc/memset
> Generated by: scripts/coccinelle/api/alloc/kzalloc-simple.cocci
>
> Signed-off-by: Vasyl Gomonovych <gomonovych@...il.com>
This patch doesn't even apply.
Powered by blists - more mailing lists