diff options
Diffstat (limited to 'arch/s390/hypfs/hypfs_diag.c')
-rw-r--r-- | arch/s390/hypfs/hypfs_diag.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/s390/hypfs/hypfs_diag.c b/arch/s390/hypfs/hypfs_diag.c index 2b92d501425f..87cf523192e9 100644 --- a/arch/s390/hypfs/hypfs_diag.c +++ b/arch/s390/hypfs/hypfs_diag.c | |||
@@ -488,7 +488,7 @@ out: | |||
488 | 488 | ||
489 | static int diag224(void *ptr) | 489 | static int diag224(void *ptr) |
490 | { | 490 | { |
491 | int rc = -ENOTSUPP; | 491 | int rc = -EOPNOTSUPP; |
492 | 492 | ||
493 | asm volatile( | 493 | asm volatile( |
494 | " diag %1,%2,0x224\n" | 494 | " diag %1,%2,0x224\n" |
@@ -507,7 +507,7 @@ static int diag224_get_name_table(void) | |||
507 | return -ENOMEM; | 507 | return -ENOMEM; |
508 | if (diag224(diag224_cpu_names)) { | 508 | if (diag224(diag224_cpu_names)) { |
509 | kfree(diag224_cpu_names); | 509 | kfree(diag224_cpu_names); |
510 | return -ENOTSUPP; | 510 | return -EOPNOTSUPP; |
511 | } | 511 | } |
512 | EBCASC(diag224_cpu_names + 16, (*diag224_cpu_names + 1) * 16); | 512 | EBCASC(diag224_cpu_names + 16, (*diag224_cpu_names + 1) * 16); |
513 | return 0; | 513 | return 0; |