linux-stable/drivers/rapidio
Vladimir Zapolskiy 99f23c2cde rapidio: fix potential NULL pointer dereference
The change fixes improper check for a returned error value by
class_create() function, which on error returns ERR_PTR() value, thus the
original check always results in a dead code on error path.

Signed-off-by: Vladimir Zapolskiy <vz@mleia.com>
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>
2016-04-28 19:34:04 -07:00
..
devices rapidio: fix potential NULL pointer dereference 2016-04-28 19:34:04 -07: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 mport char device driver 2016-03-22 15:36:02 -07:00
Makefile rapidio: add modular build option for the subsystem core 2013-07-03 16:08:05 -07: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: add outbound window support 2016-03-22 15:36:02 -07:00
rio.h rapidio: add core mport removal support 2016-03-22 15:36:02 -07:00