aboutsummaryrefslogtreecommitdiff
path: root/lib/test_fortify/write_overflow-strncpy-src.c
diff options
context:
space:
mode:
authorStephen Boyd <[email protected]>2024-02-16 17:05:56 -0800
committerRob Herring <[email protected]>2024-03-08 12:50:39 -0600
commit893ecc6d2d61381bc56991178cb3de697a948b78 (patch)
treeaab727749a6ac64b6fe4da4271f9980259b99c70 /lib/test_fortify/write_overflow-strncpy-src.c
parentd1eabd218edee6a6f0458a8705ebc02b860a624f (diff)
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 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions