aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2019-02-01 11:32:26 +0300
committerDavid S. Miller <davem@davemloft.net>2019-02-01 10:01:39 -0800
commit39ee6e8204b9d4bd46d57ad838fa852f5d293f99 (patch)
tree0c70b16e0ab6eda7ef4d847d80c98647d4b6ba0e /tools/perf/scripts/python/export-to-sqlite.py
parentethtool: remove unnecessary check in ethtool_get_regs() (diff)
downloadlinux-39ee6e8204b9d4bd46d57ad838fa852f5d293f99.tar.gz
linux-39ee6e8204b9d4bd46d57ad838fa852f5d293f99.zip
net: hns3: Check for allocation failure
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@oracle.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions