summaryrefslogtreecommitdiffstats
path: root/drivers/nvme
diff options
context:
space:
mode:
authorPan Bian2019-04-18 04:27:18 +0200
committerGreg Kroah-Hartman2019-07-26 09:14:09 +0200
commit10cc3a65a55b7b9ae013af32258033052ffd8701 (patch)
tree1fcc32a0309cf2f04fefafaa05da4518fa1eb0d6 /drivers/nvme
parentACPICA: Clear status of GPEs on first direct enable (diff)
downloadkernel-qcow2-linux-10cc3a65a55b7b9ae013af32258033052ffd8701.tar.gz
kernel-qcow2-linux-10cc3a65a55b7b9ae013af32258033052ffd8701.tar.xz
kernel-qcow2-linux-10cc3a65a55b7b9ae013af32258033052ffd8701.zip
EDAC/sysfs: Fix memory leak when creating a csrow object
[ Upstream commit 585fb3d93d32dbe89e718b85009f9c322cc554cd ] In edac_create_csrow_object(), the reference to the object is not released when adding the device to the device hierarchy fails (device_add()). This may result in a memory leak. Signed-off-by: Pan Bian <bianpan2016@163.com> Signed-off-by: Borislav Petkov <bp@suse.de> Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Cc: James Morse <james.morse@arm.com> Cc: Mauro Carvalho Chehab <mchehab@kernel.org> Cc: linux-edac <linux-edac@vger.kernel.org> Link: https://lkml.kernel.org/r/1555554438-103953-1-git-send-email-bianpan2016@163.com Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'drivers/nvme')
0 files changed, 0 insertions, 0 deletions