commit | ba69ead9e9e9bb3cec5faf03526c36764ac8942a | [log] [tgz] |
---|---|---|
author | Martin Wilck <mwilck@suse.com> | Mon Nov 27 23:47:34 2017 +0100 |
committer | Martin K. Petersen <martin.petersen@oracle.com> | Mon Dec 04 21:54:28 2017 -0500 |
tree | 4553dcde881ffec4df460f6a56c7cefb1b83a5ee | |
parent | 45349821ab3a8d378b8f37e52c6fe1aa1b870c47 [diff] |
scsi: scsi_devinfo: handle non-terminated strings devinfo->vendor and devinfo->model aren't necessarily zero-terminated. Fixes: b8018b973c7c "scsi_devinfo: fixup string compare" Signed-off-by: Martin Wilck <mwilck@suse.com> Reviewed-by: Bart Van Assche <bart.vanassche@wdc.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>