Tag: eea7c7036e73f661accf297e4b1630f0a48e611e

staging: slicoss: free IO remapping on failure

Author: Kristina Martšenko <kristina.martsenko@gmail.com> Make sure iounmap is always called after ioremap when module loading fails. Also remove a call to release_mem_region because that region is never reserved in the first place. Fixes the following issue reported by Coccinelle: drivers/staging/slicoss/slicoss.c:3727:1-7: ERROR: missing iounmap; ioremap on line 3661 and execution via conditional on line 3677 Signed-off-by: …

Continue reading