diff options
author | Dan Carpenter <error27@gmail.com> | 2009-04-10 21:31:10 (GMT) |
---|---|---|
committer | Pierre Ossman <pierre@ossman.eu> | 2009-05-03 20:11:19 (GMT) |
commit | c60a32cd129b1c41f98888b03ba2904406bac8f8 (patch) | |
tree | a80cf164fc2de787c4b04240726828b116069c0d /drivers/mmc/host/sdhci.h | |
parent | 548d2de9bd978a4d4e941477500f1ab97aade137 (diff) | |
download | linux-fsl-qoriq-c60a32cd129b1c41f98888b03ba2904406bac8f8.tar.xz |
sdhci-pci: bad error handling in probe function
The goto unmap is too early, we haven't allocated host or done the
request_region().
Found by smatch (http://repo.or.cz/w/smatch.git).
[ Second error path fix by Pierre Ossman ]
Signed-off-by: Dan Carpenter <error27@gmail.com>
Signed-off-by: Pierre Ossman <pierre@ossman.eu>
Diffstat (limited to 'drivers/mmc/host/sdhci.h')
0 files changed, 0 insertions, 0 deletions