diff options
| author | 2022-09-19 11:12:49 +0800 | |
|---|---|---|
| committer | 2022-09-21 09:31:22 +0200 | |
| commit | 21a9acc162457402c74c5c1e16471fda6eb090c0 (patch) | |
| tree | 5d1ffb84ed8db117d2d746d9da14ecb37c036623 /tools/scripts/ssh:/git@git.zx2c4.com/git: | |
| parent | gpio: ftgpio010: Make irqchip immutable (diff) | |
| download | linux-dev-21a9acc162457402c74c5c1e16471fda6eb090c0.tar.xz linux-dev-21a9acc162457402c74c5c1e16471fda6eb090c0.zip | |
gpio: tqmx86: fix uninitialized variable girq
The commit 924610607f19 ("gpio: tpmx86: Move PM device over to
irq domain") adds a dereference of girq that may be uninitialized.
Fix this by moving irq_domain_set_pm_device into if true branch
as suggested by Marc Zyngier.
Fixes: 924610607f19 ("gpio: tpmx86: Move PM device over to irq domain")
Suggested-by: Marc Zyngier <maz@kernel.org>
Signed-off-by: Dongliang Mu <mudongliangabcd@gmail.com>
Acked-by: Marc Zyngier <maz@kernel.org>
Signed-off-by: Bartosz Golaszewski <brgl@bgdev.pl>
Diffstat (limited to 'tools/scripts/ssh:/git@git.zx2c4.com/git:')
0 files changed, 0 insertions, 0 deletions
