Skip to content
Snippets Groups Projects
Commit c60a32cd authored by Dan Carpenter's avatar Dan Carpenter Committed by Pierre Ossman
Browse files

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: default avatarDan Carpenter <error27@gmail.com>
Signed-off-by: default avatarPierre Ossman <pierre@ossman.eu>
parent 548d2de9
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment