diff options
| author | 2010-01-28 21:13:40 +0530 | |
|---|---|---|
| committer | 2010-03-03 16:42:53 -0800 | |
| commit | de1a21a0f1f614dac0d8cacc13f41e32a15bba98 (patch) | |
| tree | cc0704e2d83953e5fbe167b786fe97c72c827570 /tools/lib/python/kdoc/python_version.py | |
| parent | Staging: ramzswap: Set block size to PAGE_SIZE (diff) | |
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>
Diffstat (limited to 'tools/lib/python/kdoc/python_version.py')
0 files changed, 0 insertions, 0 deletions
