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
8e7d9698
Unverified
Commit
8e7d9698
authored
Jan 31, 2019
by
Antonio Niño Díaz
Committed by
GitHub
Jan 31, 2019
Browse files
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
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
;
}
...
...
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