Hi All, On Sat, Jun 18, 2016 at 3:34 AM, <weiyj...@163.com> wrote: > From: Wei Yongjun <yongjun_...@trendmicro.com.cn> > > In case of error, the function kthread_run() returns ERR_PTR() > and never returns NULL. The NULL test in the return value check > should be replaced with IS_ERR(). > > Signed-off-by: Wei Yongjun <yongjun_...@trendmicro.com.cn>
The return value of wlan_initialize_threads() is only checked to be non-zero, so this looks right to me. Reviewed-by: Julian Calaby <julian.cal...@gmail.com> Thanks, -- Julian Calaby Email: julian.cal...@gmail.com Profile: http://www.google.com/profiles/julian.calaby/ _______________________________________________ devel mailing list de...@linuxdriverproject.org http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel