deepin-community / kernel-rolling

Kernel source tree for rolling-stable and mainline releases
Other
2 stars 1 forks source link

【6.9】飞腾 GMAC 驱动 phytmac_validate() 函数依赖已移除的 .validate() 方式 #4

Closed MingcongBai closed 1 week ago

MingcongBai commented 3 weeks ago

针对 6.9 修缮代码后,发现 drivers/net/ethernet/phytium/phytmac_main.c 文件中依然在使用上游已经移除的方式且 phytmac_validate() 需适配后续引入的 .mac_get_caps() 方式

详见:

MingcongBai commented 3 weeks ago

目前已通过回滚移除 .validate() 方式的方式使相关代码成功编译,但后续仍需进行适配

cc @Avenger-285714 @opsiff

opsiff commented 3 weeks ago

acked

opsiff commented 3 weeks ago

不好修改 需要根据链接中类似的提交先进行转换 https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/log/?h=v6.1.96&id=6d386f6613269f53b9d21664e582d22e8cda7505

MingcongBai commented 1 week ago

已通过 https://github.com/deepin-community/kernel-rolling/pull/7 解决,感谢 @opsiff