[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20190201.100225.1478232033973170808.davem@davemloft.net>
Date: Fri, 01 Feb 2019 10:02:25 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: dan.carpenter@...cle.com
Cc: yisen.zhuang@...wei.com, liuzhongzhu@...wei.com,
salil.mehta@...wei.com, lipeng321@...wei.com,
shenjian15@...wei.com, tanhuazhong@...wei.com,
linyunsheng@...wei.com, liangfuyun1@...wei.com,
netdev@...r.kernel.org, kernel-janitors@...r.kernel.org
Subject: Re: [PATCH net-next] net: hns3: Check for allocation failure
From: Dan Carpenter <dan.carpenter@...cle.com>
Date: Fri, 1 Feb 2019 11:32:26 +0300
> We should return -ENOMEM if the kcalloc() fails.
>
> Fixes: d174ea75c96a ("net: hns3: add statistics for PFC frames and MAC control frame")
> Signed-off-by: Dan Carpenter <dan.carpenter@...cle.com>
Applied.
Powered by blists - more mailing lists