diff options
author | 2021-06-07 10:26:15 +0200 | |
---|---|---|
committer | 2021-06-07 11:26:31 +0200 | |
commit | 4fb26fb83f0def3d39c14e268bcd4003aae8fade (patch) | |
tree | 49589e55f098e2c04ac377eb6a5fdb222da99614 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | reset: mchp: sparx5: fix return value check in mchp_sparx5_map_io() (diff) | |
download | wireguard-linux-4fb26fb83f0def3d39c14e268bcd4003aae8fade.tar.xz wireguard-linux-4fb26fb83f0def3d39c14e268bcd4003aae8fade.zip |
reset: bail if try_module_get() fails
Abort instead of returning a new reset control for a reset controller
device that is going to have its module unloaded.
Reported-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Fixes: 61fc41317666 ("reset: Add reset controller API")
Acked-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Link: https://lore.kernel.org/r/20210607082615.15160-1-p.zabel@pengutronix.de
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions