From: Joseph Lo <josephl-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org> To: Stephen Warren <swarren-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org> Cc: linux-tegra-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org, Hiroshi Doyu <hdoyu-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>, Joseph Lo <josephl-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org> Subject: [PATCH 1/3] ARM: tegra: Fix unchecked return value Date: Fri, 22 Feb 2013 14:24:25 +0800 [thread overview] Message-ID: <1361514267-12111-1-git-send-email-josephl@nvidia.com> (raw) From: Hiroshi Doyu <hdoyu-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org> Check a return value for tegra_powergate_remove_clamping(). Signed-off-by: Hiroshi Doyu <hdoyu-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org> Signed-off-by: Joseph Lo <josephl-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org> --- arch/arm/mach-tegra/platsmp.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm/mach-tegra/platsmp.c b/arch/arm/mach-tegra/platsmp.c index 2c6b3d5..4dfc75e 100644 --- a/arch/arm/mach-tegra/platsmp.c +++ b/arch/arm/mach-tegra/platsmp.c @@ -124,6 +124,9 @@ remove_clamps: /* Remove I/O clamps. */ ret = tegra_powergate_remove_clamping(pwrgateid); + if (ret) + return ret; + udelay(10); /* Clear flow controller CSR. */ -- 1.8.1.1
WARNING: multiple messages have this Message-ID (diff)
From: josephl@nvidia.com (Joseph Lo) To: linux-arm-kernel@lists.infradead.org Subject: [PATCH 1/3] ARM: tegra: Fix unchecked return value Date: Fri, 22 Feb 2013 14:24:25 +0800 [thread overview] Message-ID: <1361514267-12111-1-git-send-email-josephl@nvidia.com> (raw) From: Hiroshi Doyu <hdoyu@nvidia.com> Check a return value for tegra_powergate_remove_clamping(). Signed-off-by: Hiroshi Doyu <hdoyu@nvidia.com> Signed-off-by: Joseph Lo <josephl@nvidia.com> --- arch/arm/mach-tegra/platsmp.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm/mach-tegra/platsmp.c b/arch/arm/mach-tegra/platsmp.c index 2c6b3d5..4dfc75e 100644 --- a/arch/arm/mach-tegra/platsmp.c +++ b/arch/arm/mach-tegra/platsmp.c @@ -124,6 +124,9 @@ remove_clamps: /* Remove I/O clamps. */ ret = tegra_powergate_remove_clamping(pwrgateid); + if (ret) + return ret; + udelay(10); /* Clear flow controller CSR. */ -- 1.8.1.1
next reply other threads:[~2013-02-22 6:24 UTC|newest] Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top 2013-02-22 6:24 Joseph Lo [this message] 2013-02-22 6:24 ` [PATCH 1/3] ARM: tegra: Fix unchecked return value Joseph Lo [not found] ` <1361514267-12111-1-git-send-email-josephl-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org> 2013-02-22 6:24 ` [PATCH 2/3] ARM: tegra30: fix the logical detection of power on sequence of warm boot CPUs Joseph Lo 2013-02-22 6:24 ` Joseph Lo 2013-02-22 6:24 ` [PATCH 3/3] ARM: tegra: refactor tegra{20,30}_boot_secondary Joseph Lo 2013-02-22 6:24 ` Joseph Lo [not found] ` <1361514267-12111-3-git-send-email-josephl-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org> 2013-02-22 18:28 ` Stephen Warren 2013-02-22 18:28 ` Stephen Warren [not found] ` <5127B8CC.3030808-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org> 2013-02-23 4:06 ` Joseph Lo 2013-02-23 4:06 ` Joseph Lo [not found] ` <1361592380.1804.20.camel-yx3yKKdKkHfc7b1ADBJPm0n48jw8i0AO@public.gmane.org> 2013-02-23 4:33 ` Stephen Warren 2013-02-23 4:33 ` Stephen Warren 2013-03-06 21:29 ` [PATCH 1/3] ARM: tegra: Fix unchecked return value Stephen Warren 2013-03-06 21:29 ` Stephen Warren
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=1361514267-12111-1-git-send-email-josephl@nvidia.com \ --to=josephl-ddmlm1+adcrqt0dzr+alfa@public.gmane.org \ --cc=hdoyu-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org \ --cc=linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org \ --cc=linux-tegra-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \ --cc=swarren-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.