lkml.org 
[lkml]   [2018]   [Jul]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: linux-next: build warning after merge of the scsi tree
Hi all,

On Wed, 20 Jun 2018 13:29:10 +1000 Stephen Rothwell <sfr@canb.auug.org.au> wrote:
>
> After merging the scsi tree, today's linux-next build (powerpc
> allyesconfig) produced this warning:
>
> In file included from include/target/target_core_base.h:7:0,
> from drivers/target/target_core_tmr.c:31:
> include/linux/sbitmap.h:331:46: warning: 'struct seq_file' declared inside parameter list will not be visible outside of this definition or declaration
> void sbitmap_show(struct sbitmap *sb, struct seq_file *m);
> ^~~~~~~~
> include/linux/sbitmap.h:342:53: warning: 'struct seq_file' declared inside parameter list will not be visible outside of this definition or declaration
> void sbitmap_bitmap_show(struct sbitmap *sb, struct seq_file *m);
> ^~~~~~~~
> include/linux/sbitmap.h:530:59: warning: 'struct seq_file' declared inside parameter list will not be visible outside of this definition or declaration
> void sbitmap_queue_show(struct sbitmap_queue *sbq, struct seq_file *m);
> ^~~~~~~~
> In file included from include/target/target_core_base.h:7:0,
> from drivers/target/target_core_ua.c:30:
> include/linux/sbitmap.h:331:46: warning: 'struct seq_file' declared inside parameter list will not be visible outside of this definition or declaration
> void sbitmap_show(struct sbitmap *sb, struct seq_file *m);
> ^~~~~~~~
> include/linux/sbitmap.h:342:53: warning: 'struct seq_file' declared inside parameter list will not be visible outside of this definition or declaration
> void sbitmap_bitmap_show(struct sbitmap *sb, struct seq_file *m);
> ^~~~~~~~
> include/linux/sbitmap.h:530:59: warning: 'struct seq_file' declared inside parameter list will not be visible outside of this definition or declaration
> void sbitmap_queue_show(struct sbitmap_queue *sbq, struct seq_file *m);
> ^~~~~~~~
>
> Introduced by commit
>
> 24af1ccfe12a ("sbitmap: add helpers for dumping to a seq_file")
>
> in v4.11.rc1, but exposed by commit
>
> eca7ee1f33e8 ("scsi: target: Convert target drivers to use sbitmap")

I am still seeing these warnings ...

--
Cheers,
Stephen Rothwell
[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2018-07-10 09:32    [W:0.077 / U:0.088 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site