Re: [2.4 patch][1/6] ibmphp_res.c: fix gcc 3.4 compilation

From: Adrian Bunk
Date: Fri Aug 27 2004 - 09:56:56 EST


On Fri, Aug 27, 2004 at 09:03:31AM -0300, Marcelo Tosatti wrote:
> >
> > The patch below fixes this issue by uninlining find_bus_wprev (as done
> > in 2.6).
>
> Just out of curiosity, if you move the inlined function up to the beginning of the
> file (before any calls to it), and remove the declaration (at 45), does it
> stop complaining?

Yes it does.

For all these inline errors you can choose between uninlining and
reordering the file.

In this case I did choose unlinlining because find_bus_wprev is
uninlined in 2.6 .

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/