Re: 2.6.6-rc3: modular DVB tda1004x broken

From: Linus Torvalds
Date: Sat May 01 2004 - 18:57:04 EST




On Sat, 1 May 2004, Andrew Morton wrote:
>
> Maybe we should change __syscall_return() to return the -ve errno rather
> than -1?

Yes. Except we should probably only do this for __KERNEL_SYSCALLS__, since
it's possible that somebody is still using this in user space (it
pre-glibc people).

So maybe a

#undef __syscall_return
#define __syscall_return(type, res) return (type)(res);

inside the __KERNEL_SYSCALLS__ area?

Linus
-
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/