mirror of
https://github.com/torvalds/linux.git
synced 2024-11-18 10:01:43 +00:00
f7ad26ff95
checkpatch.pl wants arrays of strings declared as follows: static const char * const names[] = { "vq-1", "vq-2", "vq-3" }; Currently the find_vqs() function takes a const char *names[] argument so passing checkpatch.pl's const char * const names[] results in a compiler error due to losing the second const. This patch adjusts the find_vqs() prototype and updates all virtio transports. This makes it possible for virtio_balloon.c, virtio_input.c, virtgpu_kms.c, and virtio_rpmsg_bus.c to use the checkpatch.pl-friendly type. Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com> Acked-by: Bjorn Andersson <bjorn.andersson@sonymobile.com> |
||
---|---|---|
.. | ||
da8xx_remoteproc.c | ||
Kconfig | ||
Makefile | ||
omap_remoteproc.c | ||
omap_remoteproc.h | ||
remoteproc_core.c | ||
remoteproc_debugfs.c | ||
remoteproc_elf_loader.c | ||
remoteproc_internal.h | ||
remoteproc_virtio.c | ||
ste_modem_rproc.c | ||
wkup_m3_rproc.c |