提交 403ecd63 编写于 作者: T Tim Sell 提交者: 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: NTim Sell <Timothy.Sell@unisys.com>
Signed-off-by: NDavid Kershner <david.kershner@unisys.com>
Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
上级 e1834bd0
......@@ -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 =
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册