diff options
-rw-r--r-- | drivers/remoteproc/remoteproc_virtio.c | 12 | ||||
-rw-r--r-- | include/linux/remoteproc.h | 2 |
2 files changed, 7 insertions, 7 deletions
diff --git a/drivers/remoteproc/remoteproc_virtio.c b/drivers/remoteproc/remoteproc_virtio.c index cc91556313e1..62cffe92e40d 100644 --- a/drivers/remoteproc/remoteproc_virtio.c +++ b/drivers/remoteproc/remoteproc_virtio.c | |||
@@ -69,7 +69,7 @@ irqreturn_t rproc_vq_interrupt(struct rproc *rproc, int notifyid) | |||
69 | EXPORT_SYMBOL(rproc_vq_interrupt); | 69 | EXPORT_SYMBOL(rproc_vq_interrupt); |
70 | 70 | ||
71 | static struct virtqueue *rp_find_vq(struct virtio_device *vdev, | 71 | static struct virtqueue *rp_find_vq(struct virtio_device *vdev, |
72 | unsigned id, | 72 | unsigned int id, |
73 | void (*callback)(struct virtqueue *vq), | 73 | void (*callback)(struct virtqueue *vq), |
74 | const char *name) | 74 | const char *name) |
75 | { | 75 | { |
@@ -144,7 +144,7 @@ static void rproc_virtio_del_vqs(struct virtio_device *vdev) | |||
144 | __rproc_virtio_del_vqs(vdev); | 144 | __rproc_virtio_del_vqs(vdev); |
145 | } | 145 | } |
146 | 146 | ||
147 | static int rproc_virtio_find_vqs(struct virtio_device *vdev, unsigned nvqs, | 147 | static int rproc_virtio_find_vqs(struct virtio_device *vdev, unsigned int nvqs, |
148 | struct virtqueue *vqs[], | 148 | struct virtqueue *vqs[], |
149 | vq_callback_t *callbacks[], | 149 | vq_callback_t *callbacks[], |
150 | const char * const names[]) | 150 | const char * const names[]) |
@@ -239,8 +239,8 @@ static int rproc_virtio_finalize_features(struct virtio_device *vdev) | |||
239 | return 0; | 239 | return 0; |
240 | } | 240 | } |
241 | 241 | ||
242 | static void rproc_virtio_get(struct virtio_device *vdev, unsigned offset, | 242 | static void rproc_virtio_get(struct virtio_device *vdev, unsigned int offset, |
243 | void *buf, unsigned len) | 243 | void *buf, unsigned int len) |
244 | { | 244 | { |
245 | struct rproc_vdev *rvdev = vdev_to_rvdev(vdev); | 245 | struct rproc_vdev *rvdev = vdev_to_rvdev(vdev); |
246 | struct fw_rsc_vdev *rsc; | 246 | struct fw_rsc_vdev *rsc; |
@@ -257,8 +257,8 @@ static void rproc_virtio_get(struct virtio_device *vdev, unsigned offset, | |||
257 | memcpy(buf, cfg + offset, len); | 257 | memcpy(buf, cfg + offset, len); |
258 | } | 258 | } |
259 | 259 | ||
260 | static void rproc_virtio_set(struct virtio_device *vdev, unsigned offset, | 260 | static void rproc_virtio_set(struct virtio_device *vdev, unsigned int offset, |
261 | const void *buf, unsigned len) | 261 | const void *buf, unsigned int len) |
262 | { | 262 | { |
263 | struct rproc_vdev *rvdev = vdev_to_rvdev(vdev); | 263 | struct rproc_vdev *rvdev = vdev_to_rvdev(vdev); |
264 | struct fw_rsc_vdev *rsc; | 264 | struct fw_rsc_vdev *rsc; |
diff --git a/include/linux/remoteproc.h b/include/linux/remoteproc.h index 1c457a8dd5a6..f575f1ba42a1 100644 --- a/include/linux/remoteproc.h +++ b/include/linux/remoteproc.h | |||
@@ -435,7 +435,7 @@ struct rproc { | |||
435 | struct idr notifyids; | 435 | struct idr notifyids; |
436 | int index; | 436 | int index; |
437 | struct work_struct crash_handler; | 437 | struct work_struct crash_handler; |
438 | unsigned crash_cnt; | 438 | unsigned int crash_cnt; |
439 | struct completion crash_comp; | 439 | struct completion crash_comp; |
440 | bool recovery_disabled; | 440 | bool recovery_disabled; |
441 | int max_notifyid; | 441 | int max_notifyid; |