From mboxrd@z Thu Jan 1 00:00:00 1970 From: Boaz Harrosh Subject: Re: [PATCH] exofs: fix sparse non-ANSI function warning Date: Tue, 12 Jun 2012 09:06:50 +0300 Message-ID: <4FD6DC7A.9000709@panasas.com> References: <4FD6836F.1020406@xenotime.net> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit Cc: LKML , , Benny Halevy , Andrew Morton , , Linus Torvalds To: Randy Dunlap Return-path: In-Reply-To: <4FD6836F.1020406@xenotime.net> Sender: linux-kernel-owner@vger.kernel.org List-Id: linux-fsdevel.vger.kernel.org On 06/12/2012 02:46 AM, Randy Dunlap wrote: > From: Randy Dunlap > > Fix sparse non-ANSI function warning: > > fs/exofs/sys.c:112:28: warning: non-ANSI function declaration of function 'exofs_sysfs_dbg_print' > Thanks, will push for 3.6 merge window. Might take me a few days to push to linux-next Boaz > Signed-off-by: Randy Dunlap > --- > fs/exofs/sys.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > --- lnx-35-rc2.orig/fs/exofs/sys.c > +++ lnx-35-rc2/fs/exofs/sys.c > @@ -109,7 +109,7 @@ static struct kobj_type odev_ktype = { > static struct kobj_type uuid_ktype = { > }; > > -void exofs_sysfs_dbg_print() > +void exofs_sysfs_dbg_print(void) > { > #ifdef CONFIG_EXOFS_DEBUG > struct kobject *k_name, *k_tmp;