Commit f15c59d7 authored by Manish Pandey's avatar Manish Pandey Committed by TrustedFirmware Code Review
Browse files

Merge "io_fip: return -ENFILE when a file is already open" into integration

parents f7bfed69 6eb75a1a
...@@ -302,7 +302,7 @@ static int fip_file_open(io_dev_info_t *dev_info, const uintptr_t spec, ...@@ -302,7 +302,7 @@ static int fip_file_open(io_dev_info_t *dev_info, const uintptr_t spec,
*/ */
if (current_fip_file.entry.offset_address != 0U) { if (current_fip_file.entry.offset_address != 0U) {
WARN("fip_file_open : Only one open file at a time.\n"); WARN("fip_file_open : Only one open file at a time.\n");
return -ENOMEM; return -ENFILE;
} }
/* Attempt to access the FIP image */ /* Attempt to access the FIP image */
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment