diff options
author | Heiko Carstens <heiko.carstens@de.ibm.com> | 2010-02-26 16:37:41 -0500 |
---|---|---|
committer | Martin Schwidefsky <sky@mschwide.boeblingen.de.ibm.com> | 2010-02-26 16:37:31 -0500 |
commit | b8e660b83d505148c83ddc6d5ba69c29d0eab1e3 (patch) | |
tree | cd4a679a8bf867bd7b0644292524c5fed64c6d0b /arch/s390/kernel/ipl.c | |
parent | 59b697874529f5c3cbcaf5816b3d6c584af521e8 (diff) |
[S390] Replace ENOTSUPP usage with EOPNOTSUPP
ENOTSUPP is not supposed to leak to userspace so lets just use
EOPNOTSUPP everywhere.
Doesn't fix a bug, but makes future reviews easier.
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'arch/s390/kernel/ipl.c')
-rw-r--r-- | arch/s390/kernel/ipl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/s390/kernel/ipl.c b/arch/s390/kernel/ipl.c index ae9c564e375d..998bde3ec5ea 100644 --- a/arch/s390/kernel/ipl.c +++ b/arch/s390/kernel/ipl.c | |||
@@ -1592,7 +1592,7 @@ static void vmcmd_run(struct shutdown_trigger *trigger) | |||
1592 | static int vmcmd_init(void) | 1592 | static int vmcmd_init(void) |
1593 | { | 1593 | { |
1594 | if (!MACHINE_IS_VM) | 1594 | if (!MACHINE_IS_VM) |
1595 | return -ENOTSUPP; | 1595 | return -EOPNOTSUPP; |
1596 | vmcmd_kset = kset_create_and_add("vmcmd", NULL, firmware_kobj); | 1596 | vmcmd_kset = kset_create_and_add("vmcmd", NULL, firmware_kobj); |
1597 | if (!vmcmd_kset) | 1597 | if (!vmcmd_kset) |
1598 | return -ENOMEM; | 1598 | return -ENOMEM; |