Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
Arm Trusted Firmware
Commits
f15c59d7
Commit
f15c59d7
authored
Jul 21, 2020
by
Manish Pandey
Committed by
TrustedFirmware Code Review
Jul 21, 2020
Browse files
Merge "io_fip: return -ENFILE when a file is already open" into integration
parents
f7bfed69
6eb75a1a
Changes
1
Show whitespace changes
Inline
Side-by-side
drivers/io/io_fip.c
View file @
f15c59d7
...
@@ -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
-
EN
OMEM
;
return
-
EN
FILE
;
}
}
/* Attempt to access the FIP image */
/* Attempt to access the FIP image */
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment