Re: [patch 2.6.26-rc7] <linux/bcd.h> space reduction

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Adrian Bunk
Date: Sunday, June 22, 2008 - 11:50 pm

On Sun, Jun 22, 2008 at 07:54:36PM -0700, David Brownell wrote:

The patch breaks the compilation:

<--  snip  -->

...
  CC      drivers/rtc/rtc-ds1511.o
In file included from /home/bunk/linux/kernel-2.6/git/linux-2.6/drivers/rtc/rtc-ds1511.c:17:
/home/bunk/linux/kernel-2.6/git/linux-2.6/include/linux/bcd.h:13: error: expected ‘)’ before ‘val’
...
make[3]: *** [drivers/rtc/rtc-ds1511.o] Error 1

<--  snip  -->

Additionally, I'd suggest to make them out-of-line functions 
instead of shipping multiple copies in different object files.


cu
Adrian

-- 

       "Is there not promise of rain?" Ling Tan asked suddenly out
        of the darkness. There had been need of rain for many days.
       "Only a promise," Lao Er said.
                                       Pearl S. Buck - Dragon Seed

--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[patch 2.6.26-rc7] &lt;linux/bcd.h&gt; space reduction, David Brownell, (Sun Jun 22, 7:54 pm)
Re: [patch 2.6.26-rc7] <linux/bcd.h> space reduction, Adrian Bunk, (Sun Jun 22, 11:50 pm)
Re: [patch 2.6.26-rc7] &lt;linux/bcd.h&gt; space reduction, David Brownell, (Mon Jun 23, 12:15 am)
Re: [patch 2.6.26-rc7] &lt;linux/bcd.h&gt; space reduction, David Brownell, (Sun Jun 29, 5:41 pm)