[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <202511200752.hGkPwqbU-lkp@intel.com>
Date: Thu, 20 Nov 2025 08:01:37 +0800
From: kernel test robot <lkp@...el.com>
To: Vladimir Oltean <vladimir.oltean@....com>, netdev@...r.kernel.org
Cc: oe-kbuild-all@...ts.linux.dev, Andrew Lunn <andrew@...n.ch>,
Heiner Kallweit <hkallweit1@...il.com>,
Russell King <linux@...linux.org.uk>,
Eric Dumazet <edumazet@...gle.com>,
Jakub Kicinski <kuba@...nel.org>, Paolo Abeni <pabeni@...hat.com>,
linux-kernel@...r.kernel.org, Serge Semin <fancer.lancer@...il.com>,
Andy Shevchenko <andriy.shevchenko@...ux.intel.com>,
Herve Codina <herve.codina@...tlin.com>,
Rob Herring <robh@...nel.org>,
Krzysztof Kozlowski <krzk@...nel.org>,
Conor Dooley <conor+dt@...nel.org>, devicetree@...r.kernel.org
Subject: Re: [PATCH net-next 14/15] net: dsa: sja1105: replace mdiobus-pcs
with xpcs-plat driver
Hi Vladimir,
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/Vladimir-Oltean/net-dsa-sja1105-let-phylink-help-with-the-replay-of-link-callbacks/20251119-031300
base: net-next/main
patch link: https://lore.kernel.org/r/20251118190530.580267-15-vladimir.oltean%40nxp.com
patch subject: [PATCH net-next 14/15] net: dsa: sja1105: replace mdiobus-pcs with xpcs-plat driver
config: s390-randconfig-002-20251120 (https://download.01.org/0day-ci/archive/20251120/202511200752.hGkPwqbU-lkp@intel.com/config)
compiler: s390-linux-gcc (GCC) 8.5.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20251120/202511200752.hGkPwqbU-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@...el.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202511200752.hGkPwqbU-lkp@intel.com/
All errors (new ones prefixed by >>):
In file included from include/linux/cpufreq.h:17,
from kernel/sched/sched.h:31,
from kernel/sched/rq-offsets.c:5:
include/linux/of.h: In function 'of_changeset_attach_node':
>> include/linux/of.h:1623:34: error: 'OF_RECONFIG_ATTACH_NODE' undeclared (first use in this function); did you mean 'OF_RECONFIG_NO_CHANGE'?
return of_changeset_action(ocs, OF_RECONFIG_ATTACH_NODE, np, NULL);
^~~~~~~~~~~~~~~~~~~~~~~
OF_RECONFIG_NO_CHANGE
include/linux/of.h:1623:34: note: each undeclared identifier is reported only once for each function it appears in
include/linux/of.h: In function 'of_changeset_detach_node':
>> include/linux/of.h:1629:34: error: 'OF_RECONFIG_DETACH_NODE' undeclared (first use in this function); did you mean 'OF_RECONFIG_NO_CHANGE'?
return of_changeset_action(ocs, OF_RECONFIG_DETACH_NODE, np, NULL);
^~~~~~~~~~~~~~~~~~~~~~~
OF_RECONFIG_NO_CHANGE
include/linux/of.h: In function 'of_changeset_add_property':
>> include/linux/of.h:1635:34: error: 'OF_RECONFIG_ADD_PROPERTY' undeclared (first use in this function); did you mean 'OF_RECONFIG_NO_CHANGE'?
return of_changeset_action(ocs, OF_RECONFIG_ADD_PROPERTY, np, prop);
^~~~~~~~~~~~~~~~~~~~~~~~
OF_RECONFIG_NO_CHANGE
include/linux/of.h: In function 'of_changeset_remove_property':
>> include/linux/of.h:1641:34: error: 'OF_RECONFIG_REMOVE_PROPERTY' undeclared (first use in this function); did you mean 'OF_RECONFIG_CHANGE_REMOVE'?
return of_changeset_action(ocs, OF_RECONFIG_REMOVE_PROPERTY, np, prop);
^~~~~~~~~~~~~~~~~~~~~~~~~~~
OF_RECONFIG_CHANGE_REMOVE
include/linux/of.h: In function 'of_changeset_update_property':
>> include/linux/of.h:1647:34: error: 'OF_RECONFIG_UPDATE_PROPERTY' undeclared (first use in this function); did you mean 'OF_RECONFIG_CHANGE_REMOVE'?
return of_changeset_action(ocs, OF_RECONFIG_UPDATE_PROPERTY, np, prop);
^~~~~~~~~~~~~~~~~~~~~~~~~~~
OF_RECONFIG_CHANGE_REMOVE
make[3]: *** [scripts/Makefile.build:182: kernel/sched/rq-offsets.s] Error 1 shuffle=1571759522
make[3]: Target 'prepare' not remade because of errors.
make[2]: *** [Makefile:1280: prepare0] Error 2 shuffle=1571759522
make[2]: Target 'prepare' not remade because of errors.
make[1]: *** [Makefile:248: __sub-make] Error 2 shuffle=1571759522
make[1]: Target 'prepare' not remade because of errors.
make: *** [Makefile:248: __sub-make] Error 2 shuffle=1571759522
make: Target 'prepare' not remade because of errors.
Kconfig warnings: (for reference only)
WARNING: unmet direct dependencies detected for OF_DYNAMIC
Depends on [n]: OF [=n]
Selected by [m]:
- NET_DSA_SJA1105 [=m] && NETDEVICES [=y] && NET_DSA [=m] && SPI [=y] && PTP_1588_CLOCK_OPTIONAL [=m]
vim +1623 include/linux/of.h
2e8fff668dc14e Rob Herring 2023-03-29 1604
201c910bd6898d Pantelis Antoniou 2014-07-04 1605 #ifdef CONFIG_OF_DYNAMIC
f6892d193fb9d6 Grant Likely 2014-11-21 1606 extern int of_reconfig_notifier_register(struct notifier_block *);
f6892d193fb9d6 Grant Likely 2014-11-21 1607 extern int of_reconfig_notifier_unregister(struct notifier_block *);
f5242e5a883bf1 Grant Likely 2014-11-24 1608 extern int of_reconfig_notify(unsigned long, struct of_reconfig_data *rd);
f5242e5a883bf1 Grant Likely 2014-11-24 1609 extern int of_reconfig_get_state_change(unsigned long action,
f5242e5a883bf1 Grant Likely 2014-11-24 1610 struct of_reconfig_data *arg);
f6892d193fb9d6 Grant Likely 2014-11-21 1611
201c910bd6898d Pantelis Antoniou 2014-07-04 1612 extern void of_changeset_init(struct of_changeset *ocs);
201c910bd6898d Pantelis Antoniou 2014-07-04 1613 extern void of_changeset_destroy(struct of_changeset *ocs);
201c910bd6898d Pantelis Antoniou 2014-07-04 1614 extern int of_changeset_apply(struct of_changeset *ocs);
201c910bd6898d Pantelis Antoniou 2014-07-04 1615 extern int of_changeset_revert(struct of_changeset *ocs);
201c910bd6898d Pantelis Antoniou 2014-07-04 1616 extern int of_changeset_action(struct of_changeset *ocs,
201c910bd6898d Pantelis Antoniou 2014-07-04 1617 unsigned long action, struct device_node *np,
201c910bd6898d Pantelis Antoniou 2014-07-04 1618 struct property *prop);
201c910bd6898d Pantelis Antoniou 2014-07-04 1619
201c910bd6898d Pantelis Antoniou 2014-07-04 1620 static inline int of_changeset_attach_node(struct of_changeset *ocs,
201c910bd6898d Pantelis Antoniou 2014-07-04 1621 struct device_node *np)
201c910bd6898d Pantelis Antoniou 2014-07-04 1622 {
201c910bd6898d Pantelis Antoniou 2014-07-04 @1623 return of_changeset_action(ocs, OF_RECONFIG_ATTACH_NODE, np, NULL);
201c910bd6898d Pantelis Antoniou 2014-07-04 1624 }
201c910bd6898d Pantelis Antoniou 2014-07-04 1625
201c910bd6898d Pantelis Antoniou 2014-07-04 1626 static inline int of_changeset_detach_node(struct of_changeset *ocs,
201c910bd6898d Pantelis Antoniou 2014-07-04 1627 struct device_node *np)
201c910bd6898d Pantelis Antoniou 2014-07-04 1628 {
201c910bd6898d Pantelis Antoniou 2014-07-04 @1629 return of_changeset_action(ocs, OF_RECONFIG_DETACH_NODE, np, NULL);
201c910bd6898d Pantelis Antoniou 2014-07-04 1630 }
201c910bd6898d Pantelis Antoniou 2014-07-04 1631
201c910bd6898d Pantelis Antoniou 2014-07-04 1632 static inline int of_changeset_add_property(struct of_changeset *ocs,
201c910bd6898d Pantelis Antoniou 2014-07-04 1633 struct device_node *np, struct property *prop)
201c910bd6898d Pantelis Antoniou 2014-07-04 1634 {
201c910bd6898d Pantelis Antoniou 2014-07-04 @1635 return of_changeset_action(ocs, OF_RECONFIG_ADD_PROPERTY, np, prop);
201c910bd6898d Pantelis Antoniou 2014-07-04 1636 }
201c910bd6898d Pantelis Antoniou 2014-07-04 1637
201c910bd6898d Pantelis Antoniou 2014-07-04 1638 static inline int of_changeset_remove_property(struct of_changeset *ocs,
201c910bd6898d Pantelis Antoniou 2014-07-04 1639 struct device_node *np, struct property *prop)
201c910bd6898d Pantelis Antoniou 2014-07-04 1640 {
201c910bd6898d Pantelis Antoniou 2014-07-04 @1641 return of_changeset_action(ocs, OF_RECONFIG_REMOVE_PROPERTY, np, prop);
201c910bd6898d Pantelis Antoniou 2014-07-04 1642 }
201c910bd6898d Pantelis Antoniou 2014-07-04 1643
201c910bd6898d Pantelis Antoniou 2014-07-04 1644 static inline int of_changeset_update_property(struct of_changeset *ocs,
201c910bd6898d Pantelis Antoniou 2014-07-04 1645 struct device_node *np, struct property *prop)
201c910bd6898d Pantelis Antoniou 2014-07-04 1646 {
201c910bd6898d Pantelis Antoniou 2014-07-04 @1647 return of_changeset_action(ocs, OF_RECONFIG_UPDATE_PROPERTY, np, prop);
201c910bd6898d Pantelis Antoniou 2014-07-04 1648 }
b544fc2b8606d7 Lizhi Hou 2023-08-15 1649
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
Powered by blists - more mailing lists