kernel_optimize_test/drivers/hwspinlock
Baolin Wang ddb34f480d hwspinlock: Fix incorrect return pointers
The commit 4f1acd758b ("hwspinlock: Add devm_xxx() APIs to request/free
hwlock") introduces one bug, that will return one error pointer if failed
to request one hwlock, but we expect NULL pointer on error for consumers.
This patch will fix this issue.

Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Baolin Wang <baolin.wang@linaro.org>
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
2018-07-30 20:54:51 -07:00
..
hwspinlock_core.c hwspinlock: Fix incorrect return pointers 2018-07-30 20:54:51 -07:00
hwspinlock_internal.h
Kconfig
Makefile
omap_hwspinlock.c hwspinlock updates for v4.18 2018-06-11 12:09:19 -07:00
qcom_hwspinlock.c
sirf_hwspinlock.c hwspinlock updates for v4.18 2018-06-11 12:09:19 -07:00
sprd_hwspinlock.c
u8500_hsem.c hwspinlock updates for v4.18 2018-06-11 12:09:19 -07:00