Summary: | net-misc/r8125-9.013.02-r1 - [ncurses-6.5] /.../r8125_n.c: error: initialization of int ( )(struct net_device , struct ethtool_keee ) from incompatible pointer type | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Toralf Förster <toralf> |
Component: | Current packages | Assignee: | Karlson2k <k2k> |
Status: | CONFIRMED --- | ||
Severity: | normal | CC: | k2k, toralf |
Priority: | Normal | Keywords: | PullRequest |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: | https://github.com/gentoo/gentoo/pull/36949 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
emerge-info.txt
emerge-history.txt.xz environment etc.clang.tar.xz etc.portage.tar.xz net-misc:r8125-9.013.02-r1:20240601-071845.log qlist-info.txt.xz |
Description
Toralf Förster
![]() Created attachment 894851 [details]
emerge-info.txt
Created attachment 894852 [details]
emerge-history.txt.xz
Created attachment 894853 [details]
environment
Created attachment 894854 [details]
etc.clang.tar.xz
Created attachment 894855 [details]
etc.portage.tar.xz
Created attachment 894856 [details]
net-misc:r8125-9.013.02-r1:20240601-071845.log
Created attachment 894857 [details]
qlist-info.txt.xz
This is a correct error. Kernel 6.9 changed format of the structures (one format for the kernel, separate format for userspace). The code need to be adapted accordingly, simple pointer case would be wrong. See https://lore.kernel.org/all/7d82de21-9bde-4f66-99ce-f03ff994ef34@gmail.com/ Probably we "c99-porting" blocking should be removed as this problem is not C99, but the driver compatibility with the kernel. In other words, without the warning/error, this driver would have run-time failures on kernels after 6.9. |