diff options
author | Jiri Slaby <jirislaby@gmail.com> | 2007-02-10 01:45:20 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-02-11 10:51:29 -0800 |
commit | 45257fa9a5070e4c0739af1f81848ad557472b40 (patch) | |
tree | 9d258e4ca9f76a60ab190d2d49c8d0c8f0af3b15 /Documentation | |
parent | 18b95576bc6b9ef9270ec778e1d545c0ca8bbbbb (diff) | |
download | blackbird-op-linux-45257fa9a5070e4c0739af1f81848ad557472b40.tar.gz blackbird-op-linux-45257fa9a5070e4c0739af1f81848ad557472b40.zip |
[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 <osv@javad.com>
Signed-off-by: Jiri Slaby <jirislaby@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions