summaryrefslogtreecommitdiff
path: root/block
diff options
context:
space:
mode:
authorQiushi Wu <wu000273@umn.edu>2020-05-22 16:50:27 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-06-03 08:12:09 +0200
commit98770df2087a4466abf7008f5ab7c772f4ff7a92 (patch)
treea810dcd6fb8d5a3610957d52b56533c8168fc251 /block
parent702c510f89d7e44aa47f2ef4c945532c278bd8fc (diff)
net: sun: fix missing release regions in cas_init_one().
commit 5a730153984dd13f82ffae93d7170d76eba204e9 upstream. In cas_init_one(), "pdev" is requested by "pci_request_regions", but it was not released after a call of the function “pci_write_config_byte” failed. Thus replace the jump target “err_write_cacheline” by "err_out_free_res". Fixes: 1f26dac32057 ("[NET]: Add Sun Cassini driver.") Signed-off-by: Qiushi Wu <wu000273@umn.edu> Signed-off-by: David S. Miller <davem@davemloft.net> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'block')
0 files changed, 0 insertions, 0 deletions