diff options
author | Suganath Prabu S <[email protected]> | 2020-11-25 15:18:38 +0530 |
---|---|---|
committer | Martin K. Petersen <[email protected]> | 2020-12-01 00:28:41 -0500 |
commit | 42f687038bcc34aa919e0e4c29b04e4cda3f6a79 (patch) | |
tree | 02338d08835f02da2bd31771cf74dbf83d1858be /tools | |
parent | 3b8c72d076c42bf27284cda7b2b2b522810686f8 (diff) |
scsi: mpt3sas: Fix ioctl timeout
Commit c1a6c5ac4278 ("scsi: mpt3sas: For NVME device, issue a protocol
level reset") modified the ioctl path 'timeout' variable type to u8 from
unsigned long, limiting the maximum timeout value that the driver can
support to 255 seconds.
If the management application is requesting a higher value the resulting
timeout will be zero. The operation times out immediately and the ioctl
request fails.
Change datatype back to unsigned long.
Link: https://lore.kernel.org/r/[email protected]
Fixes: c1a6c5ac4278 ("scsi: mpt3sas: For NVME device, issue a protocol level reset")
Cc: <[email protected]> #v4.18+
Signed-off-by: Suganath Prabu S <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions