aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorKunwu Chan <chentao@kylinos.cn>2023-12-12 10:40:15 +0800
committerTony Nguyen <anthony.l.nguyen@intel.com>2024-01-02 11:18:32 -0800
commit3027e7b15b02d2d37e3f82d6b8404f6d37e3b8cf (patch)
treef6de42502486b7ce877668e010e4ef531a1ddd9a /tools/perf/scripts/python
parentice: ice_base.c: Add const modifier to params and vars (diff)
downloadlinux-3027e7b15b02d2d37e3f82d6b8404f6d37e3b8cf.tar.gz
linux-3027e7b15b02d2d37e3f82d6b8404f6d37e3b8cf.zip
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 <kunwu.chan@hotmail.com> Suggested-by: Przemek Kitszel <przemyslaw.kitszel@intel.com> Signed-off-by: Kunwu Chan <chentao@kylinos.cn> Reviewed-by: Przemek Kitszel <przemyslaw.kitszel@intel.com> Reviewed-by: Simon Horman <horms@kernel.org> Tested-by: Pucha Himasekhar Reddy <himasekharx.reddy.pucha@intel.com> (A Contingent worker at Intel) Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions