Commit 8b3c803
scsi: mpt3sas: Signedness bug in _base_get_diag_triggers()
The "trigger_flags" variable needs to be signed for the error checking to
work.
Link: https://lore.kernel.org/r/X9DZH37bYPHwSQRP@mwanda
Fixes: aec93e8 ("scsi: mpt3sas: Add persistent trigger pages support")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>1 parent 52abca6 commit 8b3c803
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5027 | 5027 | | |
5028 | 5028 | | |
5029 | 5029 | | |
5030 | | - | |
| 5030 | + | |
5031 | 5031 | | |
5032 | 5032 | | |
5033 | 5033 | | |
| |||
0 commit comments