linux-stable/drivers/rapidio
Alexandre Bounine 06e1b2497c rapidio: fix error handling in mbox request/release functions
Add checking for error code returned by HW-specific mbox open routines.
Ensure that resources are properly release if failed.

This patch is applicable to kernel versions starting from v2.6.15.

Link: http://lkml.kernel.org/r/1469125134-16523-9-git-send-email-alexandre.bounine@idt.com
Signed-off-by: Alexandre Bounine <alexandre.bounine@idt.com>
Cc: Matt Porter <mporter@kernel.crashing.org>
Cc: Andre van Herk <andre.van.herk@prodrive-technologies.com>
Cc: Barry Wood <barry.wood@idt.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2016-08-02 19:35:36 -04:00
..
devices rapidio/tsi721_dma: advance queue processing from transfer submit call 2016-08-02 19:35:35 -04:00
switches Merge branch 'upstream' of git://git.linux-mips.org/pub/scm/ralf/upstream-linus 2013-07-13 14:52:21 -07:00
Kconfig rapidio: add RapidIO channelized messaging driver 2016-08-02 19:35:31 -04:00
Makefile rapidio: add RapidIO channelized messaging driver 2016-08-02 19:35:31 -04:00
rio-access.c
rio-driver.c rapidio: add shutdown notification for RapidIO devices 2016-03-22 15:36:02 -07:00
rio-scan.c rapidio: move rio_pw_enable into core code 2016-03-22 15:36:02 -07:00
rio-sysfs.c rapidio: use kobj_to_dev() 2016-01-20 17:09:18 -08:00
rio.c rapidio: fix error handling in mbox request/release functions 2016-08-02 19:35:36 -04:00
rio.h rapidio: add core mport removal support 2016-03-22 15:36:02 -07:00
rio_cm.c rapidio: add RapidIO channelized messaging driver 2016-08-02 19:35:31 -04:00