Commit 403ecd63 authored by Tim Sell's avatar Tim Sell Committed by Greg Kroah-Hartman

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: default avatarTim Sell <Timothy.Sell@unisys.com>
Signed-off-by: default avatarDavid Kershner <david.kershner@unisys.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent e1834bd0
...@@ -1087,9 +1087,9 @@ static int visorhba_probe(struct visor_device *dev) ...@@ -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 =
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment