diff options
author | 2022-11-22 13:54:49 +0800 | |
---|---|---|
committer | 2022-11-24 08:34:45 +0100 | |
commit | cd07eadd5147ffdae11b6fd28b77a3872f2a2484 (patch) | |
tree | 9b386480c67e1e1cf185147b806f25ae87b281f3 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | net: enetc: preserve TX ring priority across reconfiguration (diff) | |
download | wireguard-linux-cd07eadd5147ffdae11b6fd28b77a3872f2a2484.tar.xz wireguard-linux-cd07eadd5147ffdae11b6fd28b77a3872f2a2484.zip |
octeontx2-pf: Add check for devm_kcalloc
As the devm_kcalloc may return NULL pointer,
it should be better to add check for the return
value, as same as the others.
Fixes: e8e095b3b370 ("octeontx2-af: cn10k: Bandwidth profiles config support")
Signed-off-by: Jiasheng Jiang <jiasheng@iscas.ac.cn>
Reviewed-by: Maciej Fijalkowski <maciej.fijalkowski@intel.com>
Link: https://lore.kernel.org/r/20221122055449.31247-1-jiasheng@iscas.ac.cn
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions