aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorSreekanth Reddy <[email protected]>2019-09-13 09:04:40 -0400
committerMartin K. Petersen <[email protected]>2019-09-30 22:32:46 -0400
commit782b281883caf70289ba6a186af29441a117d23e (patch)
tree96cdab295583bbf26b09ccf10f420f2305ed040c /tools/perf/scripts/python/bin
parent4bc50dc1afb7b77dfc80a1f8f0742b14d6f6e376 (diff)
scsi: mpt3sas: Fix clear pending bit in ioctl status
When user issues diag register command from application with required size, and if driver unable to allocate the memory, then it will fail the register command. While failing the register command, driver is not currently clearing MPT3_CMD_PENDING bit in ctl_cmds.status variable which was set before trying to allocate the memory. As this bit is set, subsequent register command will be failed with BUSY status even when user wants to register the trace buffer will less memory. Clear MPT3_CMD_PENDING bit in ctl_cmds.status before returning the diag register command with no memory status. Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Sreekanth Reddy <[email protected]> Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions