提交 232ba762 编写于 作者: H Heinrich Schuchardt 提交者: Tom Rini

virtio: pci: use correct type in virtio_pci_bind()

For printing as %u we should use an unsigned int.
Signed-off-by: NHeinrich Schuchardt <xypron.glpk@gmx.de>
Reviewed-by: NBin Meng <bmeng.cn@gmail.com>
上级 c261fef5
......@@ -277,7 +277,7 @@ static int virtio_pci_notify(struct udevice *udev, struct virtqueue *vq)
static int virtio_pci_bind(struct udevice *udev)
{
static int num_devs;
static unsigned int num_devs;
char name[20];
/* Create a unique device name for PCI type devices */
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册