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

From: Adrian Bunk
Date: Mon Jan 22 2007 - 15:04:33 EST


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 <krh@xxxxxxxxxx>
>
>

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 majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/