diff options
author | Sebastian Ott <sebott@linux.vnet.ibm.com> | 2016-06-21 12:33:30 +0200 |
---|---|---|
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2016-07-15 14:31:58 +0200 |
commit | 6228c2a51edccf3e01fc4db065aac91b4cafdc76 (patch) | |
tree | 6d47de393e7625518e40cb8de87409d492931238 | |
parent | 388b74d3a9f76abd349fe0b7ed8c58f88647111d (diff) | |
download | linux-stable-6228c2a51edccf3e01fc4db065aac91b4cafdc76.tar.gz linux-stable-6228c2a51edccf3e01fc4db065aac91b4cafdc76.tar.bz2 linux-stable-6228c2a51edccf3e01fc4db065aac91b4cafdc76.zip |
s390/chsc: fix ioctl CHSC_INFO_CU command
Via CHSC_INFO_CU we ought to provide userspace with control unit
configuration data. Due to an erroneous request code we trigger the
wrong chsc command. Fix this copy and paste error.
Signed-off-by: Sebastian Ott <sebott@linux.vnet.ibm.com>
Reviewed-by: Cornelia Huck <cornelia.huck@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
-rw-r--r-- | drivers/s390/cio/chsc_sch.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/s390/cio/chsc_sch.c b/drivers/s390/cio/chsc_sch.c index b6f12c2bb114..735052ecd3e5 100644 --- a/drivers/s390/cio/chsc_sch.c +++ b/drivers/s390/cio/chsc_sch.c @@ -552,7 +552,7 @@ static int chsc_ioctl_info_cu(void __user *user_cd) goto out_free; } scucd_area->request.length = 0x0010; - scucd_area->request.code = 0x0028; + scucd_area->request.code = 0x0026; scucd_area->m = cd->m; scucd_area->fmt1 = cd->fmt; scucd_area->cssid = cd->cssid; |