* [U-Boot] [PATCH 1/2] arch/powerpc/cpu/mpc512x/pci.c: Fix GCC 4.6 warnings
@ 2011-11-10 22:21 Anatolij Gustschin
2011-11-10 22:21 ` [U-Boot] [PATCH 2/2] arch/powerpc/cpu/mpc512x/i2c.c: " Anatolij Gustschin
2011-11-16 20:12 ` [U-Boot] [PATCH 1/2] arch/powerpc/cpu/mpc512x/pci.c: " Wolfgang Denk
0 siblings, 2 replies; 4+ messages in thread
From: Anatolij Gustschin @ 2011-11-10 22:21 UTC (permalink / raw)
To: u-boot
Fix:
pci.c: In function 'pci_init_board':
pci.c:55:26: warning: variable 'pci_conf' set but not used
[-Wunused-but-set-variable]
Signed-off-by: Anatolij Gustschin <agust@denx.de>
---
arch/powerpc/cpu/mpc512x/pci.c | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)
diff --git a/arch/powerpc/cpu/mpc512x/pci.c b/arch/powerpc/cpu/mpc512x/pci.c
index 141db8b..16f034d 100644
--- a/arch/powerpc/cpu/mpc512x/pci.c
+++ b/arch/powerpc/cpu/mpc512x/pci.c
@@ -52,7 +52,6 @@ pci_init_board(void)
volatile law512x_t *pci_law;
volatile pot512x_t *pci_pot;
volatile pcictrl512x_t *pci_ctrl;
- volatile pciconf512x_t *pci_conf;
u16 reg16;
u32 reg32;
u32 dev;
@@ -73,7 +72,6 @@ pci_init_board(void)
pci_law = im->sysconf.pcilaw;
pci_pot = im->ios.pot;
pci_ctrl = &im->pci_ctrl;
- pci_conf = &im->pci_conf;
hose = &pci_hose;
--
1.7.6.4
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [U-Boot] [PATCH 2/2] arch/powerpc/cpu/mpc512x/i2c.c: Fix GCC 4.6 warnings
2011-11-10 22:21 [U-Boot] [PATCH 1/2] arch/powerpc/cpu/mpc512x/pci.c: Fix GCC 4.6 warnings Anatolij Gustschin
@ 2011-11-10 22:21 ` Anatolij Gustschin
2011-11-16 20:13 ` Wolfgang Denk
2011-11-16 20:12 ` [U-Boot] [PATCH 1/2] arch/powerpc/cpu/mpc512x/pci.c: " Wolfgang Denk
1 sibling, 1 reply; 4+ messages in thread
From: Anatolij Gustschin @ 2011-11-10 22:21 UTC (permalink / raw)
To: u-boot
Fix:
i2c.c: In function 'wait_for_bb':
i2c.c:81:16: warning: variable 'temp' set but not used
[-Wunused-but-set-variable]
Signed-off-by: Anatolij Gustschin <agust@denx.de>
---
arch/powerpc/cpu/mpc512x/i2c.c | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/arch/powerpc/cpu/mpc512x/i2c.c b/arch/powerpc/cpu/mpc512x/i2c.c
index e2d9097..0ea1280 100644
--- a/arch/powerpc/cpu/mpc512x/i2c.c
+++ b/arch/powerpc/cpu/mpc512x/i2c.c
@@ -78,9 +78,8 @@ static int wait_for_bb (void)
status = mpc_reg_in (®s->msr);
while (timeout-- && (status & I2C_BB)) {
- volatile int temp;
mpc_reg_out (®s->mcr, I2C_STA, I2C_STA);
- temp = mpc_reg_in (®s->mdr);
+ (void)mpc_reg_in(®s->mdr);
mpc_reg_out (®s->mcr, 0, I2C_STA);
mpc_reg_out (®s->mcr, 0, 0);
mpc_reg_out (®s->mcr, I2C_EN, 0);
--
1.7.6.4
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [U-Boot] [PATCH 1/2] arch/powerpc/cpu/mpc512x/pci.c: Fix GCC 4.6 warnings
2011-11-10 22:21 [U-Boot] [PATCH 1/2] arch/powerpc/cpu/mpc512x/pci.c: Fix GCC 4.6 warnings Anatolij Gustschin
2011-11-10 22:21 ` [U-Boot] [PATCH 2/2] arch/powerpc/cpu/mpc512x/i2c.c: " Anatolij Gustschin
@ 2011-11-16 20:12 ` Wolfgang Denk
1 sibling, 0 replies; 4+ messages in thread
From: Wolfgang Denk @ 2011-11-16 20:12 UTC (permalink / raw)
To: u-boot
Dear Anatolij Gustschin,
In message <1320963704-568-1-git-send-email-agust@denx.de> you wrote:
> Fix:
> pci.c: In function 'pci_init_board':
> pci.c:55:26: warning: variable 'pci_conf' set but not used
> [-Wunused-but-set-variable]
>
> Signed-off-by: Anatolij Gustschin <agust@denx.de>
> ---
> arch/powerpc/cpu/mpc512x/pci.c | 2 --
> 1 files changed, 0 insertions(+), 2 deletions(-)
Applied, thanks.
Best regards,
Wolfgang Denk
--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Lots of folks confuse bad management with destiny. -- Frank Hubbard
^ permalink raw reply [flat|nested] 4+ messages in thread
* [U-Boot] [PATCH 2/2] arch/powerpc/cpu/mpc512x/i2c.c: Fix GCC 4.6 warnings
2011-11-10 22:21 ` [U-Boot] [PATCH 2/2] arch/powerpc/cpu/mpc512x/i2c.c: " Anatolij Gustschin
@ 2011-11-16 20:13 ` Wolfgang Denk
0 siblings, 0 replies; 4+ messages in thread
From: Wolfgang Denk @ 2011-11-16 20:13 UTC (permalink / raw)
To: u-boot
Dear Anatolij Gustschin,
In message <1320963704-568-2-git-send-email-agust@denx.de> you wrote:
> Fix:
> i2c.c: In function 'wait_for_bb':
> i2c.c:81:16: warning: variable 'temp' set but not used
> [-Wunused-but-set-variable]
>
> Signed-off-by: Anatolij Gustschin <agust@denx.de>
> ---
> arch/powerpc/cpu/mpc512x/i2c.c | 3 +--
> 1 files changed, 1 insertions(+), 2 deletions(-)
Applied, thanks.
Best regards,
Wolfgang Denk
--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Of all the things I've lost, I miss my mind the most.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2011-11-16 20:13 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-11-10 22:21 [U-Boot] [PATCH 1/2] arch/powerpc/cpu/mpc512x/pci.c: Fix GCC 4.6 warnings Anatolij Gustschin
2011-11-10 22:21 ` [U-Boot] [PATCH 2/2] arch/powerpc/cpu/mpc512x/i2c.c: " Anatolij Gustschin
2011-11-16 20:13 ` Wolfgang Denk
2011-11-16 20:12 ` [U-Boot] [PATCH 1/2] arch/powerpc/cpu/mpc512x/pci.c: " Wolfgang Denk
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.