Commit 1700714
committed
scsi: sd: sd_read_cpr() requires VPD pages
As such it should be called inside the scsi_device_supports_vpd()
conditional.
Link: https://lore.kernel.org/r/20220302053559.32147-13-martin.petersen@oracle.com
Fixes: e815d36 ("scsi: sd: add concurrent positioning ranges support")
Cc: Damien Le Moal <damien.lemoal@wdc.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Damien Le Moal <damien.lemoal@opensource.wdc.com>
Reviewed-by: Bart Van Assche <bvanassche@acm.org>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>1 parent f61eb12 commit 1700714
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3216 | 3216 | | |
3217 | 3217 | | |
3218 | 3218 | | |
| 3219 | + | |
3219 | 3220 | | |
3220 | 3221 | | |
3221 | 3222 | | |
| |||
3225 | 3226 | | |
3226 | 3227 | | |
3227 | 3228 | | |
3228 | | - | |
3229 | 3229 | | |
3230 | 3230 | | |
3231 | 3231 | | |
| |||
0 commit comments