Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
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
8e7d9698
Unverified
Commit
8e7d9698
authored
6 years ago
by
Antonio Niño Díaz
Committed by
GitHub
6 years ago
Browse files
Options
Download
Plain Diff
Merge pull request #1753 from Yann-lms/emmc_ret
mmc: correctly check ret in mmc_fill_device_info
parents
7e9b0c8e
5f9984ef
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
drivers/mmc/mmc.c
+2
-2
drivers/mmc/mmc.c
with
2 additions
and
2 deletions
+2
-2
drivers/mmc/mmc.c
View file @
8e7d9698
/*
* Copyright (c) 2018, ARM Limited and Contributors. All rights reserved.
* Copyright (c) 2018
-2019
, ARM Limited and Contributors. All rights reserved.
*
* SPDX-License-Identifier: BSD-3-Clause
*/
...
...
@@ -300,7 +300,7 @@ static int mmc_fill_device_info(void)
break
;
}
if
(
ret
!=
0
)
{
if
(
ret
<
0
)
{
return
ret
;
}
...
...
This diff is collapsed.
Click to expand it.
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
Menu
Projects
Groups
Snippets
Help