Quantcast
Channel: Linux Device Hacking
Viewing all articles
Browse latest Browse all 3247

moi+_r8168_revisited (no replies)

$
0
0
Hi bodhi,

updated to 6.17.7, headers, kirkwood-moi-plus.tdb.
latest u-boot update - Nov. 2024, since then not updated.

Please see dkms log:

DKMS make.log for r8168-8.051.02 for kernel 6.17.7-kirkwood-tld-1 (armv5tel)
Wed Dec 31 05:56:07 PST 2025
make: Entering directory '/usr/src/linux-headers-6.17.7-kirkwood-tld-1'
make[1]: Entering directory '/var/lib/dkms/r8168/8.051.02/build'
  CC [M]  r8168_n.o
r8168_n.c:2110:5: warning: no previous prototype for 'mdio_real_read' [-Wmissing-prototypes]
 2110 | u32 mdio_real_read(struct rtl8168_private *tp,
      |     ^~~~~~~~~~~~~~
r8168_n.c: In function 'rtl8168_get_drvinfo':
r8168_n.c:5229:17: error: implicit declaration of function 'strlcpy'; did you mean 'strncpy'? [-Werror=implicit-function-declaration]
 5229 |                 strlcpy(info->fw_version, rtl_fw->version,
      |                 ^~~~~~~
      |                 strncpy
r8168_n.c: At top level:
r8168_n.c:6888:20: error: initialization of 'int (*)(struct net_device *, struct ethtool_keee *)' from incompatible pointer type 'int (*)(struct net_device *, struct ethtool_eee *)' [-Werror=incompatible-pointer-types]
 6888 |         .get_eee = rtl_ethtool_get_eee,
      |                    ^~~~~~~~~~~~~~~~~~~
r8168_n.c:6888:20: note: (near initialization for 'rtl8168_ethtool_ops.get_eee')
r8168_n.c:6889:20: error: initialization of 'int (*)(struct net_device *, struct ethtool_keee *)' from incompatible pointer type 'int (*)(struct net_device *, struct ethtool_eee *)' [-Werror=incompatible-pointer-types]
 6889 |         .set_eee = rtl_ethtool_set_eee,
      |                    ^~~~~~~~~~~~~~~~~~~
r8168_n.c:6889:20: note: (near initialization for 'rtl8168_ethtool_ops.set_eee')
r8168_n.c: In function 'rtl8168_delete_esd_timer':
r8168_n.c:24642:9: error: implicit declaration of function 'del_timer_sync'; did you mean 'dev_mc_sync'? [-Werror=implicit-function-declaration]
24642 |         del_timer_sync(timer);
      |         ^~~~~~~~~~~~~~
      |         dev_mc_sync
r8168_n.c: In function 'rtl8168_esd_timer':
r8168_n.c:26671:38: error: implicit declaration of function 'from_timer'; did you mean 'mod_timer'? [-Werror=implicit-function-declaration]
26671 |         struct rtl8168_private *tp = from_timer(tp, t, esd_timer);
      |                                      ^~~~~~~~~~
      |                                      mod_timer
r8168_n.c:26671:56: error: 'esd_timer' undeclared (first use in this function); did you mean 'add_timer'?
26671 |         struct rtl8168_private *tp = from_timer(tp, t, esd_timer);
      |                                                        ^~~~~~~~~
      |                                                        add_timer
r8168_n.c:26671:56: note: each undeclared identifier is reported only once for each function it appears in
r8168_n.c: In function 'rtl8168_link_timer':
r8168_n.c:26852:56: error: 'link_timer' undeclared (first use in this function)
26852 |         struct rtl8168_private *tp = from_timer(tp, t, link_timer);
      |                                                        ^~~~~~~~~~
r8168_n.c: In function 'r8168_csum_workaround':
r8168_n.c:29208:24: error: implicit declaration of function 'skb_gso_segment'; did you mean 'skb_gso_reset'? [-Werror=implicit-function-declaration]
29208 |                 segs = skb_gso_segment(skb, features);
      |                        ^~~~~~~~~~~~~~~
      |                        skb_gso_reset
r8168_n.c:29208:22: warning: assignment to 'struct sk_buff *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
29208 |                 segs = skb_gso_segment(skb, features);
      |                      ^
cc1: some warnings being treated as errors
make[3]: *** [/usr/src/linux-headers-6.17.7-kirkwood-tld-1/scripts/Makefile.build:287: r8168_n.o] Error 1
make[2]: *** [/usr/src/linux-headers-6.17.7-kirkwood-tld-1/Makefile:2011: .] Error 2
make[1]: *** [/usr/src/linux-headers-6.17.7-kirkwood-tld-1/Makefile:248: __sub-make] Error 2
make[1]: Leaving directory '/var/lib/dkms/r8168/8.051.02/build'
make: *** [Makefile:248: __sub-make] Error 2
make: Leaving directory '/usr/src/linux-headers-6.17.7-kirkwood-tld-1'

Regards,
alex

Viewing all articles
Browse latest Browse all 3247

Trending Articles