scsi: qla2xxx: check for kstrtol() failure
Martin K. Petersen
AppliedDan,
Quoted 5 lines
The error handling was unintentionally left out so it introduces a Smatch static checker warning:
drivers/scsi/qla2xxx/qla_attr.c:1655qla2x00_port_speed_store()
error: uninitialized symbol 'type'.
Applied to 5.1/scsi-queue, thanks!
Signature · 1 line
Martin K. Petersen Oracle Linux Engineering