mirror of
https://github.com/ARM-software/arm-trusted-firmware.git
synced 2025-04-25 06:19:56 +00:00
Merge "io_fip: return -ENFILE when a file is already open" into integration
This commit is contained in:
commit
f15c59d7ac
1 changed files with 1 additions and 1 deletions
|
@ -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 */
|
||||||
|
|
Loading…
Add table
Reference in a new issue