Re: [PATCH 14/18] staging: gasket: fix class create bug handling

2018-07-14 Thread Dmitry Torokhov
On Sat, Jul 14, 2018 at 8:59 AM Todd Poynor wrote: > > From: Todd Poynor > > class_create() never returns NULL, and this driver should never return > PTR_ERR(NULL) anyway. > > Reported-by: Dmitry Torokhov > Signed-off-by: Zhongze Hu > Signed-off-by: Todd Poynor Reviewed-by: Dmitry Torokhov

[PATCH 14/18] staging: gasket: fix class create bug handling

2018-07-13 Thread Todd Poynor
From: Todd Poynor class_create() never returns NULL, and this driver should never return PTR_ERR(NULL) anyway. Reported-by: Dmitry Torokhov Signed-off-by: Zhongze Hu Signed-off-by: Todd Poynor --- drivers/staging/gasket/gasket_core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) dif