of_overlay_fdt_apply_kunit(9)
π of_overlay_fdt_apply_kunit(9) π
okay bestie, you're looking at the Kernel API Manual page for of_overlay_fdt_apply_kunit β the KUnit helper that's literally "test-managed overlay" coded. β¨
πΈ NAME πΈ
of_overlay_fdt_apply_kunit β Test managed of_overlay_fdt_apply()
π SYNOPSIS π
int of_overlay_fdt_apply_kunit (struct kunit *test , void *overlay_fdt ,
u32 overlay_fdt_size , int *ovcs_id );
π¦ ARGUMENTS π¦
testβ test context. it's the test's own little context bubble, the vibe check for the test itself πoverlay_fdtβ device tree overlay to apply. the actual overlay bestie, no cap πoverlay_fdt_sizeβ size in bytes ofoverlay_fdt. bytes, not vibes, okay? πovcs_idβ identifier of overlay, used to remove the overlay. keep it around for cleanup time π§Ή
β¨ DESCRIPTION β¨
Literally just like of_overlay_fdt_apply, except the overlay is managed by the test case and is automatically removed with of_overlay_remove after the test case concludes. the test case handles teardown, you just vibe π«Ά
π₯ RETURN π₯
0on success, negative errno on failure π
π SEE ALSO π
- Kernel file
./drivers/of/of_kunit_helpers.c of_root_kunit_skip(9)of_node_put_kunit(9)
made with π from ./drivers/of Β· October 2026 β slay, bestie, go test those overlays π
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms