From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pd0-f179.google.com (mail-pd0-f179.google.com [209.85.192.179]) by kanga.kvack.org (Postfix) with ESMTP id 755446B006E for ; Wed, 25 Mar 2015 11:31:15 -0400 (EDT) Received: by pdbcz9 with SMTP id cz9so31789681pdb.3 for ; Wed, 25 Mar 2015 08:31:15 -0700 (PDT) Received: from mail.sfc.wide.ad.jp (shonan.sfc.wide.ad.jp. [2001:200:0:8803::53]) by mx.google.com with ESMTPS id bf5si4183284pbb.45.2015.03.25.08.31.13 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 25 Mar 2015 08:31:13 -0700 (PDT) Date: Thu, 26 Mar 2015 00:31:09 +0900 Message-ID: From: Hajime Tazaki Subject: Re: [RFC PATCH 01/11] sysctl: make some functions unstatic to access by arch/lib In-Reply-To: <1427213619.5642.34.camel@perches.com> References: <1427202642-1716-1-git-send-email-tazaki@sfc.wide.ad.jp> <1427202642-1716-2-git-send-email-tazaki@sfc.wide.ad.jp> <1427213619.5642.34.camel@perches.com> MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII Sender: owner-linux-mm@kvack.org List-ID: To: joe@perches.com Cc: linux-arch@vger.kernel.org, arnd@arndb.de, corbet@lwn.net, cl@linux.com, penberg@kernel.org, rientjes@google.com, iamjoonsoo.kim@lge.com, akpm@linux-foundation.org, linux-kernel@vger.kernel.org, linux-doc@vger.kernel.org, netdev@vger.kernel.org, linux-mm@kvack.org, jdike@addtoit.com, richard@nod.at, rusty@rustcorp.com.au, mathieu.lacage@gmail.com At Tue, 24 Mar 2015 09:13:39 -0700, Joe Perches wrote: > > On Tue, 2015-03-24 at 22:10 +0900, Hajime Tazaki wrote: > > libos (arch/lib) emulates a sysctl-like interface by a function call of > > userspace by enumerating sysctl tree from sysctl_table_root. It requires > > to be publicly accessible to this symbol and related functions. > [] > > diff --git a/fs/proc/proc_sysctl.c b/fs/proc/proc_sysctl.c > [] > > @@ -77,7 +77,7 @@ static int namecmp(const char *name1, int len1, const char *name2, int len2) > > } > > > > /* Called under sysctl_lock */ > > -static struct ctl_table *find_entry(struct ctl_table_header **phead, > > +struct ctl_table *find_entry(struct ctl_table_header **phead, > > find_entry and all of the _entry functions below it > are overly generic names. Maybe prefix with ctl_table_ agree. I will address this in the next version of the patch. thanks. -- Hajime -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: email@kvack.org