summaryrefslogtreecommitdiff
path: root/drivers/reset/reset-ath79.c
diff options
context:
space:
mode:
authorPhilipp Zabel <p.zabel@pengutronix.de>2016-06-20 14:05:14 +0300
committerPhilipp Zabel <p.zabel@pengutronix.de>2016-08-24 16:21:36 +0300
commita3774e146a14a78e4dc84b28e841f3e91a29c6e4 (patch)
treeea53600a171286c660dfac46959d1854c4a2e3df /drivers/reset/reset-ath79.c
parent54e991b56639437f922113b6b12f34e8044418d8 (diff)
downloadlinux-a3774e146a14a78e4dc84b28e841f3e91a29c6e4.tar.xz
reset: warn on invalid input to reset_control_reset/assert/deassert/status
Instead of potentially crashing, dump a backtrace and return -EINVAL if rstc is NULL or an error code. Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Diffstat (limited to 'drivers/reset/reset-ath79.c')
0 files changed, 0 insertions, 0 deletions