Skip to contentSkip to conversation

dvb-usb: Make prototypes match

PATCH New Andi Kleen 1 participant 1 message Apr 25, 2021 Media (V4L/DVB)

lore
Share & tools
lore

Andi Kleen

author
#0 lore raw

PATCH 1/1 dvb-usb: Make prototypes match

From: Andi Kleen <[email protected]>

gcc 11 complains when arrays in prototypes do not match the function. Fix this here.

Cc Mauro Carvalho Chehab <[email protected]>
---
 drivers/media/usb/dvb-usb/dvb-usb.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/media/usb/dvb-usb/dvb-usb.h +1 -1
index 741be0e69447..2b8ad2bde8a4 100644
@@ -487,7 +487,7 @@ extern int __must_check
 dvb_usb_generic_write(struct dvb_usb_device *, u8 *, u16);
 
 /* commonly used remote control parsing */
-extern int dvb_usb_nec_rc_key_to_event(struct dvb_usb_device *, u8[], u32 *, int *);
+extern int dvb_usb_nec_rc_key_to_event(struct dvb_usb_device *, u8[5], u32 *, int *);
 
 /* commonly used firmware download types and function */
 struct hexline {
Signature · 1 line
2.25.4