Re: [PATCH] tty add compat_ioctl

From: Paul Fulghum
Date: Fri May 04 2007 - 16:11:08 EST


Arnd Bergmann wrote:
- The return value of the new compat_ioctl methods should probably
'int', not 'long'. We've had the discussion before and then
decided not to change the existing compat_ioctl and unlocked_ioctl functions -- even though int is more appropriate,
but having the same prototype has the advantage that a driver
can use the same function for both ->ioctl and ->compat_ioctl
if all calls are compatible.

Any comments on this or should I assume that
compat_ioctl() will stay with ulong return type?

--
Paul Fulghum
Microgate Systems, Ltd.
-
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/