diff options
| author | Dan Carpenter <dan.carpenter@oracle.com> | 2017-08-17 17:44:44 +0300 |
|---|---|---|
| committer | Martin K. Petersen <martin.petersen@oracle.com> | 2017-08-25 05:29:08 +0300 |
| commit | 55e1f9f0881e29cf4974ee551aa36d2bca7ab1d6 (patch) | |
| tree | da893a70d53441130eb8a61aaf9882091bea9f39 /include/linux/timerqueue.h | |
| parent | 78453a31d5136cfd8722c111935f6800fa0db0b4 (diff) | |
| download | linux-55e1f9f0881e29cf4974ee551aa36d2bca7ab1d6.tar.xz | |
scsi: hpsa: fix the device_id in hpsa_update_device_info()
The parentheses are in the wrong place so we specify the length as
"sizeof(this_device->device_id) < 0" which is zero.
Fixes: 988b87edd231 ("scsi: hpsa: Ignore errors for unsupported LV_DEVICE_ID VPD page")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Reviewed-by: Hannes Reinecke <hare@suse.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'include/linux/timerqueue.h')
0 files changed, 0 insertions, 0 deletions
