Re: [PATCH] net: sun: fix missing release regions in cas_init_one().

2020-05-22 Thread David Miller
From: wu000...@umn.edu Date: Fri, 22 May 2020 16:50:27 -0500 > From: Qiushi Wu > > 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 > "

[PATCH] net: sun: fix missing release regions in cas_init_one().

2020-05-22 Thread wu000273
From: Qiushi Wu 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.")