linux/drivers/staging/ramzswap
Nitin Gupta de1a21a0f1 Staging: ramzswap: Return proper error code on device create failure
Currently, we return 0 if create_device() fails and 1 otherwise.
Now, proper error code is returned from create_device() and the
same is propagated as module error code from ramzswap_init().

Also added some cleanups for ramzswap_init(), improving function
structure.

Signed-off-by: Nitin Gupta <ngupta@vflare.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2010-03-03 16:42:53 -08:00
..
Kconfig Staging: ramzswap: Minor spelling fixes 2010-03-03 16:42:38 -08:00
Makefile Staging: virtual block device driver (ramzswap) 2009-12-11 12:23:04 -08:00
ramzswap_drv.c Staging: ramzswap: Return proper error code on device create failure 2010-03-03 16:42:53 -08:00
ramzswap_drv.h Staging: ramzswap: Use lock for 64-bit stats 2010-03-03 16:42:53 -08:00
ramzswap_ioctl.h Staging: ramzswap: Use lock for 64-bit stats 2010-03-03 16:42:53 -08:00
ramzswap.txt Staging: ramzswap: Minor spelling fixes 2010-03-03 16:42:38 -08:00
TODO Staging: ramzswap: remove ARM specific d-cache hack 2009-12-23 11:27:49 -08:00
xvmalloc_int.h Staging: ramzswap: Minor spelling fixes 2010-03-03 16:42:38 -08:00
xvmalloc.c Staging: ramzswap: Minor spelling fixes 2010-03-03 16:42:38 -08:00
xvmalloc.h