diff options
author | 2022-01-27 13:50:31 -0800 | |
---|---|---|
committer | 2022-01-30 02:33:39 +0100 | |
commit | 5297c693d8c8e08fa742e3112cf70723f7a04da2 (patch) | |
tree | c8d9ada6b2d174c12733c207502a805172417e14 /scripts/gdb/linux/utils.py | |
parent | Merge tag 'intel-pinctrl-v5.17-4' of gitolite.kernel.org:pub/scm/linux/kernel/git/pinctrl/intel into fixes (diff) | |
download | wireguard-linux-5297c693d8c8e08fa742e3112cf70723f7a04da2.tar.xz wireguard-linux-5297c693d8c8e08fa742e3112cf70723f7a04da2.zip |
pinctrl: bcm2835: Fix a few error paths
After commit 266423e60ea1 ("pinctrl: bcm2835: Change init order for gpio
hogs") a few error paths would not unwind properly the registration of
gpio ranges. Correct that by assigning a single error label and goto it
whenever we encounter a fatal error.
Fixes: 266423e60ea1 ("pinctrl: bcm2835: Change init order for gpio hogs")
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Link: https://lore.kernel.org/r/20220127215033.267227-1-f.fainelli@gmail.com
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions