public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] Commit 3865ceb7 breaks vexpress_aemv8a build with warnings
@ 2014-01-30 14:35 Albert ARIBAUD
  2014-01-30 14:44 ` bhupesh.sharma at freescale.com
  0 siblings, 1 reply; 3+ messages in thread
From: Albert ARIBAUD @ 2014-01-30 14:35 UTC (permalink / raw)
  To: u-boot

Hello,

I have just noticed that vexpress_aemv8a seems broken with v2014.01,
using gcc version 4.8.1 (Ubuntu/Linaro 4.8.1-10ubuntu9).

The symptom is a lot of warnings like

smc91111_eeprom.c: In function 'dump_reg':
/home/albert/src/u-boot-arm/include/../drivers/net/smc91111.h:261:28:
warning: cast to pointer from integer of different size
[-Wint-to-pointer-cast] #define SMC_outw(a,d,r) (*((volatile word
*)((a)->iobase+(r))) = d)
^ /home/albert/src/u-boot-arm/include/../drivers/net/smc91111.h:747:33:
note: in expansion of macro 'SMC_outw' #define SMC_SELECT_BANK(a,x)
{ SMC_outw((a), (x), BANK_SELECT ); }

A rough search shows that the issue originates in commit 3865ceb7
("vexpress/armv8: Fix incorrect ethernet controller") submitted by
Bhupesh Sharma and committed by Tom Rini, both Cc:ed.

Bupesh, can you investigate?

Amicalement,
-- 
Albert.

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

* [U-Boot] Commit 3865ceb7 breaks vexpress_aemv8a build with warnings
  2014-01-30 14:35 [U-Boot] Commit 3865ceb7 breaks vexpress_aemv8a build with warnings Albert ARIBAUD
@ 2014-01-30 14:44 ` bhupesh.sharma at freescale.com
  2014-01-30 16:23   ` Albert ARIBAUD
  0 siblings, 1 reply; 3+ messages in thread
From: bhupesh.sharma at freescale.com @ 2014-01-30 14:44 UTC (permalink / raw)
  To: u-boot

> -----Original Message-----
> From: Albert ARIBAUD [mailto:albert.u.boot at aribaud.net]
> Sent: Thursday, January 30, 2014 8:06 PM
> To: U-Boot
> Cc: Sharma Bhupesh-B45370; Tom Rini
> Subject: Commit 3865ceb7 breaks vexpress_aemv8a build with warnings
> 
> Hello,
> 
> I have just noticed that vexpress_aemv8a seems broken with v2014.01,
> using gcc version 4.8.1 (Ubuntu/Linaro 4.8.1-10ubuntu9).
> 
> The symptom is a lot of warnings like
> 
> smc91111_eeprom.c: In function 'dump_reg':
> /home/albert/src/u-boot-arm/include/../drivers/net/smc91111.h:261:28:
> warning: cast to pointer from integer of different size [-Wint-to-
> pointer-cast] #define SMC_outw(a,d,r) (*((volatile word
> *)((a)->iobase+(r))) = d)
> ^ /home/albert/src/u-boot-arm/include/../drivers/net/smc91111.h:747:33:
> note: in expansion of macro 'SMC_outw' #define SMC_SELECT_BANK(a,x) {
> SMC_outw((a), (x), BANK_SELECT ); }
> 
> A rough search shows that the issue originates in commit 3865ceb7
> ("vexpress/armv8: Fix incorrect ethernet controller") submitted by
> Bhupesh Sharma and committed by Tom Rini, both Cc:ed.
> 
> Bupesh, can you investigate?
> 

I did post a reply to a mail on similar lines before:
http://comments.gmane.org/gmane.comp.boot-loaders.u-boot/178502

I did not get much time to look into the same.
Let me try the same tomorrow.

Regards,
Bhupesh

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

* [U-Boot] Commit 3865ceb7 breaks vexpress_aemv8a build with warnings
  2014-01-30 14:44 ` bhupesh.sharma at freescale.com
@ 2014-01-30 16:23   ` Albert ARIBAUD
  0 siblings, 0 replies; 3+ messages in thread
From: Albert ARIBAUD @ 2014-01-30 16:23 UTC (permalink / raw)
  To: u-boot

Hi bhupesh.sharma at freescale.com,

On Thu, 30 Jan 2014 14:44:49 +0000, "bhupesh.sharma at freescale.com"
<bhupesh.sharma@freescale.com> wrote:

> > -----Original Message-----
> > From: Albert ARIBAUD [mailto:albert.u.boot at aribaud.net]
> > Sent: Thursday, January 30, 2014 8:06 PM
> > To: U-Boot
> > Cc: Sharma Bhupesh-B45370; Tom Rini
> > Subject: Commit 3865ceb7 breaks vexpress_aemv8a build with warnings
> > 
> > Hello,
> > 
> > I have just noticed that vexpress_aemv8a seems broken with v2014.01,
> > using gcc version 4.8.1 (Ubuntu/Linaro 4.8.1-10ubuntu9).
> > 
> > The symptom is a lot of warnings like
> > 
> > smc91111_eeprom.c: In function 'dump_reg':
> > /home/albert/src/u-boot-arm/include/../drivers/net/smc91111.h:261:28:
> > warning: cast to pointer from integer of different size [-Wint-to-
> > pointer-cast] #define SMC_outw(a,d,r) (*((volatile word
> > *)((a)->iobase+(r))) = d)
> > ^ /home/albert/src/u-boot-arm/include/../drivers/net/smc91111.h:747:33:
> > note: in expansion of macro 'SMC_outw' #define SMC_SELECT_BANK(a,x) {
> > SMC_outw((a), (x), BANK_SELECT ); }
> > 
> > A rough search shows that the issue originates in commit 3865ceb7
> > ("vexpress/armv8: Fix incorrect ethernet controller") submitted by
> > Bhupesh Sharma and committed by Tom Rini, both Cc:ed.
> > 
> > Bupesh, can you investigate?
> > 
> 
> I did post a reply to a mail on similar lines before:
> http://comments.gmane.org/gmane.comp.boot-loaders.u-boot/178502

Sorry, I'd missed it.

> I did not get much time to look into the same.
> Let me try the same tomorrow.

Ok.

> Regards,
> Bhupesh

Amicalement,
-- 
Albert.

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

end of thread, other threads:[~2014-01-30 16:23 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-01-30 14:35 [U-Boot] Commit 3865ceb7 breaks vexpress_aemv8a build with warnings Albert ARIBAUD
2014-01-30 14:44 ` bhupesh.sharma at freescale.com
2014-01-30 16:23   ` Albert ARIBAUD

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox