summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorKeisuke Nishimura <keisuke.nishimura@inria.fr>2024-12-20 15:00:47 +0300
committerKeith Busch <kbusch@kernel.org>2025-01-11 06:30:46 +0300
commitac32057acc7f3d7a238dafaa9b2aa2bc9750080e (patch)
treeab405442eec0d230a161b65e87a3679e506f919c /tools/perf/scripts/python/export-to-postgresql.py
parent32193789878c259e39b97bd0c0f2f0ccbe5cb8a8 (diff)
downloadlinux-ac32057acc7f3d7a238dafaa9b2aa2bc9750080e.tar.xz
nvme: Add error check for xa_store in nvme_get_effects_log
The xa_store() may fail due to memory allocation failure because there is no guarantee that the index csi is already used. This fix adds an error check of the return value of xa_store() in nvme_get_effects_log(). Fixes: 1cf7a12e09aa ("nvme: use an xarray to lookup the Commands Supported and Effects log") Signed-off-by: Keisuke Nishimura <keisuke.nishimura@inria.fr> Reviewed-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Sagi Grimberg <sagi@grimberg.me> Signed-off-by: Keith Busch <kbusch@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions