alistair23-linux/drivers/staging/slicoss
Kristina Martšenko eea7c7036e 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 <kristina.martsenko@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-03-18 12:11:55 -07:00
..
Kconfig staging: slicoss depends on NET 2011-11-18 15:00:48 -08:00
Makefile
README staging: slicoss: Add MAINTAINERS entry, break README into TODO & README 2014-02-11 12:37:27 -08:00
slic.h Staging: slicoss: Fix line over 80 characters in slic.h 2014-02-27 15:12:12 -08:00
slichw.h staging: slicoss: Fix space-related checkpatch.pl warnings 2013-01-17 13:53:06 -08:00
slicoss.c staging: slicoss: free IO remapping on failure 2014-03-18 12:11:55 -07:00
TODO staging: slicoss: Add MAINTAINERS entry, break README into TODO & README 2014-02-11 12:37:27 -08:00

This driver is supposed to support:

	Mojave cards (single port PCI Gigabit) both copper and fiber
	Oasis cards (single and dual port PCI-x Gigabit) copper and fiber
	Kalahari cards (dual and quad port PCI-e Gigabit) copper and fiber

The driver was actually tested on Oasis and Kalahari cards.