diff options
author | Michael Holzheu <[email protected]> | 2014-02-24 14:30:00 +0100 |
---|---|---|
committer | Martin Schwidefsky <[email protected]> | 2014-02-24 17:13:57 +0100 |
commit | 9499934f70deac0cdb96aa2d90f2a0a2de69d80c (patch) | |
tree | 99c6c2ed6f42c4f463a2c97d985c859c3803207e /include/linux/fpga/fpga-mgr.h | |
parent | 322986ca64d170abb343763640763f3d7933bb69 (diff) |
s390/sclp_early: Return correct HSA block count also for zero
Currently we return a negative block count if SCLP returns HSA block
count zero. The reason is that we subtract one for the header page.
So fix this and correctly return zero block count if SCLP returns zero.
Signed-off-by: Michael Holzheu <[email protected]>
Signed-off-by: Martin Schwidefsky <[email protected]>
Diffstat (limited to 'include/linux/fpga/fpga-mgr.h')
0 files changed, 0 insertions, 0 deletions