[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20081103.182149.156430442.davem@davemloft.net>
Date: Mon, 03 Nov 2008 18:21:49 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: adobriyan@...il.com
Cc: netdev@...r.kernel.org, netfilter-devel@...r.kernel.org
Subject: Re: [PATCH] net: '&' redux
From: Alexey Dobriyan <adobriyan@...il.com>
Date: Tue, 4 Nov 2008 05:22:00 +0300
> I want to compile out proc_* and sysctl_* handlers totally and
> stub them to NULL depending on config options, however usage of &
> will prevent this, since taking adress of NULL pointer will break
> compilation.
>
> So, drop & in front of every ->proc_handler and every ->strategy
> handler, it was never needed in fact.
>
> Signed-off-by: Alexey Dobriyan <adobriyan@...il.com>
Applied, thanks Alexey.
Using '&' when referring to functions is a pet peeve of mine :)
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists