From: Jaehoon Chung <jh80.chung@samsung.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH] EXYNOS: Fix USB compiler warning
Date: Tue, 10 Jul 2012 14:48:04 +0900 [thread overview]
Message-ID: <4FFBC214.8090400@samsung.com> (raw)
In-Reply-To: <1341898474-14729-1-git-send-email-rajeshwari.s@samsung.com>
Hi Rajeshwari,
How do you think about fixing other warning messages?
If you are inconvenience, i will fix it.
pinmux.c: In function 'exynos_pinmux_config':
pinmux.c:100:20: warning: 'gpio_func' may be used uninitialized in this function [-Wuninitialized]
pinmux.c:69:16: note: 'gpio_func' was declared here
pinmux.c:99:31: warning: 'start' may be used uninitialized in this function [-Wuninitialized]
pinmux.c:69:9: note: 'start' was declared here
Best Regards,
Jaehoon Chung
On 07/10/2012 02:34 PM, Rajeshwari Shinde wrote:
> Fixed the compiler warning message.
>
> Signed-off-by: Rajeshwari Shinde <rajeshwari.s@samsung.com>
> ---
> arch/arm/cpu/armv7/exynos/system.c | 1 -
> 1 files changed, 0 insertions(+), 1 deletions(-)
>
> diff --git a/arch/arm/cpu/armv7/exynos/system.c b/arch/arm/cpu/armv7/exynos/system.c
> index cc6ee03..4426611 100644
> --- a/arch/arm/cpu/armv7/exynos/system.c
> +++ b/arch/arm/cpu/armv7/exynos/system.c
> @@ -29,7 +29,6 @@ static void exynos5_set_usbhost_mode(unsigned int mode)
> {
> struct exynos5_sysreg *sysreg =
> (struct exynos5_sysreg *)samsung_get_base_sysreg();
> - unsigned int phy_cfg;
>
> /* Setting USB20PHY_CONFIG register to USB 2.0 HOST link */
> if (mode == USB20_PHY_CFG_HOST_LINK_EN) {
next prev parent reply other threads:[~2012-07-10 5:48 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-07-10 5:34 [U-Boot] [PATCH] EXYNOS: Fix USB compiler warning Rajeshwari Shinde
2012-07-10 5:37 ` Marek Vasut
2012-07-10 5:48 ` Jaehoon Chung [this message]
2012-07-10 5:56 ` Rajeshwari Birje
2012-07-10 6:50 ` Wolfgang Denk
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=4FFBC214.8090400@samsung.com \
--to=jh80.chung@samsung.com \
--cc=u-boot@lists.denx.de \
/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: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox