]> www.infradead.org Git - users/jedix/linux-maple.git/commit
of: unittest: Add tests for changeset properties adding
authorHerve Codina <herve.codina@bootlin.com>
Mon, 27 May 2024 16:14:41 +0000 (18:14 +0200)
committerRob Herring (Arm) <robh@kernel.org>
Mon, 8 Jul 2024 23:40:30 +0000 (17:40 -0600)
commitaa5545ae62e890d01ce056021c8818460062672a
treebff74df550e1a77b8deda677c7877e876d7b031d
parent6badc62f8fa4a1165f3f440943045b73c7a47735
of: unittest: Add tests for changeset properties adding

No test cases are present to test the of_changes_add_prop_*() function
family.

Add a new test to fill this lack.
Functions tested are:
  - of_changes_add_prop_string()
  - of_changes_add_prop_string_array()
  - of_changeset_add_prop_u32()
  - of_changeset_add_prop_u32_array()

Signed-off-by: Herve Codina <herve.codina@bootlin.com>
Link: https://lore.kernel.org/r/20240527161450.326615-15-herve.codina@bootlin.com
Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
drivers/of/unittest.c