diff options
author | Kunwu Chan <[email protected]> | 2023-12-12 10:40:15 +0800 |
---|---|---|
committer | Tony Nguyen <[email protected]> | 2024-01-02 11:18:32 -0800 |
commit | 3027e7b15b02d2d37e3f82d6b8404f6d37e3b8cf (patch) | |
tree | f6de42502486b7ce877668e010e4ef531a1ddd9a /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/EventClass.py | |
parent | b8ab8858190a1bba5f4b35ca37b1e4d7577b3a75 (diff) |
ice: Fix some null pointer dereference issues in ice_ptp.c
devm_kasprintf() returns a pointer to dynamically allocated memory
which can be NULL upon failure.
Fixes: d938a8cca88a ("ice: Auxbus devices & driver for E822 TS")
Cc: Kunwu Chan <[email protected]>
Suggested-by: Przemek Kitszel <[email protected]>
Signed-off-by: Kunwu Chan <[email protected]>
Reviewed-by: Przemek Kitszel <[email protected]>
Reviewed-by: Simon Horman <[email protected]>
Tested-by: Pucha Himasekhar Reddy <[email protected]> (A Contingent worker at Intel)
Signed-off-by: Tony Nguyen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/EventClass.py')
0 files changed, 0 insertions, 0 deletions