linux-stable/drivers/media/usb
Hans Verkuil 3ae5c3bc07 media: gspca/gl860-mi1320/ov9655: avoid -Wstring-concatenation warning
Newer clang versions are suspicious of definitions that mix concatenated
strings with comma-separated arrays of strings, this has found real bugs
elsewhere, but this seems to be a false positive:

drivers/media/usb/gspca/gl860/gl860-mi1320.c:62:37: error: suspicious concatenation of string literals in an array initialization; did you
mean to separate the elements with a comma? [-Werror,-Wstring-concatenation]
        "\xd3\x02\xd4\x28\xd5\x01\xd0\x02" "\xd1\x18\xd2\xc1"
                                           ^
                                          ,
drivers/media/usb/gspca/gl860/gl860-mi1320.c:62:2: note: place parentheses around the string literal to silence warning
        "\xd3\x02\xd4\x28\xd5\x01\xd0\x02" "\xd1\x18\xd2\xc1"

Replace the string literals by compound initializers, using normal hex numbers.

Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Reported-by: Arnd Bergmann <arnd@arndb.de>
Reviewed-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
2021-10-19 08:08:38 +01:00
..
airspy media: usb: airspy: clean the freed pointer and counter 2021-09-30 10:07:54 +02:00
as102
au0828 media: au0828: fix a NULL vs IS_ERR() check 2021-06-02 13:30:28 +02:00
b2c2 media: flexcop: avoid -Wempty-body warning 2021-04-09 13:05:01 +02:00
cpia2 media: usb: cpia2: Fixed Coding Style issues 2021-06-17 10:22:33 +02:00
cx231xx media: cx231xx/cx231xx.h: Remove repeated struct declaration 2021-04-06 16:10:19 +02:00
dvb-usb media: usb: dvd-usb: fix uninit-value bug in dibusb_read_eeprom_byte() 2021-10-08 13:54:43 +02:00
dvb-usb-v2 media: mxl111sf: change mutex_init() location 2021-09-30 10:08:01 +02:00
em28xx media: em28xx: Don't use ops->suspend if it is NULL 2021-10-05 09:38:18 +02:00
go7007 media: go7007: remove redundant initialization 2021-07-22 14:01:54 +02:00
gspca media: gspca/gl860-mi1320/ov9655: avoid -Wstring-concatenation warning 2021-10-19 08:08:38 +01:00
hackrf media: rtl2832_sdr/vivid/airspy/hackrf/msi2500: drop memset of fmt.sdr.reserved 2021-05-19 09:51:39 +02:00
hdpvr
msi2500 media: rtl2832_sdr/vivid/airspy/hackrf/msi2500: drop memset of fmt.sdr.reserved 2021-05-19 09:51:39 +02:00
pvrusb2 media: pvrusb2: Replaced simple_strtol() with kstrtoint() 2021-09-30 10:07:53 +02:00
pwc treewide: remove editor modelines and cruft 2021-05-07 00:26:34 -07:00
s2255 media: s2255drv: remove redundant assignment to variable field 2021-05-19 09:51:39 +02:00
siano
stk1160
stkwebcam media: usb: stkwebcam: Update the reference count of the usb device structure 2021-09-30 10:07:58 +02:00
tm6000 media: tm6000: Avoid card name truncation 2021-09-30 10:08:00 +02:00
ttusb-budget media: dvb-ttusb-budget: cleanup printk logic 2020-09-03 11:15:47 +02:00
ttusb-dec media: ttusb-dec: avoid release of non-acquired mutex 2021-09-30 10:07:40 +02:00
usbtv media updates for v5.13-rc1 2021-04-28 09:24:36 -07:00
uvc media: uvcvideo: Don't spam the log in uvc_ctrl_restore_values() 2021-09-30 10:07:48 +02:00
zr364xx media: zr364xx: fix memory leak in zr364xx_start_readpipe 2021-06-02 13:35:15 +02:00
Kconfig media: move ttpci-eeprom to common 2021-06-02 11:16:15 +02:00
Makefile