summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/aha152x.c
diff options
context:
space:
mode:
authorShawn.Shao <shawn.shao@jaguarmicro.com>2023-08-21 14:03:33 +0800
committerMichael S. Tsirkin <mst@redhat.com>2023-10-18 11:28:47 -0400
commitd121df789b159e9a8ee770666f210975a81e8111 (patch)
tree99af848b139ca46ba3b5124d33ec15dcfe03ea7e /drivers/scsi/aha152x.c
parente07744b43d3ad10b040f0ec464b6323ca96903d6 (diff)
downloadlinux-stable-d121df789b159e9a8ee770666f210975a81e8111.tar.gz
linux-stable-d121df789b159e9a8ee770666f210975a81e8111.tar.bz2
linux-stable-d121df789b159e9a8ee770666f210975a81e8111.zip
vdpa_sim_blk: Fix the potential leak of mgmt_dev
If the shared_buffer allocation fails, need to unregister mgmt_dev first. Cc: stable@vger.kernel.org Fixes: abebb16254b36 ("vdpa_sim_blk: support shared backend") Signed-off-by: Shawn.Shao <shawn.shao@jaguarmicro.com> Acked-by: Jason Wang <jasowang@redhat.com> Message-Id: <20230821060333.1155-1-shawn.shao@jaguarmicro.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'drivers/scsi/aha152x.c')
0 files changed, 0 insertions, 0 deletions