aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/scripts/generate_rust_analyzer.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 /scripts/generate_rust_analyzer.py
parentnvme-pci: fix comment typo (diff)
downloadwireguard-linux-d4a95adeabc6b5a39405e49c6d5ed14dd83682c4.tar.xz
wireguard-linux-d4a95adeabc6b5a39405e49c6d5ed14dd83682c4.zip
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 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions