You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you are using a DisplayLink device, have you checked 'troubleshooting'
on DisplayLink's website?
Is this issue related to evdi/kernel?
Fedora 40
6.10.3-200.fc40.x86_64
n/a
n/a
Latest pull commit eab561a produces error:
/evdi/module/evdi_platform_drv.o
/home/ghester/src/evdi/module/evdi_platform_drv.c:205:19: error: initialization of ‘int (*)(struct platform_device )’ from incompatible pointer type ‘void ()(struct platform_device *)’ [-Wincompatible-pointer-types]
205 | .remove = evdi_platform_device_remove,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/evdi/module/evdi_platform_drv.c:205:19: note: (near initialization for ‘evdi_platform_driver.remove’)
This is because the kernel requires the remove function that returns void. In this case, the remove_new member should be used to receive the function pointer returning void. This is corrected with the following patch:
on DisplayLink's website?
Latest pull commit eab561a produces error:
/evdi/module/evdi_platform_drv.o
/home/ghester/src/evdi/module/evdi_platform_drv.c:205:19: error: initialization of ‘int (*)(struct platform_device )’ from incompatible pointer type ‘void ()(struct platform_device *)’ [-Wincompatible-pointer-types]
205 | .remove = evdi_platform_device_remove,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/evdi/module/evdi_platform_drv.c:205:19: note: (near initialization for ‘evdi_platform_driver.remove’)
This is because the kernel requires the remove function that returns void. In this case, the remove_new member should be used to receive the function pointer returning void. This is corrected with the following patch:
The text was updated successfully, but these errors were encountered: