aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/fpga/altera-fpga2sdram.c
diff options
context:
space:
mode:
authortang.junhui <[email protected]>2016-10-28 07:54:07 +0000
committerMartin K. Petersen <[email protected]>2016-11-01 17:31:08 +0000
commit1fdd14279eab2e9f79745631379f0c53cb8f9a5a (patch)
treeda02b1bf7fd2fa61cbfe6cd4cf8d25bd04b2c1ba /drivers/fpga/altera-fpga2sdram.c
parentscsi: arcmsr: Send SYNCHRONIZE_CACHE command to firmware (diff)
downloadkernel-1fdd14279eab2e9f79745631379f0c53cb8f9a5a.tar.gz
kernel-1fdd14279eab2e9f79745631379f0c53cb8f9a5a.zip
scsi: scsi_dh_alua: fix missing kref_put() in alua_rtpg_work()
Reference count of pg leaks in alua_rtpg_work() since kref_put() is not called to decrease the reference count of pg when the condition pg->rtpg_sdev==NULL satisfied (actually it is easy to satisfy), it would cause memory of pg leakage. Signed-off-by: tang.junhui <[email protected]> Cc: <[email protected]> Reviewed-by: Hannes Reinecke <[email protected]> Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'drivers/fpga/altera-fpga2sdram.c')
0 files changed, 0 insertions, 0 deletions