OpenCloudOS-Kernel/drivers/rapidio
Dan Carpenter ad4ac17ad1 rapidio: fix potential null deref on failure path
If rio is not a switch then "rswitch" is null.

Signed-off-by: Dan Carpenter <error27@gmail.com>
Cc: Matt Porter <mporter@kernel.crashing.org>
Cc: Kumar Gala <galak@kernel.crashing.org>
Signed-off-by: Alexandre Bounine <alexandre.bounine@idt.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2011-03-23 19:46:44 -07:00
..
switches rapidio: change to new flag variable 2011-03-17 14:05:35 +01:00
Kconfig rapidio: add debug configuration option 2010-05-27 09:12:51 -07:00
Makefile rapidio: change to new flag variable 2011-03-17 14:05:35 +01:00
rio-access.c [RAPIDIO] Add RapidIO multi mport support 2008-04-29 19:40:28 +10:00
rio-driver.c rapidio: fix RapidIO sysfs hierarchy 2010-10-27 18:03:15 -07:00
rio-scan.c rapidio: fix potential null deref on failure path 2011-03-23 19:46:44 -07:00
rio-sysfs.c rapidio: modify configuration to support PCI-SRIO controller 2011-03-23 19:46:42 -07:00
rio.c rapidio: remove mport resource reservation from common RIO code 2011-03-23 19:46:43 -07:00
rio.h rapidio: add handling of redundant routes 2010-10-27 18:03:16 -07:00