Re: [PATCH v4 3/3] device property: add test cases for fwnode_for_each_child_node()
From: Andy Shevchenko
Date: Sun Jul 19 2026 - 04:38:09 EST
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@xxxxxxx>
> > Signed-off-by: Andy Shevchenko <andriy.shevchenko@xxxxxxxxxxxxxxx>
>
> 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@xxxxxxxxx/
--
With Best Regards,
Andy Shevchenko