diff options
| author | Nitin Gupta <ngupta@vflare.org> | 2010-01-28 21:13:40 +0530 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-03-03 16:42:53 -0800 |
| commit | de1a21a0f1f614dac0d8cacc13f41e32a15bba98 (patch) | |
| tree | cc0704e2d83953e5fbe167b786fe97c72c827570 /tools/perf/scripts/python | |
| parent | 5d83d5a0b5ee332b724978d657c0af17f14e807e (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/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
