Files
Martin Wilck 6ea54af909 scsi: scsi_devinfo: cleanly zero-pad devinfo strings
commit 81df022b68 upstream.

Cleanly fill memory for "vendor" and "model" with 0-bytes for the
"compatible" case rather than adding only a single 0 byte.  This
simplifies the devinfo code a a bit, and avoids mistakes in other places
of the code (not in current upstream, but we had one such mistake in the
SUSE kernel).

[mkp: applied by hand and added braces]

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-12-08 13:03:38 +01:00
..
2018-12-08 13:03:35 +01:00
2017-12-25 14:26:25 +01:00
2018-01-02 20:31:05 +01:00
…
…
…
…
…
…
2017-08-25 17:21:11 -04:00
…
…
2017-08-24 22:29:06 -04:00
…
…
2018-08-15 18:12:47 +02:00
2017-08-25 17:21:10 -04:00
…
…
…
…
…
2017-08-25 17:21:11 -04:00
…
…
…
2017-04-13 13:58:20 -04:00
…
2017-09-07 12:12:43 -07:00
…
…
2017-08-08 11:49:51 -04:00
2017-04-26 18:32:29 -04:00
…
…