mirror of
https://github.com/torvalds/linux.git
synced 2025-11-03 01:59:51 +02:00
gcc-13 notices a type mismatch between function declaration
and definition for a few functions that have been converted
from returning vchiq specific status values to regular error
codes:
drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c:662:5: error: conflicting types for 'vchiq_initialise' due to enum/integer mismatch; have 'int(struct vchiq_instance **)' [-Werror=enum-int-mismatch]
drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c:1411:1: error: conflicting types for 'vchiq_use_internal' due to enum/integer mismatch; have 'int(struct vchiq_state *, struct vchiq_service *, enum USE_TYPE_E)' [-Werror=enum-int-mismatch]
drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c:1468:1: error: conflicting types for 'vchiq_release_internal' due to enum/integer mismatch; have 'int(struct vchiq_state *, struct vchiq_service *)' [-Werror=enum-int-mismatch]
Change the declarations to match the actual function definition.
Fixes:
|
||
|---|---|---|
| .. | ||
| axis-fifo | ||
| board | ||
| emxx_udc | ||
| fbtft | ||
| fieldbus | ||
| gdm724x | ||
| greybus | ||
| iio | ||
| ks7010 | ||
| media | ||
| most | ||
| nvec | ||
| octeon | ||
| olpc_dcon | ||
| pi433 | ||
| qlge | ||
| r8188eu | ||
| rtl8192e | ||
| rtl8192u | ||
| rtl8712 | ||
| rtl8723bs | ||
| rts5208 | ||
| sm750fb | ||
| vc04_services | ||
| vme_user | ||
| vt6655 | ||
| vt6656 | ||
| wlan-ng | ||
| Kconfig | ||
| Makefile | ||