diff options
author | Parav Pandit <[email protected]> | 2021-10-26 20:55:14 +0300 |
---|---|---|
committer | Michael S. Tsirkin <[email protected]> | 2021-11-01 05:26:49 -0400 |
commit | 960deb33be3d08e55a39e40e0286a51c7448e053 (patch) | |
tree | 7ca56375345b923908914bc73dbed8c3650a985b | |
parent | ad69dd0bf26b88ec6ab26f8bbe5cd74fbed7672a (diff) |
vdpa: Use kernel coding style for structure comments
As subsequent patch adds new structure field with comment, move the
structure comment to follow kernel coding style.
Signed-off-by: Parav Pandit <[email protected]>
Reviewed-by: Eli Cohen <[email protected]>
Acked-by: Jason Wang <[email protected]>
Reviewed-by: Stefano Garzarella <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Michael S. Tsirkin <[email protected]>
-rw-r--r-- | include/linux/vdpa.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/include/linux/vdpa.h b/include/linux/vdpa.h index 5cc5e501397f..fafb7202482c 100644 --- a/include/linux/vdpa.h +++ b/include/linux/vdpa.h @@ -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; }; |