Thank you.
Ack-ed.
> -Original Message-
> From: Vladimir Zapolskiy [mailto:v...@mleia.com]
> Sent: Thursday, April 21, 2016 4:05 PM
> To: Matt Porter; Bounine, Alexandre
> Cc: linux-kernel@vger.kernel.org
> Subject: [PATCH] rapidio: fix potential NULL pointer dereferen
Thank you.
Ack-ed.
> -Original Message-
> From: Vladimir Zapolskiy [mailto:v...@mleia.com]
> Sent: Thursday, April 21, 2016 4:05 PM
> To: Matt Porter; Bounine, Alexandre
> Cc: linux-kernel@vger.kernel.org
> Subject: [PATCH] rapidio: fix potential NULL pointer dereferen
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
---
drivers/rapidio/devices/rio_mport_cdev.c | 4
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
---
drivers/rapidio/devices/rio_mport_cdev.c | 4 ++--
1 file
4 matches
Mail list logo