linux_dsm_epyc7002/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
Kconfig rapidio: add mport char device driver 2016-03-22 15:36:02 -07:00
Makefile
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
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