From: Ralf Baechle Date: Wed, 6 Aug 2008 01:46:57 +0000 (-0700) Subject: AX.25: Fix sysctl registration if !CONFIG_AX25_DAMA_SLAVE X-Git-Tag: v2.6.27-rc2~2^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ffb208479bd62ab26c29a242faeb1de1c6d5fcdc;p=pandora-kernel.git AX.25: Fix sysctl registration if !CONFIG_AX25_DAMA_SLAVE Since 49ffcf8f99e8d33ec8afb450956804af518fd788 ("sysctl: update sysctl_check_table") setting struct ctl_table.procname = NULL does no longer work as it used to the way the AX.25 code is expecting it to resulting in the AX.25 sysctl registration code to break if CONFIG_AX25_DAMA_SLAVE was not set as in some distribution kernels. Kernel releases from 2.6.24 are affected. Signed-off-by: Ralf Baechle Signed-off-by: David S. Miller --- Reading git-diff-tree failed