vdpa: Use kernel coding style for structure comments
authorParav Pandit <parav@nvidia.com>
Tue, 26 Oct 2021 17:55:14 +0000 (20:55 +0300)
committerMichael S. Tsirkin <mst@redhat.com>
Mon, 1 Nov 2021 09:26:49 +0000 (05:26 -0400)
As subsequent patch adds new structure field with comment, move the
structure comment to follow kernel coding style.

Signed-off-by: Parav Pandit <parav@nvidia.com>
Reviewed-by: Eli Cohen <elic@nvidia.com>
Acked-by: Jason Wang <jasowang@redhat.com>
Reviewed-by: Stefano Garzarella <sgarzare@redhat.com>
Link: https://lore.kernel.org/r/20211026175519.87795-4-parav@nvidia.com
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
include/linux/vdpa.h

index 5cc5e501397f2e83a1622b421faf51058da2294a..fafb7202482cd965f2e52c5d3c3e068a2d9a5cc9 100644 (file)
@@ -411,10 +411,17 @@ struct vdpa_mgmtdev_ops {
        void (*dev_del)(struct vdpa_mgmt_dev *mdev, struct vdpa_device *dev);
 };
 
+/**
+ * struct vdpa_mgmt_dev - vdpa management device
+ * @device: Management parent device
+ * @ops: operations supported by management device
+ * @id_table: Pointer to device id table of supported ids
+ * @list: list entry
+ */
 struct vdpa_mgmt_dev {
        struct device *device;
        const struct vdpa_mgmtdev_ops *ops;
-       const struct virtio_device_id *id_table; /* supported ids */
+       const struct virtio_device_id *id_table;
        struct list_head list;
 };