On 08/23/2017 11:39 PM, Bart Van Assche wrote:
> This patch avoids that smatch reports the following warning:
>
> drivers/scsi/scsi_sysfs.c:117: check_set() error: strncmp() '"-"' too small
> (2 vs 20)
>
> Signed-off-by: Bart Van Assche
> Cc: Christoph Hellwig
Looks fine,
Reviewed-by: Christoph Hellwig
This patch avoids that smatch reports the following warning:
drivers/scsi/scsi_sysfs.c:117: check_set() error: strncmp() '"-"' too small (2
vs 20)
Signed-off-by: Bart Van Assche
Cc: Christoph Hellwig
Cc: Hannes Reinecke
Cc: Johannes
3 matches
Mail list logo