From: Alexey Khoroshilov Date: Thu, 7 Feb 2013 00:00:34 +0000 (+0100) Subject: pcmcia: synclink_cs: fix error handling in mgslpc_probe() X-Git-Tag: v3.9-rc1~124^2~13 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d34138d057628211b1c835e13a64d0cc2423c969;p=pandora-kernel.git pcmcia: synclink_cs: fix error handling in mgslpc_probe() mgslpc_probe() ignores errors in mgslpc_add_device() and does not release all resource if mgslpc_config() failed. The patch adds returned code to mgslpc_add_device() and fixes the both issues. Found by Linux Driver Verification project (linuxtesting.org). Signed-off-by: Alexey Khoroshilov Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed