1
0
Fork 0

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>
hifive-unleashed-5.1
Tim Sell 2016-05-13 23:17:16 -04:00 committed by Greg Kroah-Hartman
parent e1834bd0f6
commit 403ecd6364
1 changed files with 3 additions and 3 deletions

View File

@ -1087,9 +1087,9 @@ static int visorhba_probe(struct visor_device *dev)
if (err < 0)
goto err_scsi_host_put;
scsihost->max_id = (unsigned)max.max_id;
scsihost->max_lun = (unsigned)max.max_lun;
scsihost->cmd_per_lun = (unsigned)max.cmd_per_lun;
scsihost->max_id = (unsigned int)max.max_id;
scsihost->max_lun = (unsigned int)max.max_lun;
scsihost->cmd_per_lun = (unsigned int)max.cmd_per_lun;
scsihost->max_sectors =
(unsigned short)(max.max_io_size >> 9);
scsihost->sg_tablesize =