lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<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

Powered by Openwall GNU/*/Linux Powered by OpenVZ