diff options
author | Keisuke Nishimura <keisuke.nishimura@inria.fr> | 2024-12-16 18:27:20 +0300 |
---|---|---|
committer | Keith Busch <kbusch@kernel.org> | 2025-01-13 01:11:29 +0300 |
commit | d4a95adeabc6b5a39405e49c6d5ed14dd83682c4 (patch) | |
tree | 61513dd862de05c5c1616790c226b140040659b1 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | e4a0a3058de85bc623f1ba90eec68f239d0a11b2 (diff) | |
download | linux-d4a95adeabc6b5a39405e49c6d5ed14dd83682c4.tar.xz |
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/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions