aboutsummaryrefslogtreecommitdiffstats
path: root/lib/mpi/mpicoder.c
diff options
context:
space:
mode:
authorSebastian Ott <[email protected]>2016-06-21 11:59:08 +0000
committerMartin Schwidefsky <[email protected]>2016-07-15 12:32:00 +0000
commitf9773768f10c6af77778df67d6050778de42f120 (patch)
treece9a7843a2fa0ae9238fd0cf88dbeb0858283ff1 /lib/mpi/mpicoder.c
parents390/cio: make fmt1 channel path descriptor optional (diff)
downloadkernel-f9773768f10c6af77778df67d6050778de42f120.tar.gz
kernel-f9773768f10c6af77778df67d6050778de42f120.zip
s390/chsc: sanitize fmt check for chp_desc determination
When fetching channel path descriptors we've only evaluated the rfmt parameter which could lead us to trigger the chsc even though the machine doesn't support the specific format or to not trigger the chsc and report a failure to userspace even though the machine would've supported it. Improve these checks and change the parameters of the in-kernel user to be less confusing. Signed-off-by: Sebastian Ott <[email protected]> Reviewed-by: Peter Oberparleiter <[email protected]> Reviewed-by: Cornelia Huck <[email protected]> Signed-off-by: Martin Schwidefsky <[email protected]>
Diffstat (limited to 'lib/mpi/mpicoder.c')
0 files changed, 0 insertions, 0 deletions