Arnd Bergmann
d15fd63046
media: dvb-usb-remote: fix dvb_usb_nec_rc_key_to_event type mismatch
...
[ Upstream commit 0fa430e96d3c3561a78701f51fd8593da68b8474 ]
gcc-11 warns about the prototype not exactly matching the function
definition:
drivers/media/usb/dvb-usb/dvb-usb-remote.c:363:20: error: argument 2 of type ‘u8[5]’ {aka ‘unsigned char[5]’} with mismatched bound [-Werror=array-parameter=]
363 | u8 keybuf[5], u32 *event, int *state)
| ~~~^~~~~~~~~
In file included from drivers/media/usb/dvb-usb/dvb-usb-common.h:13,
from drivers/media/usb/dvb-usb/dvb-usb-remote.c:9:
drivers/media/usb/dvb-usb/dvb-usb.h:490:65: note: previously declared as ‘u8[]’ {aka ‘unsigned char[]’}
490 | extern int dvb_usb_nec_rc_key_to_event(struct dvb_usb_device *, u8[], u32 *, int *);
| ^~~~
Fixes: 776338e121b9 ("[PATCH] dvb: Add generalized dvb-usb driver")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Sean Young <sean@mess.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2021-05-22 10:40:25 +02:00
..
2020-12-29 13:44:56 +01:00
2021-05-22 10:40:19 +02:00
2020-10-01 20:40:09 +02:00
2020-10-29 09:05:41 +01:00
2021-05-22 10:40:18 +02:00
2021-05-22 10:40:17 +02:00
2021-05-22 10:40:25 +02:00
2020-02-05 13:05:48 +00:00
2021-05-22 10:40:17 +02:00
2017-01-26 08:24:45 +01:00
2021-05-22 10:40:25 +02:00
2021-05-22 10:40:25 +02:00
2021-03-07 11:25:59 +01:00
2016-08-22 14:04:51 -03:00
2016-09-19 14:37:05 -03:00
2016-09-19 14:36:24 -03:00
2019-08-04 09:33:16 +02:00
2017-07-12 15:01:02 +02:00