netdev
[Top] [All Lists]

Re: [PATCH] Fix CONFIG_COMPAT with !CONFIG_NET

To: Andi Kleen <ak@xxxxxx>
Subject: Re: [PATCH] Fix CONFIG_COMPAT with !CONFIG_NET
From: "David S. Miller" <davem@xxxxxxxxxx>
Date: Wed, 1 Sep 2004 22:26:24 -0700
Cc: netdev@xxxxxxxxxxx
In-reply-to: <m3d617k4ex.fsf@averell.firstfloor.org>
References: <m3d617k4ex.fsf@averell.firstfloor.org>
Sender: netdev-bounce@xxxxxxxxxxx
On Tue, 31 Aug 2004 12:06:30 +0200
Andi Kleen <ak@xxxxxx> wrote:

> Fix compilation with CONFIG_COMPAT set and CONFIG_NET disabled.

I like this patch, but...

> -static int ret_einval(unsigned int fd, unsigned int cmd, unsigned long arg)
> +static __attribute__((used)) int 
> +ret_einval(unsigned int fd, unsigned int cmd, unsigned long arg)

Ahem... use something in linux/compiler.h ok? :)

<Prev in Thread] Current Thread [Next in Thread>
  • Re: [PATCH] Fix CONFIG_COMPAT with !CONFIG_NET, David S. Miller <=