diff options
author | Philipp Zabel <p.zabel@pengutronix.de> | 2016-06-20 14:05:14 +0300 |
---|---|---|
committer | Philipp Zabel <p.zabel@pengutronix.de> | 2016-08-24 16:21:36 +0300 |
commit | a3774e146a14a78e4dc84b28e841f3e91a29c6e4 (patch) | |
tree | ea53600a171286c660dfac46959d1854c4a2e3df /drivers/reset/reset-ath79.c | |
parent | 54e991b56639437f922113b6b12f34e8044418d8 (diff) | |
download | linux-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