linux/drivers/rapidio/devices
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
..
Kconfig rapidio/tsi721: convert to modular mport driver 2013-07-03 16:08:04 -07:00
Makefile rapidio: add mport char device driver 2016-03-22 15:36:02 -07:00
rio_mport_cdev.c rapidio: fix potential NULL pointer dereference 2016-04-28 19:34:04 -07:00
tsi721_dma.c rapidio/tsi721_dma: fix hardware error handling 2016-03-22 15:36:02 -07:00
tsi721.c rapidio/tsi721: add filtered debug output 2016-03-22 15:36:02 -07:00
tsi721.h rapidio/tsi721: add filtered debug output 2016-03-22 15:36:02 -07:00