On 7/30/2017 9:31 PM, Keerthy wrote:
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 <j-keer...@ti.com>
---

Changes in v2:

   * Fixed returning an int to returning pointer.

Thanks. Will add it to the queue.

Reply via email to