From: Jiri Slaby Date: Sat, 10 Feb 2007 09:45:20 +0000 (-0800) Subject: [PATCH] Char: mxser_new, fix twice resource releasing X-Git-Tag: v2.6.21-rc1~274^2~333 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=45257fa9a5070e4c0739af1f81848ad557472b40;p=pandora-kernel.git [PATCH] Char: mxser_new, fix twice resource releasing Because brd->info is not NULLed, resources are released twice. NULL it in pci_remove function. Also take care of retval and releasing in pci_probe -- mxser_initbrd alreasy releases resource, do not do it again in fail path in probe function. Cc: Sergei Organov Signed-off-by: Jiri Slaby Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed