linux-stable-rt/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
Makefile rapidio: change to new flag variable 2011-03-17 14:05:35 +01:00
rio-access.c
rio-driver.c
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