mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-25 21:24:08 +08:00
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>
This commit is contained in:
parent
388b74d3a9
commit
6228c2a51e
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user