lkml.org 
[lkml]   [2007]   [Dec]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH] constify tables in kernel/sysctl_check.c
Date
"Jan Beulich" <jbeulich@novell.com> writes:

> Remains the question whether it is intended that many, perhaps even
> large, tables are compiled in without ever having a chance to get used,
> i.e. whether there shouldn't #ifdef CONFIG_xxx get added.


The constification looks good. The file should be compiled only when
we have sysctl support. We use those tables when we call
register_sysctl_table. Which we do a lot.

Eric


\
 
 \ /
  Last update: 2007-12-21 00:09    [W:0.192 / U:0.488 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site