Re: [PATCH] Allow compat_ioctl.c to compile without CONFIG_NET

From: Arnd Bergmann
Date: Thu May 10 2007 - 07:06:52 EST


On Thursday 10 May 2007, Simon Horman wrote:
> A small regression appears to have been introduced in the recent patch
> "cleanup compat ioctl handling", which was included in Linus' tree after
> 2.6.20.
>
> siocdevprivate_ioctl() is no longer defined if CONFIG_NET is undefined,
> whereas previously it was a dummy function in this case.
>
> This causes compilation with CONFIG_COMPAT but without CONFIG_NET to fail.
>
> fs/compat_ioctl.c: In function `compat_sys_ioctl':
> fs/compat_ioctl.c:3571: warning: implicit declaration of function `siocdevprivate_ioctl'
>
> Cc: Christoph Hellwig <hch@xxxxxx>
> From: Simon Horman <horms@xxxxxxxxxxxx>
Acked-by: Arnd Bergmann <arnd@xxxxxxxx>
-
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/