Commit 1415307a authored by Pankaj Kumar's avatar Pankaj Kumar

Added return value check

parent 5d6068bb
......@@ -86,7 +86,7 @@ void free_cdt_root(struct cdt_root_node *cdt_node)
#ifdef KERNEL
ret = mutex_lock_interruptible(&cdt_cache.lock);
#else
pthread_mutex_lock(&cdt_cache.lock);
ret = pthread_mutex_lock(&cdt_cache.lock);
#endif
if (ret) {
LCD_ERR("interrupted");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment