diff options
| author | Chen-Yu Tsai <wenst@chromium.org> | 2026-05-12 18:33:45 +0800 |
|---|---|---|
| committer | Manivannan Sadhasivam <mani@kernel.org> | 2026-05-19 19:56:41 +0530 |
| commit | 8ba433753d9b131c2e43b1ff7ba8c5730cef8231 (patch) | |
| tree | 301acfbfec5077e32ccfb73920541da388ce2e86 /include/linux/debugobjects.h | |
| parent | d39d55d7411c18ca6aeb63aafa8035f4ad8b317f (diff) | |
PCI: mediatek-gen3: Fix incorrectly skipped pwrctrl error message
When pwrctrl integration was added, the error message for
pci_pwrctrl_create_devices() failure was incorrectly added after the goto
statement, causing it to be skipped.
Move the goto statement after the dev_err_probe() call so that the
error message actually gets printed (or saved if probe is deferred).
Fixes: 1a152e21940a ("PCI: mediatek-gen3: Integrate new pwrctrl API")
Reported-by: Dan Carpenter <error27@gmail.com>
Closes: https://lore.kernel.org/all/adjNaKB5KGpl6qIp@stanley.mountain/
Signed-off-by: Chen-Yu Tsai <wenst@chromium.org>
Signed-off-by: Manivannan Sadhasivam <mani@kernel.org>
Reviewed-by: Hans Zhang <18255117159@163.com>
Link: https://patch.msgid.link/20260512103347.1751080-1-wenst@chromium.org
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions
