aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/cdns3/cdns3-trace.c
diff options
context:
space:
mode:
authorStephen Boyd <[email protected]>2024-02-17 01:05:56 +0000
committerRob Herring <[email protected]>2024-03-08 18:50:39 +0000
commit893ecc6d2d61381bc56991178cb3de697a948b78 (patch)
treeaab727749a6ac64b6fe4da4271f9980259b99c70 /drivers/usb/cdns3/cdns3-trace.c
parentof: unittest: treat missing of_root as error instead of fixing up (diff)
downloadkernel-893ecc6d2d61381bc56991178cb3de697a948b78.tar.gz
kernel-893ecc6d2d61381bc56991178cb3de697a948b78.zip
of: Add KUnit test to confirm DTB is loaded
Add a KUnit test that confirms a DTB has been loaded, i.e. there is a root node, and that the of_have_populated_dt() API works properly. We skip the test when CONFIG_OF_EARLY_FLATREE=n because in that case we know architecture code hasn't called unflatten_(and_copy_)?device_tree() which would populate some sort of root node. Cc: Rob Herring <[email protected]> Cc: Frank Rowand <[email protected]> Reviewed-by: David Gow <[email protected]> Cc: Brendan Higgins <[email protected]> Signed-off-by: Stephen Boyd <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Rob Herring <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-trace.c')
0 files changed, 0 insertions, 0 deletions