diff options
author | 2025-01-31 01:38:32 +0000 | |
---|---|---|
committer | 2025-02-01 16:57:50 -0800 | |
commit | a8aa6a6ddce9b5585f2b74f27f3feea1427fb4e7 (patch) | |
tree | f24b73273779495a198e1661f1d474457b7d449d /tools/perf/scripts/python/export-to-postgresql.py | |
parent | net: ipv6: fix dst ref loops in rpl, seg6 and ioam6 lwtunnels (diff) | |
download | linux-rng-a8aa6a6ddce9b5585f2b74f27f3feea1427fb4e7.tar.xz linux-rng-a8aa6a6ddce9b5585f2b74f27f3feea1427fb4e7.zip |
ice: Add check for devm_kzalloc()
Add check for the return value of devm_kzalloc() to guarantee the success
of allocation.
Fixes: 42c2eb6b1f43 ("ice: Implement devlink-rate API")
Signed-off-by: Jiasheng Jiang <jiashengjiangcool@gmail.com>
Reviewed-by: Michal Swiatkowski <michal.swiatkowski@linux.intel.com>
Link: https://patch.msgid.link/20250131013832.24805-1-jiashengjiangcool@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions