On Thursday 03 May 2007, Paul Fulghum wrote:
>
> > declarations should never be hidden inside of an #ifdef. If you want to be
> > extra clever here, you can do
>
> OK, I have no problem with that.
> A declaration without implementation won't generate a warning?
You only get a warning for static
Arnd Bergmann wrote:
Looks ok mostly. Just some details:
...
+#ifdef CONFIG_COMPAT
+ long (*compat_ioctl)(struct tty_struct *tty, struct file * file,
+unsigned int cmd, unsigned long arg);
+#endif
I wouldn't hide this inside of an #ifdef. The structures are a
On Wednesday 02 May 2007, Paul Fulghum wrote:
> Add compat_ioctl method for tty code to allow processing
> of 32 bit ioctl calls on 64 bit systems by tty core,
> tty drivers, and line disciplines.
Looks ok mostly. Just some details:
> --- a/include/linux/tty_driver.h 2006-11-29 15:57:37.
Add compat_ioctl method for tty code to allow processing
of 32 bit ioctl calls on 64 bit systems by tty core,
tty drivers, and line disciplines.
Based on patch by Arnd Bergmann:
http://www.uwsg.iu.edu/hypermail/linux/kernel/0511.0/1732.html
This patch does not remove tty ioctl entries in compat_i
4 matches
Mail list logo