projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
af53572
)
virtio_pci: fix coding style for structs
author
Michael S. Tsirkin
<mst@redhat.com>
Wed, 3 Dec 2014 14:34:30 +0000
(16:34 +0200)
committer
Michael S. Tsirkin
<mst@redhat.com>
Tue, 9 Dec 2014 19:42:01 +0000
(21:42 +0200)
should be
struct foo {
}
not
struct foo
{
}
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
drivers/virtio/virtio_pci.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/virtio/virtio_pci.c
b/drivers/virtio/virtio_pci.c
index ee1b54c93913264c4d3af53008147fa5e627decd..6f3db1f896545393f555f43abe520f0ed111fb54 100644
(file)
--- a/
drivers/virtio/virtio_pci.c
+++ b/
drivers/virtio/virtio_pci.c
@@
-32,8
+32,7
@@
MODULE_LICENSE("GPL");
MODULE_VERSION("1");
/* Our device structure */
-struct virtio_pci_device
-{
+struct virtio_pci_device {
struct virtio_device vdev;
struct pci_dev *pci_dev;
@@
-72,8
+71,7
@@
enum {
VP_MSIX_VQ_VECTOR = 1,
};
-struct virtio_pci_vq_info
-{
+struct virtio_pci_vq_info {
/* the actual virtqueue */
struct virtqueue *vq;