android_kernel_oneplus_msm8998/drivers/misc
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
..
altera-stapl
c2port drivers/misc/c2port/c2port-duramar2150.c: checking for NULL instead of IS_ERR() 2017-06-26 07:13:10 +02:00
cb710
cxl cxl: Check if vphb exists before iterating over AFU devices 2017-12-25 14:22:08 +01:00
echo
eeprom eeprom: at24: check at24_read/write arguments 2017-12-05 11:22:51 +01:00
genwqe genwqe: Fix size check 2019-01-13 10:05:33 +01:00
ibmasm ibmasm: don't write out of bounds in read handler 2018-07-17 11:31:42 +02:00
lis3lv02d
mei mei: bus: type promotion bug in mei_nfc_if_version() 2018-09-26 08:35:10 +02:00
mic UPSTREAM: virtio: make find_vqs() checkpatch.pl-friendly 2019-05-14 17:56:52 -07:00
sgi-gru mm: replace get_user_pages() write/force parameters with gup_flags 2018-12-17 21:55:16 +01:00
sgi-xp
ti-st misc: ti-st: Fix memory leak in the error path of probe() 2018-09-19 22:48:57 +02:00
vmw_vmci vmci: type promotion bug in qp_host_get_user_memory() 2018-10-10 08:52:03 +02:00
ad525x_dpot-i2c.c
ad525x_dpot-spi.c
ad525x_dpot.c
ad525x_dpot.h
apds990x.c
apds9802als.c
arm-charlcd.c
atmel-ssc.c misc: atmel-ssc: Fix section annotation on atmel_ssc_get_driver_data 2018-11-27 16:08:02 +01:00
atmel_tclib.c
bh1770glc.c
bh1780gli.c
bmp085-i2c.c
bmp085-spi.c
bmp085.c
bmp085.h
cs5535-mfgpt.c
ds1682.c
dummy-irq.c
enclosure.c scsi: ses: don't get power status of SES device slot on probe 2018-03-22 09:23:24 +01:00
fsa9480.c
hmc6352.c misc: hmc6352: fix potential Spectre v1 2018-09-26 08:35:07 +02:00
hpilo.c
hpilo.h
ics932s401.c
ioc4.c
isl29003.c
isl29020.c
Kconfig uid_sys_stats: log task io with a debug flag 2017-08-16 22:27:05 +00:00
kgdbts.c
lattice-ecp3-config.c
lkdtm.c UPSTREAM: lkdtm: Verify that '__ro_after_init' works correctly 2016-09-23 10:04:19 -07:00
Makefile ANDROID: uid_sys_stats: rename uid_cputime.c to uid_sys_stats.c 2017-03-14 13:07:19 -07:00
memory_state_time.c ANDROID: memory_state_time: fix undefined behavior with missing DT properties 2017-05-12 14:36:34 +02:00
pch_phub.c
phantom.c
pti.c
qcom-coincell.c
spear13xx_pcie_gadget.c
sram.c
ti_dac7512.c
tifm_7xx1.c
tifm_core.c
tsl2550.c tsl2550: fix lux1_input error in low light 2018-10-10 08:52:03 +02:00
uid_sys_stats.c ANDROID: uid_sys_stats: Copy task_struct comm field to bigger buffer 2018-12-13 10:24:43 -08:00
vexpress-syscfg.c misc: vexpress: Off by one in vexpress_syscfg_exec() 2019-02-20 10:13:18 +01:00
vmw_balloon.c vmw_balloon: include asm/io.h 2018-09-19 22:48:59 +02:00