From: Kristina Martšenko Date: Tue, 18 Mar 2014 15:05:56 +0000 (+0200) Subject: staging: slicoss: free IO remapping on failure X-Git-Tag: v3.15-rc1~139^2~101 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=eea7c7036e73f661accf297e4b1630f0a48e611e;p=pandora-kernel.git staging: slicoss: free IO remapping on failure 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: Kristina Martšenko Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed