[lkml]   [2009]   [Nov]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH] sysctl.c: Change a .proc_handler = proc_dointvec to
> -		.proc_handler	= proc_dointvec
> + .proc_handler = &proc_dointvec,


commit 6d9f239a1edb31d6133230f478fd1dc2da338ec5
Author: Alexey Dobriyan <>
Date: Mon Nov 3 18:21:05 2008 -0800

net: '&' redux

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

So, drop & in front of every ->proc_handler and every ->strategy
handler, it was never needed in fact.

Signed-off-by: Alexey Dobriyan <>
Signed-off-by: David S. Miller <>

 \ /
  Last update: 2009-11-15 12:03    [W:0.034 / U:12.940 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site