]> Git Repo - linux.git/commitdiff
rpmsg: virtio: fix compilation warning for virtio_rpmsg_channel description
authorArnaud Pouliquen <[email protected]>
Fri, 31 Jul 2020 07:48:50 +0000 (09:48 +0200)
committerBjorn Andersson <[email protected]>
Tue, 15 Sep 2020 03:48:12 +0000 (03:48 +0000)
Complete the virtio_rpmsg_channel structure description to fix a
compilation warning with W=1 option:

drivers/rpmsg/virtio_rpmsg_bus.c:95: warning: Cannot understand
 * @vrp: the remote processor this channel belongs to

Reviewed-by: Mathieu Poirier <[email protected]>
Signed-off-by: Arnaud Pouliquen <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Bjorn Andersson <[email protected]>
drivers/rpmsg/virtio_rpmsg_bus.c

index 9006fc7f73d09156b46558ff331efe78596c3d88..7d7ed4e5cce7b3d0cb281414f40e4d4694111b6c 100644 (file)
@@ -123,7 +123,12 @@ enum rpmsg_ns_flags {
 };
 
 /**
- * @vrp: the remote processor this channel belongs to
+ * struct virtio_rpmsg_channel - rpmsg channel descriptor
+ * @rpdev: the rpmsg channel device
+ * @vrp: the virtio remote processor device this channel belongs to
+ *
+ * This structure stores the channel that links the rpmsg device to the virtio
+ * remote processor device.
  */
 struct virtio_rpmsg_channel {
        struct rpmsg_device rpdev;
This page took 0.054239 seconds and 4 git commands to generate.