From: kernel test robot <lkp@intel.com>
To: Christian Marangi <ansuelsmth@gmail.com>
Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev
Subject: Re: [net-next RFC PATCH v3 1/4] net: phy: pass PHY driver to .match_phy_device OP
Date: Thu, 27 Mar 2025 12:31:40 +0800 [thread overview]
Message-ID: <202503271208.yqdElxUG-lkp@intel.com> (raw)
In-Reply-To: <20250326233512.17153-2-ansuelsmth@gmail.com>
Hi Christian,
[This is a private test report for your RFC patch.]
kernel test robot noticed the following build errors:
[auto build test ERROR on net-next/main]
url: https://github.com/intel-lab-lkp/linux/commits/Christian-Marangi/net-phy-pass-PHY-driver-to-match_phy_device-OP/20250327-073812
base: net-next/main
patch link: https://lore.kernel.org/r/20250326233512.17153-2-ansuelsmth%40gmail.com
patch subject: [net-next RFC PATCH v3 1/4] net: phy: pass PHY driver to .match_phy_device OP
config: arm-randconfig-003-20250327 (https://download.01.org/0day-ci/archive/20250327/202503271208.yqdElxUG-lkp@intel.com/config)
compiler: clang version 21.0.0git (https://github.com/llvm/llvm-project c2692afc0a92cd5da140dfcdfff7818a5b8ce997)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250327/202503271208.yqdElxUG-lkp@intel.com/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 <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202503271208.yqdElxUG-lkp@intel.com/
All errors (new ones prefixed by >>):
>> drivers/net/phy/nxp-c45-tja11xx.c:2089:23: error: incompatible function pointer types initializing 'int (*)(struct phy_device *, const struct phy_driver *)' with an expression of type 'int (struct phy_device *)' [-Wincompatible-function-pointer-types]
2089 | .match_phy_device = tja1103_match_phy_device,
| ^~~~~~~~~~~~~~~~~~~~~~~~
drivers/net/phy/nxp-c45-tja11xx.c:2113:23: error: incompatible function pointer types initializing 'int (*)(struct phy_device *, const struct phy_driver *)' with an expression of type 'int (struct phy_device *)' [-Wincompatible-function-pointer-types]
2113 | .match_phy_device = tja1104_match_phy_device,
| ^~~~~~~~~~~~~~~~~~~~~~~~
drivers/net/phy/nxp-c45-tja11xx.c:2138:23: error: incompatible function pointer types initializing 'int (*)(struct phy_device *, const struct phy_driver *)' with an expression of type 'int (struct phy_device *)' [-Wincompatible-function-pointer-types]
2138 | .match_phy_device = tja1120_match_phy_device,
| ^~~~~~~~~~~~~~~~~~~~~~~~
drivers/net/phy/nxp-c45-tja11xx.c:2163:23: error: incompatible function pointer types initializing 'int (*)(struct phy_device *, const struct phy_driver *)' with an expression of type 'int (struct phy_device *)' [-Wincompatible-function-pointer-types]
2163 | .match_phy_device = tja1121_match_phy_device,
| ^~~~~~~~~~~~~~~~~~~~~~~~
4 errors generated.
vim +2089 drivers/net/phy/nxp-c45-tja11xx.c
f1fe5dff2b8aa8 Radu Pirea (NXP OSS 2023-07-31 2065)
b050f2f15e04f0 Radu Pirea (NXP OSS 2021-04-19 2066) static struct phy_driver nxp_c45_driver[] = {
b050f2f15e04f0 Radu Pirea (NXP OSS 2021-04-19 2067) {
b050f2f15e04f0 Radu Pirea (NXP OSS 2021-04-19 2068) .name = "NXP C45 TJA1103",
369da333569eb8 Radu Pirea (NXP OSS 2023-07-31 2069) .get_features = nxp_c45_get_features,
6c0c85da044e92 Radu Pirea (NXP OSS 2023-07-31 2070) .driver_data = &tja1103_phy_data,
b050f2f15e04f0 Radu Pirea (NXP OSS 2021-04-19 2071) .probe = nxp_c45_probe,
b050f2f15e04f0 Radu Pirea (NXP OSS 2021-04-19 2072) .soft_reset = nxp_c45_soft_reset,
ac0687e821cffa Radu Pirea (NXP OSS 2023-07-31 2073) .config_aneg = genphy_c45_config_aneg,
b050f2f15e04f0 Radu Pirea (NXP OSS 2021-04-19 2074) .config_init = nxp_c45_config_init,
425c8348df7b86 Radu Pirea (NXP OSS 2023-07-31 2075) .config_intr = tja1103_config_intr,
b2f0ca00e6b34b Radu Pirea (NXP OSS 2021-04-23 2076) .handle_interrupt = nxp_c45_handle_interrupt,
ac0687e821cffa Radu Pirea (NXP OSS 2023-07-31 2077) .read_status = genphy_c45_read_status,
b050f2f15e04f0 Radu Pirea (NXP OSS 2021-04-19 2078) .suspend = genphy_c45_pma_suspend,
b050f2f15e04f0 Radu Pirea (NXP OSS 2021-04-19 2079) .resume = genphy_c45_pma_resume,
b050f2f15e04f0 Radu Pirea (NXP OSS 2021-04-19 2080) .get_sset_count = nxp_c45_get_sset_count,
b050f2f15e04f0 Radu Pirea (NXP OSS 2021-04-19 2081) .get_strings = nxp_c45_get_strings,
b050f2f15e04f0 Radu Pirea (NXP OSS 2021-04-19 2082) .get_stats = nxp_c45_get_stats,
b050f2f15e04f0 Radu Pirea (NXP OSS 2021-04-19 2083) .cable_test_start = nxp_c45_cable_test_start,
b050f2f15e04f0 Radu Pirea (NXP OSS 2021-04-19 2084) .cable_test_get_status = nxp_c45_cable_test_get_status,
b050f2f15e04f0 Radu Pirea (NXP OSS 2021-04-19 2085) .set_loopback = genphy_c45_loopback,
b050f2f15e04f0 Radu Pirea (NXP OSS 2021-04-19 2086) .get_sqi = nxp_c45_get_sqi,
b050f2f15e04f0 Radu Pirea (NXP OSS 2021-04-19 2087) .get_sqi_max = nxp_c45_get_sqi_max,
a4506722dc39ca Radu Pirea (OSS 2023-04-06 2088) .remove = nxp_c45_remove,
a06a868a0cd96b Andrei Botila 2025-02-28 @2089 .match_phy_device = tja1103_match_phy_device,
a06a868a0cd96b Andrei Botila 2025-02-28 2090 },
a06a868a0cd96b Andrei Botila 2025-02-28 2091 {
a06a868a0cd96b Andrei Botila 2025-02-28 2092 .name = "NXP C45 TJA1104",
a06a868a0cd96b Andrei Botila 2025-02-28 2093 .get_features = nxp_c45_get_features,
a06a868a0cd96b Andrei Botila 2025-02-28 2094 .driver_data = &tja1103_phy_data,
a06a868a0cd96b Andrei Botila 2025-02-28 2095 .probe = nxp_c45_probe,
a06a868a0cd96b Andrei Botila 2025-02-28 2096 .soft_reset = nxp_c45_soft_reset,
a06a868a0cd96b Andrei Botila 2025-02-28 2097 .config_aneg = genphy_c45_config_aneg,
a06a868a0cd96b Andrei Botila 2025-02-28 2098 .config_init = nxp_c45_config_init,
a06a868a0cd96b Andrei Botila 2025-02-28 2099 .config_intr = tja1103_config_intr,
a06a868a0cd96b Andrei Botila 2025-02-28 2100 .handle_interrupt = nxp_c45_handle_interrupt,
a06a868a0cd96b Andrei Botila 2025-02-28 2101 .read_status = genphy_c45_read_status,
a06a868a0cd96b Andrei Botila 2025-02-28 2102 .suspend = genphy_c45_pma_suspend,
a06a868a0cd96b Andrei Botila 2025-02-28 2103 .resume = genphy_c45_pma_resume,
a06a868a0cd96b Andrei Botila 2025-02-28 2104 .get_sset_count = nxp_c45_get_sset_count,
a06a868a0cd96b Andrei Botila 2025-02-28 2105 .get_strings = nxp_c45_get_strings,
a06a868a0cd96b Andrei Botila 2025-02-28 2106 .get_stats = nxp_c45_get_stats,
a06a868a0cd96b Andrei Botila 2025-02-28 2107 .cable_test_start = nxp_c45_cable_test_start,
a06a868a0cd96b Andrei Botila 2025-02-28 2108 .cable_test_get_status = nxp_c45_cable_test_get_status,
a06a868a0cd96b Andrei Botila 2025-02-28 2109 .set_loopback = genphy_c45_loopback,
a06a868a0cd96b Andrei Botila 2025-02-28 2110 .get_sqi = nxp_c45_get_sqi,
a06a868a0cd96b Andrei Botila 2025-02-28 2111 .get_sqi_max = nxp_c45_get_sqi_max,
a06a868a0cd96b Andrei Botila 2025-02-28 2112 .remove = nxp_c45_remove,
a06a868a0cd96b Andrei Botila 2025-02-28 2113 .match_phy_device = tja1104_match_phy_device,
b050f2f15e04f0 Radu Pirea (NXP OSS 2021-04-19 2114) },
f1fe5dff2b8aa8 Radu Pirea (NXP OSS 2023-07-31 2115) {
f1fe5dff2b8aa8 Radu Pirea (NXP OSS 2023-07-31 2116) .name = "NXP C45 TJA1120",
f1fe5dff2b8aa8 Radu Pirea (NXP OSS 2023-07-31 2117) .get_features = nxp_c45_get_features,
f1fe5dff2b8aa8 Radu Pirea (NXP OSS 2023-07-31 2118) .driver_data = &tja1120_phy_data,
f1fe5dff2b8aa8 Radu Pirea (NXP OSS 2023-07-31 2119) .probe = nxp_c45_probe,
f1fe5dff2b8aa8 Radu Pirea (NXP OSS 2023-07-31 2120) .soft_reset = nxp_c45_soft_reset,
f1fe5dff2b8aa8 Radu Pirea (NXP OSS 2023-07-31 2121) .config_aneg = genphy_c45_config_aneg,
f1fe5dff2b8aa8 Radu Pirea (NXP OSS 2023-07-31 2122) .config_init = nxp_c45_config_init,
425c8348df7b86 Radu Pirea (NXP OSS 2023-07-31 2123) .config_intr = tja1120_config_intr,
f1fe5dff2b8aa8 Radu Pirea (NXP OSS 2023-07-31 2124) .handle_interrupt = nxp_c45_handle_interrupt,
f1fe5dff2b8aa8 Radu Pirea (NXP OSS 2023-07-31 2125) .read_status = genphy_c45_read_status,
68c6af72047ca7 Radu Pirea (NXP OSS 2023-07-31 2126) .link_change_notify = tja1120_link_change_notify,
f1fe5dff2b8aa8 Radu Pirea (NXP OSS 2023-07-31 2127) .suspend = genphy_c45_pma_suspend,
f1fe5dff2b8aa8 Radu Pirea (NXP OSS 2023-07-31 2128) .resume = genphy_c45_pma_resume,
f1fe5dff2b8aa8 Radu Pirea (NXP OSS 2023-07-31 2129) .get_sset_count = nxp_c45_get_sset_count,
f1fe5dff2b8aa8 Radu Pirea (NXP OSS 2023-07-31 2130) .get_strings = nxp_c45_get_strings,
f1fe5dff2b8aa8 Radu Pirea (NXP OSS 2023-07-31 2131) .get_stats = nxp_c45_get_stats,
f1fe5dff2b8aa8 Radu Pirea (NXP OSS 2023-07-31 2132) .cable_test_start = nxp_c45_cable_test_start,
f1fe5dff2b8aa8 Radu Pirea (NXP OSS 2023-07-31 2133) .cable_test_get_status = nxp_c45_cable_test_get_status,
f1fe5dff2b8aa8 Radu Pirea (NXP OSS 2023-07-31 2134) .set_loopback = genphy_c45_loopback,
f1fe5dff2b8aa8 Radu Pirea (NXP OSS 2023-07-31 2135) .get_sqi = nxp_c45_get_sqi,
f1fe5dff2b8aa8 Radu Pirea (NXP OSS 2023-07-31 2136) .get_sqi_max = nxp_c45_get_sqi_max,
f1fe5dff2b8aa8 Radu Pirea (NXP OSS 2023-07-31 2137) .remove = nxp_c45_remove,
7215e9375694db Andrei Botila 2025-02-28 2138 .match_phy_device = tja1120_match_phy_device,
7215e9375694db Andrei Botila 2025-02-28 2139 },
7215e9375694db Andrei Botila 2025-02-28 2140 {
7215e9375694db Andrei Botila 2025-02-28 2141 .name = "NXP C45 TJA1121",
7215e9375694db Andrei Botila 2025-02-28 2142 .get_features = nxp_c45_get_features,
7215e9375694db Andrei Botila 2025-02-28 2143 .driver_data = &tja1120_phy_data,
7215e9375694db Andrei Botila 2025-02-28 2144 .probe = nxp_c45_probe,
7215e9375694db Andrei Botila 2025-02-28 2145 .soft_reset = nxp_c45_soft_reset,
7215e9375694db Andrei Botila 2025-02-28 2146 .config_aneg = genphy_c45_config_aneg,
7215e9375694db Andrei Botila 2025-02-28 2147 .config_init = nxp_c45_config_init,
7215e9375694db Andrei Botila 2025-02-28 2148 .config_intr = tja1120_config_intr,
7215e9375694db Andrei Botila 2025-02-28 2149 .handle_interrupt = nxp_c45_handle_interrupt,
7215e9375694db Andrei Botila 2025-02-28 2150 .read_status = genphy_c45_read_status,
7215e9375694db Andrei Botila 2025-02-28 2151 .link_change_notify = tja1120_link_change_notify,
7215e9375694db Andrei Botila 2025-02-28 2152 .suspend = genphy_c45_pma_suspend,
7215e9375694db Andrei Botila 2025-02-28 2153 .resume = genphy_c45_pma_resume,
7215e9375694db Andrei Botila 2025-02-28 2154 .get_sset_count = nxp_c45_get_sset_count,
7215e9375694db Andrei Botila 2025-02-28 2155 .get_strings = nxp_c45_get_strings,
7215e9375694db Andrei Botila 2025-02-28 2156 .get_stats = nxp_c45_get_stats,
7215e9375694db Andrei Botila 2025-02-28 2157 .cable_test_start = nxp_c45_cable_test_start,
7215e9375694db Andrei Botila 2025-02-28 2158 .cable_test_get_status = nxp_c45_cable_test_get_status,
7215e9375694db Andrei Botila 2025-02-28 2159 .set_loopback = genphy_c45_loopback,
7215e9375694db Andrei Botila 2025-02-28 2160 .get_sqi = nxp_c45_get_sqi,
7215e9375694db Andrei Botila 2025-02-28 2161 .get_sqi_max = nxp_c45_get_sqi_max,
7215e9375694db Andrei Botila 2025-02-28 2162 .remove = nxp_c45_remove,
7215e9375694db Andrei Botila 2025-02-28 2163 .match_phy_device = tja1121_match_phy_device,
f1fe5dff2b8aa8 Radu Pirea (NXP OSS 2023-07-31 2164) },
b050f2f15e04f0 Radu Pirea (NXP OSS 2021-04-19 2165) };
b050f2f15e04f0 Radu Pirea (NXP OSS 2021-04-19 2166)
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
next prev parent reply other threads:[~2025-03-27 4:32 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-03-26 23:35 [net-next RFC PATCH v3 0/4] net: phy: Add support for new Aeonsemi PHYs Christian Marangi
2025-03-26 23:35 ` [net-next RFC PATCH v3 1/4] net: phy: pass PHY driver to .match_phy_device OP Christian Marangi
2025-03-27 3:03 ` kernel test robot
2025-03-27 4:31 ` kernel test robot [this message]
2025-03-27 11:07 ` Russell King (Oracle)
2025-03-27 14:15 ` Christian Marangi
2025-03-26 23:35 ` [net-next RFC PATCH v3 2/4] net: phy: bcm87xx: simplify " Christian Marangi
2025-03-27 11:08 ` Russell King (Oracle)
2025-03-26 23:35 ` [net-next RFC PATCH v3 3/4] net: phy: Add support for Aeonsemi AS21xxx PHYs Christian Marangi
2025-03-27 8:24 ` Maxime Chevallier
2025-03-27 11:24 ` Christian Marangi
2025-03-27 11:24 ` Russell King (Oracle)
2025-03-27 11:26 ` Russell King (Oracle)
2025-03-27 11:30 ` Christian Marangi
2025-03-27 11:36 ` Christian Marangi
2025-03-26 23:35 ` [net-next RFC PATCH v3 4/4] dt-bindings: net: Document support for Aeonsemi PHYs Christian Marangi
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=202503271208.yqdElxUG-lkp@intel.com \
--to=lkp@intel.com \
--cc=ansuelsmth@gmail.com \
--cc=llvm@lists.linux.dev \
--cc=oe-kbuild-all@lists.linux.dev \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.