linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* Build failure of atmel_serial in 2.6.32-rc1.
@ 2009-09-30 20:50 Gilles Chanteperdrix
  0 siblings, 0 replies; only message in thread
From: Gilles Chanteperdrix @ 2009-09-30 20:50 UTC (permalink / raw)
  To: linux-arm-kernel


Hi,

I have just tried to build 2.6.32-rc1 for AT91 with CodeSourcery 2009q1,
and the build fails at:

BUILD_BUG_ON(!is_power_of_2(ATMEL_SERIAL_RINGSIZE));

file drivers/serial/atmel_serial.c in atmel_serial_probe(). The error
message being:
drivers/serial/atmel_serial.c: In function 'atmel_serial_probe':
drivers/serial/atmel_serial.c:1534: error: bit-field '<anonymous>' width
not an integer constant

Replacing the BUILD_BUG_ON with a BUG_ON results in a runnable kernel,
so ATMEL_SERIAL_RINGSIZE really is a power of 2.

Regards.

-- 
					    Gilles.

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2009-09-30 20:50 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-09-30 20:50 Build failure of atmel_serial in 2.6.32-rc1 Gilles Chanteperdrix

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).