WSL2-Linux-Kernel/drivers/media/usb/gspca
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
..
gl860 media: gspca/gl860-mi1320/ov9655: avoid -Wstring-concatenation warning 2021-10-19 08:08:38 +01:00
m5602 media: m5602_ov7660: remove the repeated declaration 2021-09-30 10:07:44 +02:00
stv06xx
Kconfig media: gspca: Drop default m 2021-07-12 09:16:30 +02:00
Makefile
autogain_functions.c
benq.c
conex.c
cpia1.c media: drivers/media/usb/gspca/cpia1.c : fix spelling typo 2021-06-02 14:07:37 +02:00
dtcs033.c
etoms.c
finepix.c
gspca.c media: gspca: Limit frame size to sizeimage. 2021-09-30 10:07:56 +02:00
gspca.h
jeilinj.c
jl2005bcd.c
jpeg.h
kinect.c
konica.c
mars.c
mr97310a.c
nw80x.c
ov519.c media: gspca: ov519: replace RIGHT SINGLE QUOTATION MARK 2021-06-04 08:08:40 +02:00
ov534.c
ov534_9.c
pac207.c
pac7302.c
pac7311.c
pac_common.h
se401.c
se401.h
sn9c20x.c media: gspca/sn9c20x: Add ability to control built-in webcam LEDs 2021-09-30 10:07:39 +02:00
sn9c2028.c
sn9c2028.h
sonixb.c
sonixj.c
spca500.c
spca501.c
spca505.c
spca506.c
spca508.c
spca561.c
spca1528.c
sq905.c media: gspca/sq905: fix control-request direction 2021-06-02 14:10:25 +02:00
sq905c.c
sq930x.c
stk014.c
stk1135.c
stk1135.h
stv0680.c
sunplus.c media: gspca/sunplus: fix zero-length control requests 2021-06-02 14:15:01 +02:00
t613.c
topro.c
touptek.c
tv8532.c
vc032x.c media: drivers/media/usb/gspca: fix typo Fliker -> Flicker 2021-07-12 09:16:33 +02:00
vicam.c
w996Xcf.c
xirlink_cit.c
zc3xx-reg.h
zc3xx.c media: drivers/media/usb/gspca: fix typo Fliker -> Flicker 2021-07-12 09:16:33 +02:00