On 6/1/23 13:59, Nico Boehr wrote:
Quoting Janosch Frank (2023-06-01 10:03:06)
On 5/30/23 14:40, Pierre Morel wrote:
If SCLP_CMDW_READ_SCP_INFO fails due to a short buffer, retry
with a greater buffer.
Signed-off-by: Pierre Morel <pmorel@xxxxxxxxxxxxx>
Janosch, I think it makes sense if Pierre picks up Claudios suggestion from here:
https://lore.kernel.org/all/20230530173544.378a63c6@p-imbrenda/
Do you agree?
from my side:
It simplifies greatly the code and tested without problem.
The documentation says the SCCB length is "at least"... so we can use a
greater size from the beginning.