summaryrefslogtreecommitdiff
path: root/lib/psci/psci_main.c
diff options
context:
space:
mode:
authorNishanth Menon <nm@ti.com>2017-05-01 12:26:34 -0500
committerNishanth Menon <nm@ti.com>2017-05-02 07:05:42 -0500
commit7055e6fa32ef218e23a141ce79748439447abd0b (patch)
tree1ac1620f4aa32912758af2eea40691dd45449489 /lib/psci/psci_main.c
parentdd454b40dfe42dbf77e2f04a3965295380b4f78d (diff)
xlat lib: Don't set mmap_attr_t enum to be -1
-1 is not a defined mmap_attr_t type. Instead of using invalid enum types, we can either choose to define a INVALID type OR handle the condition specifically. Since the usage of mmap_region_attr is limited, it is easier to just handle the error condition specifically and return 0 or -1 depending on success or fail. Fixes: ARM-Software/tf-issues#473 Fixes: 28fa2e9ee8f4 ("xlat lib: Use mmap_attr_t type consistently") Signed-off-by: Nishanth Menon <nm@ti.com>
Diffstat (limited to 'lib/psci/psci_main.c')
0 files changed, 0 insertions, 0 deletions