aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tools/perf/scripts/python/call-graph-from-postgresql.py
diff options
context:
space:
mode:
authorKeisuke Nishimura <keisuke.nishimura@inria.fr>2024-12-20 13:00:47 +0100
committerKeith Busch <kbusch@kernel.org>2025-01-10 19:30:46 -0800
commitac32057acc7f3d7a238dafaa9b2aa2bc9750080e (patch)
treeab405442eec0d230a161b65e87a3679e506f919c /tools/perf/scripts/python/call-graph-from-postgresql.py
parentnvme-tcp: Fix I/O queue cpu spreading for multiple controllers (diff)
downloadwireguard-linux-ac32057acc7f3d7a238dafaa9b2aa2bc9750080e.tar.xz
wireguard-linux-ac32057acc7f3d7a238dafaa9b2aa2bc9750080e.zip
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/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions