• Grant Likely's avatar
    of/selftest: Add a test for duplicate phandles · 841ec213
    Grant Likely authored
    All phandles in the tree should be unique. Add a testcase to make sure
    that this is so.
    
    Note: this testcase fails on the current kernel because the selftest
    code itself ends up adding duplicate phandles. Before this testcase is
    merged the selftest code needs to be modified to resolve phandles before
    adding them.
    Signed-off-by: default avatarGrant Likely <grant.likely@linaro.org>
    Cc: Pantelis Antoniou <pantelis.antoniou@konsulko.com>
    841ec213
selftest.c 24.8 KB