Commit 86e17a51 authored by Xie Yongji's avatar Xie Yongji Committed by Michael S. Tsirkin

vdpa: Fix some coding style issues

Fix some code indent issues and following checkpatch warning:

WARNING: Prefer 'unsigned int' to bare use of 'unsigned'
371: FILE: include/linux/vdpa.h:371:
+static inline void vdpa_get_config(struct vdpa_device *vdev, unsigned offset,
Signed-off-by: default avatarXie Yongji <xieyongji@bytedance.com>
Acked-by: default avatarJason Wang <jasowang@redhat.com>
Reviewed-by: default avatarStefano Garzarella <sgarzare@redhat.com>
Link: https://lore.kernel.org/r/20210831103634.33-5-xieyongji@bytedance.comSigned-off-by: default avatarMichael S. Tsirkin <mst@redhat.com>
parent 9c930054
...@@ -364,9 +364,9 @@ static inline int vdpa_set_features(struct vdpa_device *vdev, u64 features) ...@@ -364,9 +364,9 @@ static inline int vdpa_set_features(struct vdpa_device *vdev, u64 features)
return ops->set_features(vdev, features); return ops->set_features(vdev, features);
} }
static inline void vdpa_get_config(struct vdpa_device *vdev,
static inline void vdpa_get_config(struct vdpa_device *vdev, unsigned offset, unsigned int offset, void *buf,
void *buf, unsigned int len) unsigned int len)
{ {
const struct vdpa_config_ops *ops = vdev->config; const struct vdpa_config_ops *ops = vdev->config;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment