aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation
diff options
context:
space:
mode:
authorGrant Likely <grant.likely@linaro.org>2014-11-19 17:13:44 +0000
committerGrant Likely <grant.likely@linaro.org>2014-11-20 15:32:49 +0000
commit788ec2fc2ca295a2d929986e95231214ecd8d142 (patch)
tree17f8d173bf4482bbdde8b7ce9c30d5a10ac033f5 /Documentation
parentof/selftest: Fix off-by-one error in removal path (diff)
downloadlinux-dev-788ec2fc2ca295a2d929986e95231214ecd8d142.tar.xz
linux-dev-788ec2fc2ca295a2d929986e95231214ecd8d142.zip
of/selftest: Fix testing when /aliases is missing
The /aliases node isn't always present in the device tree, but the unittest code assumes that /aliases is there. Add a check when inserting the testcase data to see if of_aliases needs to be updated, and undo the settings when the nodes are removed. Signed-off-by: Grant Likely <grant.likely@linaro.org> Cc: Rob Herring <robh+dt@kernel.org> Cc: Gaurav Minocha <gaurav.minocha.os@gmail.com> Cc: <stable@vger.kernel.org>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions