From: kernel test robot <lkp@intel.com>
To: Daniel Golle <daniel@makrotopia.org>,
Xu Liang <lxu@maxlinear.com>, Andrew Lunn <andrew@lunn.ch>,
Heiner Kallweit <hkallweit1@gmail.com>,
Russell King <linux@armlinux.org.uk>,
"David S. Miller" <davem@davemloft.net>,
Eric Dumazet <edumazet@google.com>,
Jakub Kicinski <kuba@kernel.org>, Paolo Abeni <pabeni@redhat.com>,
linux-kernel@vger.kernel.org
Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev,
netdev@vger.kernel.org
Subject: Re: [PATCH net-next 1/2] net: phy: mxl-gpy: add support for MXL86211C
Date: Wed, 12 Nov 2025 00:33:07 +0800 [thread overview]
Message-ID: <202511120056.YRAPru3f-lkp@intel.com> (raw)
In-Reply-To: <92e7bdac9a581276219b5c985ab3814d65e0a7b5.1762813829.git.daniel@makrotopia.org>
Hi Daniel,
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/Daniel-Golle/net-phy-mxl-gpy-add-MxL862xx-support/20251111-064014
base: net-next/main
patch link: https://lore.kernel.org/r/92e7bdac9a581276219b5c985ab3814d65e0a7b5.1762813829.git.daniel%40makrotopia.org
patch subject: [PATCH net-next 1/2] net: phy: mxl-gpy: add support for MXL86211C
config: x86_64-buildonly-randconfig-002-20251111 (https://download.01.org/0day-ci/archive/20251112/202511120056.YRAPru3f-lkp@intel.com/config)
compiler: clang version 20.1.8 (https://github.com/llvm/llvm-project 87f0227cb60147a26a1eeb4fb06e3b505e9c7261)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20251112/202511120056.YRAPru3f-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/202511120056.YRAPru3f-lkp@intel.com/
All errors (new ones prefixed by >>):
>> drivers/net/phy/mxl-gpy.c:1293:25: error: use of undeclared identifier 'gpy_link_change_notify'
1293 | .link_change_notify = gpy_link_change_notify,
| ^
>> drivers/net/phy/mxl-gpy.c:1296:1: error: invalid application of 'sizeof' to an incomplete type 'struct phy_driver[]'
1296 | module_phy_driver(gpy_drivers);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
include/linux/phy.h:2396:35: note: expanded from macro 'module_phy_driver'
2396 | phy_module_driver(__phy_drivers, ARRAY_SIZE(__phy_drivers))
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
include/linux/array_size.h:11:32: note: expanded from macro 'ARRAY_SIZE'
11 | #define ARRAY_SIZE(arr) (sizeof(arr) / sizeof((arr)[0]) + __must_be_array(arr))
| ^
include/linux/phy.h:2386:45: note: expanded from macro 'phy_module_driver'
2386 | return phy_drivers_register(__phy_drivers, __count, THIS_MODULE); \
| ^~~~~~~
>> drivers/net/phy/mxl-gpy.c:1296:1: error: invalid application of 'sizeof' to an incomplete type 'struct phy_driver[]'
1296 | module_phy_driver(gpy_drivers);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
include/linux/phy.h:2396:35: note: expanded from macro 'module_phy_driver'
2396 | phy_module_driver(__phy_drivers, ARRAY_SIZE(__phy_drivers))
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
include/linux/array_size.h:11:32: note: expanded from macro 'ARRAY_SIZE'
11 | #define ARRAY_SIZE(arr) (sizeof(arr) / sizeof((arr)[0]) + __must_be_array(arr))
| ^
include/linux/phy.h:2391:40: note: expanded from macro 'phy_module_driver'
2391 | phy_drivers_unregister(__phy_drivers, __count); \
| ^~~~~~~
3 errors generated.
vim +/gpy_link_change_notify +1293 drivers/net/phy/mxl-gpy.c
1017
1018 static struct phy_driver gpy_drivers[] = {
1019 {
1020 PHY_ID_MATCH_MODEL(PHY_ID_GPY2xx),
1021 .name = "Maxlinear Ethernet GPY2xx",
1022 .get_features = genphy_c45_pma_read_abilities,
1023 .config_init = gpy_config_init,
1024 .probe = gpy_probe,
1025 .suspend = genphy_suspend,
1026 .resume = genphy_resume,
1027 .config_aneg = gpy_config_aneg,
1028 .aneg_done = genphy_c45_aneg_done,
1029 .read_status = gpy_read_status,
1030 .config_intr = gpy_config_intr,
1031 .handle_interrupt = gpy_handle_interrupt,
1032 .set_wol = gpy_set_wol,
1033 .get_wol = gpy_get_wol,
1034 .set_loopback = gpy_loopback,
1035 .led_brightness_set = gpy_led_brightness_set,
1036 .led_hw_is_supported = gpy_led_hw_is_supported,
1037 .led_hw_control_get = gpy_led_hw_control_get,
1038 .led_hw_control_set = gpy_led_hw_control_set,
1039 .led_polarity_set = gpy_led_polarity_set,
1040 },
1041 {
1042 .phy_id = PHY_ID_GPY115B,
1043 .phy_id_mask = PHY_ID_GPYx15B_MASK,
1044 .name = "Maxlinear Ethernet GPY115B",
1045 .get_features = genphy_c45_pma_read_abilities,
1046 .config_init = gpy_config_init,
1047 .probe = gpy_probe,
1048 .suspend = genphy_suspend,
1049 .resume = genphy_resume,
1050 .config_aneg = gpy_config_aneg,
1051 .aneg_done = genphy_c45_aneg_done,
1052 .read_status = gpy_read_status,
1053 .config_intr = gpy_config_intr,
1054 .handle_interrupt = gpy_handle_interrupt,
1055 .set_wol = gpy_set_wol,
1056 .get_wol = gpy_get_wol,
1057 .set_loopback = gpy115_loopback,
1058 .led_brightness_set = gpy_led_brightness_set,
1059 .led_hw_is_supported = gpy_led_hw_is_supported,
1060 .led_hw_control_get = gpy_led_hw_control_get,
1061 .led_hw_control_set = gpy_led_hw_control_set,
1062 .led_polarity_set = gpy_led_polarity_set,
1063 },
1064 {
1065 PHY_ID_MATCH_MODEL(PHY_ID_GPY115C),
1066 .name = "Maxlinear Ethernet GPY115C",
1067 .get_features = genphy_c45_pma_read_abilities,
1068 .config_init = gpy_config_init,
1069 .probe = gpy_probe,
1070 .suspend = genphy_suspend,
1071 .resume = genphy_resume,
1072 .config_aneg = gpy_config_aneg,
1073 .aneg_done = genphy_c45_aneg_done,
1074 .read_status = gpy_read_status,
1075 .config_intr = gpy_config_intr,
1076 .handle_interrupt = gpy_handle_interrupt,
1077 .set_wol = gpy_set_wol,
1078 .get_wol = gpy_get_wol,
1079 .set_loopback = gpy115_loopback,
1080 .led_brightness_set = gpy_led_brightness_set,
1081 .led_hw_is_supported = gpy_led_hw_is_supported,
1082 .led_hw_control_get = gpy_led_hw_control_get,
1083 .led_hw_control_set = gpy_led_hw_control_set,
1084 .led_polarity_set = gpy_led_polarity_set,
1085 },
1086 {
1087 .phy_id = PHY_ID_GPY211B,
1088 .phy_id_mask = PHY_ID_GPY21xB_MASK,
1089 .name = "Maxlinear Ethernet GPY211B",
1090 .get_features = genphy_c45_pma_read_abilities,
1091 .config_init = gpy21x_config_init,
1092 .probe = gpy_probe,
1093 .suspend = genphy_suspend,
1094 .resume = genphy_resume,
1095 .config_aneg = gpy_config_aneg,
1096 .aneg_done = genphy_c45_aneg_done,
1097 .read_status = gpy_read_status,
1098 .config_intr = gpy_config_intr,
1099 .handle_interrupt = gpy_handle_interrupt,
1100 .set_wol = gpy_set_wol,
1101 .get_wol = gpy_get_wol,
1102 .set_loopback = gpy_loopback,
1103 .led_brightness_set = gpy_led_brightness_set,
1104 .led_hw_is_supported = gpy_led_hw_is_supported,
1105 .led_hw_control_get = gpy_led_hw_control_get,
1106 .led_hw_control_set = gpy_led_hw_control_set,
1107 .led_polarity_set = gpy_led_polarity_set,
1108 },
1109 {
1110 PHY_ID_MATCH_MODEL(PHY_ID_GPY211C),
1111 .name = "Maxlinear Ethernet GPY211C",
1112 .get_features = genphy_c45_pma_read_abilities,
1113 .config_init = gpy21x_config_init,
1114 .probe = gpy_probe,
1115 .suspend = genphy_suspend,
1116 .resume = genphy_resume,
1117 .config_aneg = gpy_config_aneg,
1118 .aneg_done = genphy_c45_aneg_done,
1119 .read_status = gpy_read_status,
1120 .config_intr = gpy_config_intr,
1121 .handle_interrupt = gpy_handle_interrupt,
1122 .set_wol = gpy_set_wol,
1123 .get_wol = gpy_get_wol,
1124 .set_loopback = gpy_loopback,
1125 .led_brightness_set = gpy_led_brightness_set,
1126 .led_hw_is_supported = gpy_led_hw_is_supported,
1127 .led_hw_control_get = gpy_led_hw_control_get,
1128 .led_hw_control_set = gpy_led_hw_control_set,
1129 .led_polarity_set = gpy_led_polarity_set,
1130 },
1131 {
1132 .phy_id = PHY_ID_GPY212B,
1133 .phy_id_mask = PHY_ID_GPY21xB_MASK,
1134 .name = "Maxlinear Ethernet GPY212B",
1135 .get_features = genphy_c45_pma_read_abilities,
1136 .config_init = gpy21x_config_init,
1137 .probe = gpy_probe,
1138 .suspend = genphy_suspend,
1139 .resume = genphy_resume,
1140 .config_aneg = gpy_config_aneg,
1141 .aneg_done = genphy_c45_aneg_done,
1142 .read_status = gpy_read_status,
1143 .config_intr = gpy_config_intr,
1144 .handle_interrupt = gpy_handle_interrupt,
1145 .set_wol = gpy_set_wol,
1146 .get_wol = gpy_get_wol,
1147 .set_loopback = gpy_loopback,
1148 .led_brightness_set = gpy_led_brightness_set,
1149 .led_hw_is_supported = gpy_led_hw_is_supported,
1150 .led_hw_control_get = gpy_led_hw_control_get,
1151 .led_hw_control_set = gpy_led_hw_control_set,
1152 .led_polarity_set = gpy_led_polarity_set,
1153 },
1154 {
1155 PHY_ID_MATCH_MODEL(PHY_ID_GPY212C),
1156 .name = "Maxlinear Ethernet GPY212C",
1157 .get_features = genphy_c45_pma_read_abilities,
1158 .config_init = gpy21x_config_init,
1159 .probe = gpy_probe,
1160 .suspend = genphy_suspend,
1161 .resume = genphy_resume,
1162 .config_aneg = gpy_config_aneg,
1163 .aneg_done = genphy_c45_aneg_done,
1164 .read_status = gpy_read_status,
1165 .config_intr = gpy_config_intr,
1166 .handle_interrupt = gpy_handle_interrupt,
1167 .set_wol = gpy_set_wol,
1168 .get_wol = gpy_get_wol,
1169 .set_loopback = gpy_loopback,
1170 .led_brightness_set = gpy_led_brightness_set,
1171 .led_hw_is_supported = gpy_led_hw_is_supported,
1172 .led_hw_control_get = gpy_led_hw_control_get,
1173 .led_hw_control_set = gpy_led_hw_control_set,
1174 .led_polarity_set = gpy_led_polarity_set,
1175 },
1176 {
1177 .phy_id = PHY_ID_GPY215B,
1178 .phy_id_mask = PHY_ID_GPYx15B_MASK,
1179 .name = "Maxlinear Ethernet GPY215B",
1180 .get_features = genphy_c45_pma_read_abilities,
1181 .config_init = gpy21x_config_init,
1182 .probe = gpy_probe,
1183 .suspend = genphy_suspend,
1184 .resume = genphy_resume,
1185 .config_aneg = gpy_config_aneg,
1186 .aneg_done = genphy_c45_aneg_done,
1187 .read_status = gpy_read_status,
1188 .config_intr = gpy_config_intr,
1189 .handle_interrupt = gpy_handle_interrupt,
1190 .set_wol = gpy_set_wol,
1191 .get_wol = gpy_get_wol,
1192 .set_loopback = gpy_loopback,
1193 .led_brightness_set = gpy_led_brightness_set,
1194 .led_hw_is_supported = gpy_led_hw_is_supported,
1195 .led_hw_control_get = gpy_led_hw_control_get,
1196 .led_hw_control_set = gpy_led_hw_control_set,
1197 .led_polarity_set = gpy_led_polarity_set,
1198 },
1199 {
1200 PHY_ID_MATCH_MODEL(PHY_ID_GPY215C),
1201 .name = "Maxlinear Ethernet GPY215C",
1202 .get_features = genphy_c45_pma_read_abilities,
1203 .config_init = gpy21x_config_init,
1204 .probe = gpy_probe,
1205 .suspend = genphy_suspend,
1206 .resume = genphy_resume,
1207 .config_aneg = gpy_config_aneg,
1208 .aneg_done = genphy_c45_aneg_done,
1209 .read_status = gpy_read_status,
1210 .config_intr = gpy_config_intr,
1211 .handle_interrupt = gpy_handle_interrupt,
1212 .set_wol = gpy_set_wol,
1213 .get_wol = gpy_get_wol,
1214 .set_loopback = gpy_loopback,
1215 .led_brightness_set = gpy_led_brightness_set,
1216 .led_hw_is_supported = gpy_led_hw_is_supported,
1217 .led_hw_control_get = gpy_led_hw_control_get,
1218 .led_hw_control_set = gpy_led_hw_control_set,
1219 .led_polarity_set = gpy_led_polarity_set,
1220 },
1221 {
1222 PHY_ID_MATCH_MODEL(PHY_ID_GPY241B),
1223 .name = "Maxlinear Ethernet GPY241B",
1224 .get_features = genphy_c45_pma_read_abilities,
1225 .config_init = gpy_config_init,
1226 .probe = gpy_probe,
1227 .suspend = genphy_suspend,
1228 .resume = genphy_resume,
1229 .config_aneg = gpy_config_aneg,
1230 .aneg_done = genphy_c45_aneg_done,
1231 .read_status = gpy_read_status,
1232 .config_intr = gpy_config_intr,
1233 .handle_interrupt = gpy_handle_interrupt,
1234 .set_wol = gpy_set_wol,
1235 .get_wol = gpy_get_wol,
1236 .set_loopback = gpy_loopback,
1237 },
1238 {
1239 PHY_ID_MATCH_MODEL(PHY_ID_GPY241BM),
1240 .name = "Maxlinear Ethernet GPY241BM",
1241 .get_features = genphy_c45_pma_read_abilities,
1242 .config_init = gpy_config_init,
1243 .probe = gpy_probe,
1244 .suspend = genphy_suspend,
1245 .resume = genphy_resume,
1246 .config_aneg = gpy_config_aneg,
1247 .aneg_done = genphy_c45_aneg_done,
1248 .read_status = gpy_read_status,
1249 .config_intr = gpy_config_intr,
1250 .handle_interrupt = gpy_handle_interrupt,
1251 .set_wol = gpy_set_wol,
1252 .get_wol = gpy_get_wol,
1253 .set_loopback = gpy_loopback,
1254 },
1255 {
1256 PHY_ID_MATCH_MODEL(PHY_ID_GPY245B),
1257 .name = "Maxlinear Ethernet GPY245B",
1258 .get_features = genphy_c45_pma_read_abilities,
1259 .config_init = gpy_config_init,
1260 .probe = gpy_probe,
1261 .suspend = genphy_suspend,
1262 .resume = genphy_resume,
1263 .config_aneg = gpy_config_aneg,
1264 .aneg_done = genphy_c45_aneg_done,
1265 .read_status = gpy_read_status,
1266 .config_intr = gpy_config_intr,
1267 .handle_interrupt = gpy_handle_interrupt,
1268 .set_wol = gpy_set_wol,
1269 .get_wol = gpy_get_wol,
1270 .set_loopback = gpy_loopback,
1271 },
1272 {
1273 PHY_ID_MATCH_MODEL(PHY_ID_MXL86211C),
1274 .name = "Maxlinear Ethernet MXL86211C",
1275 .get_features = genphy_c45_pma_read_abilities,
1276 .config_init = gpy_config_init,
1277 .probe = gpy_probe,
1278 .suspend = genphy_suspend,
1279 .resume = genphy_resume,
1280 .config_aneg = gpy_config_aneg,
1281 .aneg_done = genphy_c45_aneg_done,
1282 .read_status = gpy_read_status,
1283 .config_intr = gpy_config_intr,
1284 .handle_interrupt = gpy_handle_interrupt,
1285 .set_wol = gpy_set_wol,
1286 .get_wol = gpy_get_wol,
1287 .set_loopback = gpy_loopback,
1288 .led_brightness_set = gpy_led_brightness_set,
1289 .led_hw_is_supported = gpy_led_hw_is_supported,
1290 .led_hw_control_get = gpy_led_hw_control_get,
1291 .led_hw_control_set = gpy_led_hw_control_set,
1292 .led_polarity_set = gpy_led_polarity_set,
> 1293 .link_change_notify = gpy_link_change_notify,
1294 },
1295 };
> 1296 module_phy_driver(gpy_drivers);
1297
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
prev parent reply other threads:[~2025-11-11 16:33 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-11-10 22:33 [PATCH net-next 1/2] net: phy: mxl-gpy: add support for MXL86211C Daniel Golle
2025-11-10 22:35 ` [PATCH net-next 2/2] net: phy: mxl-gpy: add MxL862xx support Daniel Golle
2025-11-11 1:32 ` Andrew Lunn
2025-11-18 2:43 ` Daniel Golle
2025-11-18 16:44 ` Andrew Lunn
2025-11-11 16:33 ` kernel test robot [this message]
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=202511120056.YRAPru3f-lkp@intel.com \
--to=lkp@intel.com \
--cc=andrew@lunn.ch \
--cc=daniel@makrotopia.org \
--cc=davem@davemloft.net \
--cc=edumazet@google.com \
--cc=hkallweit1@gmail.com \
--cc=kuba@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux@armlinux.org.uk \
--cc=llvm@lists.linux.dev \
--cc=lxu@maxlinear.com \
--cc=netdev@vger.kernel.org \
--cc=oe-kbuild-all@lists.linux.dev \
--cc=pabeni@redhat.com \
/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.