ERROR: modpost: "__delay" [drivers/net/mdio/mdio-cavium.ko] undefined!
kernel test robot
build botHi Andrew,
First bad commit (maybe != root cause):
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: fd0584d220fe285dc45be43eede55df89ad6a3d9 commit: a9770eac511ad82390b9f4a3c1728e078c387ac7 net: mdio: Move MDIO drivers into a new subdirectory date: 4 years, 4 months ago config: sh-randconfig-001-20241212 (https://download.01.org/0day-ci/archive/20241228/[email protected]/config) compiler: sh4-linux-gcc (GCC) 12.4.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20241228/[email protected]/reproduce)
If you fix the issue in a separate patch/commit (i.e. not just a new version of the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <[email protected]>
| Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/
All errors (new ones prefixed by >>, old ones prefixed by <<):
>> ERROR: modpost: "__delay" [drivers/net/mdio/mdio-cavium.ko] undefined!
Signature · 2 lines
0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki
Hi Kernel Test Robot,
Quoted 10 lines · kernel test robot
First bad commit (maybe != root cause):
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: fd0584d220fe285dc45be43eede55df89ad6a3d9 commit: a9770eac511ad82390b9f4a3c1728e078c387ac7 net: mdio: Move MDIO drivers into a new subdirectory date: 4 years, 4 months ago config: sh-randconfig-001-20241212 (https://download.01.org/0day-ci/archive/20241228/[email protected]/config) compiler: sh4-linux-gcc (GCC) 12.4.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20241228/[email protected]/reproduce)
Quoted 8 lines
If you fix the issue in a separate patch/commit (i.e. not just a new version of the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <[email protected]>
| Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/All errors (new ones prefixed by >>, old ones prefixed by <<):
Quoted 1 line
Quoted 1 line
ERROR: modpost: "
__delay" [drivers/net/mdio/mdio-cavium.ko] undefined!
The real issue was introduced in commit 1eefee901fca0208 ("phy: mdio-octeon: Refactor into two files/modules").
Drivers must not use __delay() directly, as that is non-portable, and doesn't work in the presence of cpufreq.
Gr{oetje,eeting}s,
Geert
Signature · 5 lines
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [email protected] In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds
Quoted 18 lines · Geert Uytterhoeven
Hi Kernel Test Robot,
Quoted 15 lines · kernel test robot
First bad commit (maybe != root cause):
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: fd0584d220fe285dc45be43eede55df89ad6a3d9 commit: a9770eac511ad82390b9f4a3c1728e078c387ac7 net: mdio: Move MDIO drivers into a new subdirectory date: 4 years, 4 months ago config: sh-randconfig-001-20241212 (https://download.01.org/0day-ci/archive/20241228/[email protected]/config) compiler: sh4-linux-gcc (GCC) 12.4.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20241228/[email protected]/reproduce)If you fix the issue in a separate patch/commit (i.e. not just a new version of the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <[email protected]>
| Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/
Quoted 6 lines
Quoted 3 lines
All errors (new ones prefixed by >>, old ones prefixed by <<):
Quoted 1 line
Quoted 1 line
ERROR: modpost: "
__delay" [drivers/net/mdio/mdio-cavium.ko] undefined!The real issue was introduced in commit
1eefee901fca0208("phy: mdio-octeon: Refactor into two files/modules").
Silly me: commit 2fd46f47be0f96be
("netdev: mdio-octeon.c: Convert to use device tree.").
But even before that, the driver used a different non-portable construct.
Quoted 2 lines
Drivers must not use
__delay()directly, as that is non-portable, and doesn't work in the presence of cpufreq.
And looking at
https://lore.kernel.org/all/[email protected]
all of this has been said before...
Gr{oetje,eeting}s,
Geert
Signature · 5 lines
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [email protected] In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds
Quoted 30 lines · Geert Uytterhoeven
Quoted 18 lines · Geert Uytterhoeven
Hi Kernel Test Robot,
Quoted 15 lines · kernel test robot
First bad commit (maybe != root cause):
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: fd0584d220fe285dc45be43eede55df89ad6a3d9 commit: a9770eac511ad82390b9f4a3c1728e078c387ac7 net: mdio: Move MDIO drivers into a new subdirectory date: 4 years, 4 months ago config: sh-randconfig-001-20241212 (https://download.01.org/0day-ci/archive/20241228/[email protected]/config) compiler: sh4-linux-gcc (GCC) 12.4.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20241228/[email protected]/reproduce)If you fix the issue in a separate patch/commit (i.e. not just a new version of the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <[email protected]>
| Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/Quoted 6 lines
Quoted 3 lines
All errors (new ones prefixed by >>, old ones prefixed by <<):
Quoted 1 line
Quoted 1 line
ERROR: modpost: "
__delay" [drivers/net/mdio/mdio-cavium.ko] undefined!The real issue was introduced in commit
1eefee901fca0208("phy: mdio-octeon: Refactor into two files/modules").Silly me: commit
2fd46f47be0f96be
("netdev:mdio-octeon.c: Convert to use device tree.").
But even before that, the driver used a different non-portable construct.
Quoted 6 lines
Quoted 2 lines
Drivers must not use
__delay()directly, as that is non-portable, and doesn't work in the presence of cpufreq.And looking at
https://lore.kernel.org/all/[email protected]
all of this has been said before...
Sorry Geert about the false report that costs your effort to check, we should avoid reporting against this commit after that discussion. I will fix it asap.
Quoted 12 lines
Gr{oetje,eeting}s,
Geert
Signature · 5 lines
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [email protected] In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds