summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorKeisuke Nishimura <keisuke.nishimura@inria.fr>2024-12-16 16:27:20 +0100
committerKeith Busch <kbusch@kernel.org>2025-01-12 14:11:29 -0800
commitd4a95adeabc6b5a39405e49c6d5ed14dd83682c4 (patch)
tree61513dd862de05c5c1616790c226b140040659b1 /tools/perf/scripts/python/exported-sql-viewer.py
parente4a0a3058de85bc623f1ba90eec68f239d0a11b2 (diff)
nvme: Add error path for xa_store in nvme_init_effects
The xa_store() may fail due to memory allocation failure because there is no guarantee that the index NVME_CSI_NVM is already used. This fix introduces a new function to handle the error path. Fixes: cc115cbe12d9 ("nvme: always initialize known command effects") Signed-off-by: Keisuke Nishimura <keisuke.nishimura@inria.fr> Reviewed-by: Sagi Grimberg <sagi@grimberg.me> Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Keith Busch <kbusch@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions