* Re: [PATCH v4 3/3] device property: add test cases for fwnode_for_each_child_node()
[not found] ` <20260611203537.1786399-4-andriy.shevchenko@linux.intel.com>
@ 2026-07-18 14:18 ` Danilo Krummrich
2026-07-19 8:37 ` Andy Shevchenko
0 siblings, 1 reply; 3+ messages in thread
From: Danilo Krummrich @ 2026-07-18 14:18 UTC (permalink / raw)
To: Andy Shevchenko
Cc: Xu Yang, linux-acpi, driver-core, linux-kernel, Daniel Scally,
Heikki Krogerus, Sakari Ailus, Greg Kroah-Hartman,
Rafael J. Wysocki, Rob Herring, Saravana Kannan, devicetree
(Cc: OF)
On Thu Jun 11, 2026 at 10:31 PM CEST, Andy Shevchenko wrote:
> From: Xu Yang <xu.yang_2@nxp.com>
>
> Add test cases for fwnode_for_each_child_node() API.
>
> Test command:
> $ ./tools/testing/kunit/kunit.py run property-entry
>
> Signed-off-by: Xu Yang <xu.yang_2@nxp.com>
> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
This patch broke the build [1], hence I dropped it from the queue (but kept the
first two patches of this series).
of_node_init() can't be used from modules, either it needs EXPORT_SYMBOL_GPL()
itself, or of_node_ktype needs to be exported for this kunit test to work.
[1] https://lore.kernel.org/all/202607181651.RnUuV8n6-lkp@intel.com/
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH v4 3/3] device property: add test cases for fwnode_for_each_child_node()
2026-07-18 14:18 ` [PATCH v4 3/3] device property: add test cases for fwnode_for_each_child_node() Danilo Krummrich
@ 2026-07-19 8:37 ` Andy Shevchenko
2026-07-20 10:46 ` Xu Yang
0 siblings, 1 reply; 3+ messages in thread
From: Andy Shevchenko @ 2026-07-19 8:37 UTC (permalink / raw)
To: Danilo Krummrich
Cc: Xu Yang, linux-acpi, driver-core, linux-kernel, Daniel Scally,
Heikki Krogerus, Sakari Ailus, Greg Kroah-Hartman,
Rafael J. Wysocki, Rob Herring, Saravana Kannan, devicetree
On Sat, Jul 18, 2026 at 04:18:12PM +0200, Danilo Krummrich wrote:
> On Thu Jun 11, 2026 at 10:31 PM CEST, Andy Shevchenko wrote:
> >
> > Add test cases for fwnode_for_each_child_node() API.
> >
> > Test command:
> > $ ./tools/testing/kunit/kunit.py run property-entry
> >
> > Signed-off-by: Xu Yang <xu.yang_2@nxp.com>
> > Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
>
> This patch broke the build [1], hence I dropped it from the queue (but kept the
> first two patches of this series).
>
> of_node_init() can't be used from modules, either it needs EXPORT_SYMBOL_GPL()
> itself, or of_node_ktype needs to be exported for this kunit test to work.
Oh, thanks for pointing out.
> [1] https://lore.kernel.org/all/202607181651.RnUuV8n6-lkp@intel.com/
--
With Best Regards,
Andy Shevchenko
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH v4 3/3] device property: add test cases for fwnode_for_each_child_node()
2026-07-19 8:37 ` Andy Shevchenko
@ 2026-07-20 10:46 ` Xu Yang
0 siblings, 0 replies; 3+ messages in thread
From: Xu Yang @ 2026-07-20 10:46 UTC (permalink / raw)
To: Andy Shevchenko
Cc: Danilo Krummrich, Xu Yang, linux-acpi, driver-core, linux-kernel,
Daniel Scally, Heikki Krogerus, Sakari Ailus, Greg Kroah-Hartman,
Rafael J. Wysocki, Rob Herring, Saravana Kannan, devicetree
Hi Danilo and Andy,
On Sun, Jul 19, 2026 at 11:37:49AM +0300, Andy Shevchenko wrote:
> On Sat, Jul 18, 2026 at 04:18:12PM +0200, Danilo Krummrich wrote:
> > On Thu Jun 11, 2026 at 10:31 PM CEST, Andy Shevchenko wrote:
> > >
> > > Add test cases for fwnode_for_each_child_node() API.
> > >
> > > Test command:
> > > $ ./tools/testing/kunit/kunit.py run property-entry
> > >
> > > Signed-off-by: Xu Yang <xu.yang_2@nxp.com>
> > > Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
> >
> > This patch broke the build [1], hence I dropped it from the queue (but kept the
> > first two patches of this series).
> >
> > of_node_init() can't be used from modules, either it needs EXPORT_SYMBOL_GPL()
> > itself, or of_node_ktype needs to be exported for this kunit test to work.
>
> Oh, thanks for pointing out.
Fix patches are sent:
https://lore.kernel.org/imx/20260720104730.1285552-1-xu.yang_2@oss.nxp.com/
Thanks,
Xu Yang
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2026-07-20 10:48 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <20260611203537.1786399-1-andriy.shevchenko@linux.intel.com>
[not found] ` <20260611203537.1786399-4-andriy.shevchenko@linux.intel.com>
2026-07-18 14:18 ` [PATCH v4 3/3] device property: add test cases for fwnode_for_each_child_node() Danilo Krummrich
2026-07-19 8:37 ` Andy Shevchenko
2026-07-20 10:46 ` Xu Yang
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox