diff options
| author | Himanshu Madhani <himanshu.madhani@cavium.com> | 2018-09-28 11:02:38 -0700 |
|---|---|---|
| committer | Martin K. Petersen <martin.petersen@oracle.com> | 2018-09-28 16:05:07 -0400 |
| commit | ef801f07e7b3cc1786d8ab1b4fdf069cc2a136d2 (patch) | |
| tree | 21462bf51ce497bf088984f927c6309692600421 /tools | |
| parent | 6b0e87a6aafe12d75c2bea6fc8e49e88b98b3083 (diff) | |
| download | cachepc-linux-ef801f07e7b3cc1786d8ab1b4fdf069cc2a136d2.tar.gz cachepc-linux-ef801f07e7b3cc1786d8ab1b4fdf069cc2a136d2.zip | |
scsi: qla2xxx: Return switch command on a timeout
This patch fixes commit bcc71cc3cde1 ("scsi: qla2xxx: Fix for double
free of SRB structure") which placed code in wrong routines.
Also updated the use of WARN_ON() to WARN_ON_ONCE() to prevent
flooding log messages.
Fixes: bcc71cc3cde1 ("scsi: qla2xxx: Fix for double free of SRB structure")
Signed-off-by: Himanshu Madhani <himanshu.madhani@cavium.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions
