lkml.org 
[lkml]   [2012]   [Apr]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH] net sysctl: Add place holder functions for when sysctl support is compiled out of the kernel.
From
From: Randy Dunlap <rdunlap@xenotime.net>
Date: Mon, 23 Apr 2012 15:38:45 -0700

> On 04/23/2012 03:13 PM, Eric W. Biederman wrote:
>
>>
>> Randy Dunlap <rdunlap@xenotime.net> reported:
>>> On 04/23/2012 12:07 AM, Stephen Rothwell wrote:
>>>
>>>> Hi all,
>>>>
>>>> Changes since 20120420:
>>>
>>>
>>>
>>> ERROR: "unregister_net_sysctl_table" [net/phonet/phonet.ko] undefined!
>>> ERROR: "register_net_sysctl" [net/phonet/phonet.ko] undefined!
>>>
>>> when CONFIG_SYSCTL is not enabled.
>>
>> Add static inline stub functions to gracefully handle the case when sysctl
>> support is not present.
>>
>> Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
>
>
> Yep, that works.
>
> Acked-by: Randy Dunlap <rdunlap@xenotime.net>

Applied, thanks everyone.


\
 
 \ /
  Last update: 2012-04-24 01:29    [W:0.048 / U:24.032 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site