[lkml]   [2001]   [Oct]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH] syscall exports - against 2.4.14-pre3
On Tue, Oct 30, 2001 at 11:37:31AM +0100, Christoph Hellwig wrote:
> On Tue, Oct 30, 2001 at 10:12:50AM +0000, Mike Jagdis wrote:
> > > once again the syscall export patch - back to EXPORT_SYMBOL

> "Because we did it all the time it's right".
> Of course it worked - that doesn't mean it's a good idea.
> Arjan might want to comment on how gcc 2.96+ liked the old concept..

gcc 2.96 and 3.0 _rightfully_ object to calling a function pointer with a
different number of arguments than the function pointer prototype is. Even
if gcc didn't object to it, I consider it butt-ugly and you also just lost
any and all type checking the compiler can help you with. During the change
to calling the real functions instead of the basicaly untyped function
pointers, quite a few ibcs bugs were fixed just because the arguments were
wrong. I'm with Christoph on this 100%.

Arjan van de Ven
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:12    [W:0.067 / U:0.092 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site