linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] firmware: ti_sci: inproper error handling of ti_sci_probe
@ 2021-12-28 10:01 Peiwei Hu
  2022-02-02 19:50 ` Nishanth Menon
  0 siblings, 1 reply; 2+ messages in thread
From: Peiwei Hu @ 2021-12-28 10:01 UTC (permalink / raw)
  To: nm, kristo, ssantosh; +Cc: linux-arm-kernel, linux-kernel, Peiwei Hu

goto out instead of returning directly in error exiting

Signed-off-by: Peiwei Hu <jlu.hpw@foxmail.com>
---
 drivers/firmware/ti_sci.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/firmware/ti_sci.c b/drivers/firmware/ti_sci.c
index 235c7e7869aa..4500456a9a27 100644
--- a/drivers/firmware/ti_sci.c
+++ b/drivers/firmware/ti_sci.c
@@ -3412,7 +3412,7 @@ static int ti_sci_probe(struct platform_device *pdev)
 		ret = register_restart_handler(&info->nb);
 		if (ret) {
 			dev_err(dev, "reboot registration fail(%d)\n", ret);
-			return ret;
+			goto out;
 		}
 	}
 
-- 
2.25.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] firmware: ti_sci: inproper error handling of ti_sci_probe
  2021-12-28 10:01 [PATCH] firmware: ti_sci: inproper error handling of ti_sci_probe Peiwei Hu
@ 2022-02-02 19:50 ` Nishanth Menon
  0 siblings, 0 replies; 2+ messages in thread
From: Nishanth Menon @ 2022-02-02 19:50 UTC (permalink / raw)
  To: ssantosh, kristo, Peiwei Hu
  Cc: Nishanth Menon, linux-arm-kernel, linux-kernel

Hi Peiwei Hu,

On Tue, 28 Dec 2021 18:01:03 +0800, Peiwei Hu wrote:
> goto out instead of returning directly in error exiting
> 
> 

I have applied the following to branch ti-drivers-soc-next on [1].
Thank you!

[1/1] firmware: ti_sci: inproper error handling of ti_sci_probe
      commit: a181bcfca937b34467e6cd63d7de6073176616e1

All being well this means that it will be integrated into the linux-next
tree (usually sometime in the next 24 hours) and sent up the chain during
the next merge window (or sooner if it is a relevant bug fix), however if
problems are discovered then the patch may be dropped or reverted.

You may get further e-mails resulting from automated or manual testing
and review of the tree, please engage with people reporting problems and
send followup patches addressing any issues that are reported if needed.

If any updates are required or you are submitting further changes they
should be sent as incremental updates against current git, existing
patches will not be replaced.

Please add any relevant lists and maintainers to the CCs when replying
to this mail.

[1] git://git.kernel.org/pub/scm/linux/kernel/git/ti/linux.git
-- 
Regards,
Nishanth Menon
Key (0xDDB5849D1736249D) / Fingerprint: F8A2 8693 54EB 8232 17A3  1A34 DDB5 849D 1736 249D


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-02-02 19:50 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-12-28 10:01 [PATCH] firmware: ti_sci: inproper error handling of ti_sci_probe Peiwei Hu
2022-02-02 19:50 ` Nishanth Menon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).