public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] exofs: fix sparse non-ANSI function warning
@ 2012-06-11 23:46 Randy Dunlap
  2012-06-12  6:06 ` Boaz Harrosh
  0 siblings, 1 reply; 3+ messages in thread
From: Randy Dunlap @ 2012-06-11 23:46 UTC (permalink / raw)
  To: LKML, osd-dev
  Cc: Boaz Harrosh, Benny Halevy, Andrew Morton, linux-fsdevel,
	Linus Torvalds

From: Randy Dunlap <rdunlap@xenotime.net>

Fix sparse non-ANSI function warning:

fs/exofs/sys.c:112:28: warning: non-ANSI function declaration of function 'exofs_sysfs_dbg_print'

Signed-off-by: Randy Dunlap <rdunlap@xenotime.net>
---
 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;

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] exofs: fix sparse non-ANSI function warning
  2012-06-11 23:46 [PATCH] exofs: fix sparse non-ANSI function warning Randy Dunlap
@ 2012-06-12  6:06 ` Boaz Harrosh
  2012-06-12  6:21   ` Boaz Harrosh
  0 siblings, 1 reply; 3+ messages in thread
From: Boaz Harrosh @ 2012-06-12  6:06 UTC (permalink / raw)
  To: Randy Dunlap
  Cc: LKML, osd-dev, Benny Halevy, Andrew Morton, linux-fsdevel,
	Linus Torvalds

On 06/12/2012 02:46 AM, Randy Dunlap wrote:

> From: Randy Dunlap <rdunlap@xenotime.net>
> 
> 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 <rdunlap@xenotime.net>
> ---
>  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;



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] exofs: fix sparse non-ANSI function warning
  2012-06-12  6:06 ` Boaz Harrosh
@ 2012-06-12  6:21   ` Boaz Harrosh
  0 siblings, 0 replies; 3+ messages in thread
From: Boaz Harrosh @ 2012-06-12  6:21 UTC (permalink / raw)
  To: Randy Dunlap
  Cc: LKML, osd-dev, Benny Halevy, Andrew Morton, linux-fsdevel,
	Linus Torvalds

On 06/12/2012 09:06 AM, Boaz Harrosh wrote:

> On 06/12/2012 02:46 AM, Randy Dunlap wrote:
> 
>> From: Randy Dunlap <rdunlap@xenotime.net>
>>
>> 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
> 


Linus already pushed this for -rc3, cool less work for me ;-)

Thanks guys
Boaz

> Boaz
> 



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2012-06-12  6:22 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-06-11 23:46 [PATCH] exofs: fix sparse non-ANSI function warning Randy Dunlap
2012-06-12  6:06 ` Boaz Harrosh
2012-06-12  6:21   ` Boaz Harrosh

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox