From: Andrew Gabbasov Date: Wed, 1 Oct 2014 12:14:11 +0000 (-0500) Subject: mmc: core: Fix error paths and messages in mmc_init_card X-Git-Tag: omap-for-v3.19/fixes-for-merge-window~28^2~116 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4b75bffc77c40ac3c17a3ea9bbdc3a733c34591b;p=pandora-kernel.git 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 Signed-off-by: Ulf Hansson --- Reading git-diff-tree failed