android_kernel_oneplus_msm8998/drivers/remoteproc
Stefan Hajnoczi 9952f731f9 UPSTREAM: virtio: make find_vqs() checkpatch.pl-friendly
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>
(cherry picked from commit f7ad26ff952b3ca2702d7da03aad0ab1f6c01d7c)
Bug: 121166534
Test: Ran cuttlefish with android-4.4 + VSOCKETS, VMWARE_VMCI_VSOCKETS
Signed-off-by: Cody Schuffelen <schuffelen@google.com>
Change-Id: I23513ea85e7a43efd0c604fc4445b301b4f610ba
2019-05-14 17:56:52 -07:00
..
da8xx_remoteproc.c remoteproc/davinci: fix quoted split string checkpatch warning 2015-05-02 11:04:56 +03:00
Kconfig remoteproc/wkup_m3: add a remoteproc driver for TI Wakeup M3 2015-06-17 09:58:08 +03:00
Makefile remoteproc/wkup_m3: add a remoteproc driver for TI Wakeup M3 2015-06-17 09:58:08 +03:00
omap_remoteproc.c remoteproc: add IOMMU hardware capability flag 2015-03-12 10:43:26 +02:00
omap_remoteproc.h
remoteproc_core.c remoteproc: Fix potential race condition in rproc_add 2016-08-20 18:09:20 +02:00
remoteproc_debugfs.c remoteproc: avoid stack overflow in debugfs file 2015-11-26 10:07:53 +02:00
remoteproc_elf_loader.c
remoteproc_internal.h remoteproc: fix various checkpatch warnings 2015-05-02 11:07:34 +03:00
remoteproc_virtio.c UPSTREAM: virtio: make find_vqs() checkpatch.pl-friendly 2019-05-14 17:56:52 -07:00
ste_modem_rproc.c remoteproc/ste: add blank lines after declarations 2015-05-02 11:03:07 +03:00
wkup_m3_rproc.c remoteproc/wkup_m3: add a remoteproc driver for TI Wakeup M3 2015-06-17 09:58:08 +03:00