提交 f913dd45 编写于 作者: M Michael S. Tsirkin

virtio_pci: fix coding style for structs

should be

struct foo {
}

not

struct foo
{
}
Signed-off-by: NMichael S. Tsirkin <mst@redhat.com>
上级 af535722
...@@ -32,8 +32,7 @@ MODULE_LICENSE("GPL"); ...@@ -32,8 +32,7 @@ MODULE_LICENSE("GPL");
MODULE_VERSION("1"); MODULE_VERSION("1");
/* Our device structure */ /* Our device structure */
struct virtio_pci_device struct virtio_pci_device {
{
struct virtio_device vdev; struct virtio_device vdev;
struct pci_dev *pci_dev; struct pci_dev *pci_dev;
...@@ -72,8 +71,7 @@ enum { ...@@ -72,8 +71,7 @@ enum {
VP_MSIX_VQ_VECTOR = 1, VP_MSIX_VQ_VECTOR = 1,
}; };
struct virtio_pci_vq_info struct virtio_pci_vq_info {
{
/* the actual virtqueue */ /* the actual virtqueue */
struct virtqueue *vq; struct virtqueue *vq;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册