summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorNitin Gupta <ngupta@vflare.org>2010-01-28 21:13:40 +0530
committerGreg Kroah-Hartman <gregkh@suse.de>2010-03-03 16:42:53 -0800
commitde1a21a0f1f614dac0d8cacc13f41e32a15bba98 (patch)
treecc0704e2d83953e5fbe167b786fe97c72c827570 /tools/perf/scripts/python
parent5d83d5a0b5ee332b724978d657c0af17f14e807e (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