commit | cd12044c0e765b250b4f6a1a5927745dc2da29db | [log] [tgz] |
---|---|---|
author | Samuel Holland <samuel@sholland.org> | Sat Jan 16 01:21:38 2021 -0600 |
committer | Samuel Holland <samuel@sholland.org> | Sun Jan 24 17:15:41 2021 -0600 |
tree | e70d2d978753a55b036d33d94a044920eda9df5c | |
parent | e0dc779ceb8d3d12a701b6aa6c020e44f95987e1 [diff] |
allwinner: psci: Invert check in .validate_ns_entrypoint Checking the exceptional case and letting the success case fall through is not only more idiomatic, but it also allows adding more exceptional cases in the future, such as a check for overlapping secure DRAM. Change-Id: I720441a6a8853fd7f211ebe851f14d921a6db03d Signed-off-by: Samuel Holland <samuel@sholland.org>