Re: [-mm patch] drivers/firewire/: cleanups

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Jan 22, 2007 at 02:41:29PM -0500, Kristian Høgsberg wrote:
> Adrian Bunk wrote:
> >On Thu, Jan 11, 2007 at 10:26:27PM -0800, Andrew Morton wrote:
> >>...
> >>Changes since 2.6.20-rc3-mm1:
> >>...
> >> git-ieee1394.patch
> >>...
> >> git trees
> >>...
> >
> >
> >This patch contains the following cleanups:
> >- "extern inline" -> "static inline"
> 
> I guess that's fine, I do like how extern inline will never generate code 

Exactly the opposite will be true when gcc will switch to the C99 
semantics...

Besides this, "static inline" forces inlining in the kernel due to
  #define inline          inline          __attribute__((always_inline))

> and that gcc warns on missing prototype for these case is more of a gcc 
> bug.  Not a big deal though, it's more worthwhile to track down real 
> missing prototype offenders.
> 
> >- fw-topology.c: make struct fw_node_create static
> 
> Looks good.
> 
> Signed-off-by: Kristian Høgsberg <[email protected]>
> 
> 

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

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux