Commit c7f4c5d
scsi: aic79xx: Fix up NULL command in ahd_done()
Found by smatch.
Fixes: c67e638 ("scsi: aic79xx: Do not reference SCSI command when resetting device")
Reported-by: Dan Carpenter <[email protected]>
Signed-off-by: Hannes Reinecke <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Martin K. Petersen <[email protected]>1 parent 4b1c079 commit c7f4c5d
1 file changed
+4
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1834 | 1834 | | |
1835 | 1835 | | |
1836 | 1836 | | |
1837 | | - | |
| 1837 | + | |
| 1838 | + | |
1838 | 1839 | | |
1839 | 1840 | | |
1840 | 1841 | | |
| |||
1868 | 1869 | | |
1869 | 1870 | | |
1870 | 1871 | | |
1871 | | - | |
| 1872 | + | |
| 1873 | + | |
1872 | 1874 | | |
1873 | 1875 | | |
1874 | 1876 | | |
| |||
0 commit comments