diff options
| author | Dan Carpenter <[email protected]> | 2019-02-01 11:32:26 +0300 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2019-02-01 10:01:39 -0800 |
| commit | 39ee6e8204b9d4bd46d57ad838fa852f5d293f99 (patch) | |
| tree | 0c70b16e0ab6eda7ef4d847d80c98647d4b6ba0e /tools/perf/scripts/python/export-to-sqlite.py | |
| parent | ef76c77a0561e83d457937621ce2273b0580e345 (diff) | |
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 <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions