From: Dan Carpenter <dan.carpenter@xxxxxxxxxx> 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@xxxxxxxxxx> Applied.