staging: unisys: visorhba: "Prefer 'unsigned int'" checkpatch warnings
This patch fixes a few checkpatch warnings in visorhba: WARNING: Prefer 'unsigned int' to bare use of 'unsigned' Signed-off-by: Tim Sell <Timothy.Sell@unisys.com> Signed-off-by: David Kershner <david.kershner@unisys.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
e1834bd0f6
commit
403ecd6364
|
@ -1087,9 +1087,9 @@ static int visorhba_probe(struct visor_device *dev)
|
||||||
if (err < 0)
|
if (err < 0)
|
||||||
goto err_scsi_host_put;
|
goto err_scsi_host_put;
|
||||||
|
|
||||||
scsihost->max_id = (unsigned)max.max_id;
|
scsihost->max_id = (unsigned int)max.max_id;
|
||||||
scsihost->max_lun = (unsigned)max.max_lun;
|
scsihost->max_lun = (unsigned int)max.max_lun;
|
||||||
scsihost->cmd_per_lun = (unsigned)max.cmd_per_lun;
|
scsihost->cmd_per_lun = (unsigned int)max.cmd_per_lun;
|
||||||
scsihost->max_sectors =
|
scsihost->max_sectors =
|
||||||
(unsigned short)(max.max_io_size >> 9);
|
(unsigned short)(max.max_io_size >> 9);
|
||||||
scsihost->sg_tablesize =
|
scsihost->sg_tablesize =
|
||||||
|
|
Loading…
Reference in a new issue