linux_dsm_epyc7002/drivers/net/ethernet/hisilicon/hns3/hns3pf
Dan Carpenter 39ee6e8204 net: hns3: Check for allocation failure
We should return -ENOMEM if the kcalloc() fails.

Fixes: d174ea75c9 ("net: hns3: add statistics for PFC frames and MAC control frame")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2019-02-01 10:01:39 -08:00
..
hclge_cmd.c net: hns3: add statistics for PFC frames and MAC control frames 2019-01-23 11:13:02 -08:00
hclge_cmd.h net: hns3: add statistics for PFC frames and MAC control frames 2019-01-23 11:13:02 -08:00
hclge_dcb.c net: hns3: only support tc 0 for VF 2019-01-30 14:50:03 -08:00
hclge_dcb.h net: hns3: Add SPDX tags to HNS3 PF driver 2018-07-21 08:44:23 -07:00
hclge_debugfs.c net: hns3: Add "tm map" status information query function 2018-12-15 10:54:18 -08:00
hclge_debugfs.h net: hns3: Add "dcb register" status information query function 2018-12-15 10:54:18 -08:00
hclge_err.c net: hns3: fix spelling mistake "offser" -> "offset" 2018-12-10 11:44:30 -08:00
hclge_err.h net: hns3: add handling of RDMA RAS errors 2018-12-07 15:57:01 -08:00
hclge_main.c net: hns3: Check for allocation failure 2019-02-01 10:01:39 -08:00
hclge_main.h net: hns3: keep flow director state unchanged when reset 2019-01-30 14:50:04 -08:00
hclge_mbx.c net: hns3: only support tc 0 for VF 2019-01-30 14:50:03 -08:00
hclge_mdio.c net: hns3: Fix NULL deref when unloading driver 2019-01-30 14:50:03 -08:00
hclge_mdio.h net: hns3: Fix NULL deref when unloading driver 2019-01-30 14:50:03 -08:00
hclge_tm.c net: hns3: only support tc 0 for VF 2019-01-30 14:50:03 -08:00
hclge_tm.h net: hns3: do not return GE PFC setting err when initializing 2019-01-23 11:13:02 -08:00
Makefile net: hns3: Add "FD flow table" info query function 2018-11-23 17:28:59 -08:00