Thread (13 messages) flat view 13 messages, 5 authors, 2011-03-10

Re: [PATCH resent] tcp: ioctl type SIOCOUTQNSD returns amount of data not sent

From: Arnd Bergmann <arnd@arndb.de>
Date: 2011-03-04 09:58:24
Also in: lkml

On Friday 04 March 2011 10:51:29 Steffen Sledz wrote:
Am 04.03.2011 10:04, schrieb David Miller:
quoted
Hitting only asm-generic/ioctls.h is insufficient, many architectures do
not make use of this file and the build will fail for them with your patch
applied.
That's not fully clear to me.

We made the define similar to the existing TIOCOUTQ. What other files should be hit?
These ones:

$ git grep TIOCOUTQ arch/*/include/
arch/alpha/include/asm/ioctls.h:#define TIOCOUTQ        _IOR('t', 115, int)     /* output queue size */
arch/mips/include/asm/ioctls.h:#define TIOCOUTQ 0x7472          /* output queue size */
arch/parisc/include/asm/ioctls.h:#define TIOCOUTQ       0x5411
arch/powerpc/include/asm/ioctls.h:#define TIOCOUTQ        _IOR('t', 115, int)     /* output queue size */
arch/sh/include/asm/ioctls.h:#define TIOCOUTQ        _IOR('t', 115, int)     /* output queue size */
arch/sparc/include/asm/ioctls.h:#define TIOCOUTQ        _IOR('t', 115, int)
arch/xtensa/include/asm/ioctls.h:#define TIOCOUTQ        _IOR('t', 115, int)     /* output queue size */

	Arnd
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help