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

From: David Miller
Date: Fri May 22 2020 - 19:20:11 EST


From: wu000273@xxxxxxx
Date: Fri, 22 May 2020 16:50:27 -0500

> From: Qiushi Wu <wu000273@xxxxxxx>
>
> 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@xxxxxxx>

Applied, thank you.