diff options
author | 2014-10-01 07:14:11 -0500 | |
---|---|---|
committer | 2014-11-10 12:40:28 +0100 | |
commit | 4b75bffc77c40ac3c17a3ea9bbdc3a733c34591b (patch) | |
tree | d8a46bc8af6e5fa47794199ef83992a4bae117a2 /drivers/mmc/host/mmci.c | |
parent | mmc: core: Add debug message for SET_BLOCK_COUNT result (diff) | |
download | wireguard-linux-4b75bffc77c40ac3c17a3ea9bbdc3a733c34591b.tar.xz wireguard-linux-4b75bffc77c40ac3c17a3ea9bbdc3a733c34591b.zip |
mmc: core: Fix error paths and messages in mmc_init_card
In mmc_init_card function some of the branches in error handling paths
go to "err" label, which skips removing of newly allocated card structure,
that will actually not be used. Fix that by using proper "free_card" label.
Also, some messages in these branches are reported as warnings,
although the operation processing is not continued. Change these
messages to error level.
Signed-off-by: Andrew Gabbasov <andrew_gabbasov@mentor.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'drivers/mmc/host/mmci.c')
0 files changed, 0 insertions, 0 deletions