Re: [PATCH] soc: ti: knav: Add a NULL pointer check for kdev in knav_pool_create

2017-07-29 Thread kbuild test robot
Hi Keerthy, [auto build test WARNING on keystone/next] [also build test WARNING on v4.13-rc2 next-20170728] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/Keerthy/soc-ti-knav-Add-a-NULL-pointer-

[PATCH] soc: ti: knav: Add a NULL pointer check for kdev in knav_pool_create

2017-07-28 Thread Keerthy
knav_pool_create is an exported function. In the event of a call before knav_queue_probe, we encounter a NULL pointer dereference in the following line. Hence return -EPROBE_DEFER to the caller till the kdev pointer is non-NULL. Signed-off-by: Keerthy --- drivers/soc/ti/knav_qmss_queue.c | 3 +++