public inbox for linux-bcache@vger.kernel.org
 help / color / mirror / Atom feed
* [bcachefs] ./include/asm-generic/bug.h:55:35: warning: ‘l_packed’ may be used uninitialized in this function
@ 2017-02-03 14:14 marcin
  2017-02-07 13:52 ` marcin
  0 siblings, 1 reply; 2+ messages in thread
From: marcin @ 2017-02-03 14:14 UTC (permalink / raw)
  To: linux-bcache

Hi,
could it be a real problem?

>   CC      drivers/md/bcache/btree_io.o
> In file included from ./arch/x86/include/asm/bug.h:35:0,
>                  from ./include/linux/bug.h:4,
>                  from drivers/md/bcache/bcache.h:181,
>                  from drivers/md/bcache/btree_io.c:2:
> drivers/md/bcache/btree_io.c: In function ‘sort_extent_whiteouts’:
> ./include/asm-generic/bug.h:55:35: warning: ‘l_packed’ may be used uninitialized in this function [-Wmaybe-uninitialized]
>  #define BUG_ON(condition) do { if (unlikely(condition)) BUG(); } while (0)
>                                    ^
> drivers/md/bcache/btree_io.c:203:21: note: ‘l_packed’ was declared here
>   bool prev = false, l_packed;
>                      ^
>   CC      drivers/md/bcache/btree_iter.o

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

* Re: [bcachefs] ./include/asm-generic/bug.h:55:35: warning: ‘l_packed’ may be used uninitialized in this function
  2017-02-03 14:14 [bcachefs] ./include/asm-generic/bug.h:55:35: warning: ‘l_packed’ may be used uninitialized in this function marcin
@ 2017-02-07 13:52 ` marcin
  0 siblings, 0 replies; 2+ messages in thread
From: marcin @ 2017-02-07 13:52 UTC (permalink / raw)
  To: linux-bcache

W dniu 03.02.2017 o 15:14, marcin@mejor.pl pisze:
> Hi,
> could it be a real problem?
> 
>>   CC      drivers/md/bcache/btree_io.o
>> In file included from ./arch/x86/include/asm/bug.h:35:0,
>>                  from ./include/linux/bug.h:4,
>>                  from drivers/md/bcache/bcache.h:181,
>>                  from drivers/md/bcache/btree_io.c:2:
>> drivers/md/bcache/btree_io.c: In function ‘sort_extent_whiteouts’:
>> ./include/asm-generic/bug.h:55:35: warning: ‘l_packed’ may be used uninitialized in this function [-Wmaybe-uninitialized]
>>  #define BUG_ON(condition) do { if (unlikely(condition)) BUG(); } while (0)
>>                                    ^
>> drivers/md/bcache/btree_io.c:203:21: note: ‘l_packed’ was declared here
>>   bool prev = false, l_packed;
>>                      ^
>>   CC      drivers/md/bcache/btree_iter.o


Fixed in 44591aeaf65.

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

end of thread, other threads:[~2017-02-07 13:53 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-02-03 14:14 [bcachefs] ./include/asm-generic/bug.h:55:35: warning: ‘l_packed’ may be used uninitialized in this function marcin
2017-02-07 13:52 ` marcin

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