Re: [PATCH] net: '&' redux

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Alexey Dobriyan <adobriyan@xxxxxxxxx>
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@xxxxxxxxx>

Applied, thanks Alexey.

Using '&' when referring to functions is a pet peeve of mine :)
--
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Netfitler Users]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux