* linux-next: build warning after merge of the gfs2 tree
@ 2019-12-10 23:10 Stephen Rothwell
2019-12-10 23:20 ` Andreas Grünbacher
0 siblings, 1 reply; 2+ messages in thread
From: Stephen Rothwell @ 2019-12-10 23:10 UTC (permalink / raw)
To: Steven Whitehouse, Bob Peterson
Cc: Linux Next Mailing List, Linux Kernel Mailing List, Andreas Gruenbacher
[-- Attachment #1: Type: text/plain, Size: 485 bytes --]
Hi all,
After merging the gfs2 tree, today's linux-next build (x86_64
allmodconfig) produced this warning:
fs/gfs2/lops.c: In function 'gfs2_find_jhead':
fs/gfs2/lops.c:536:13: warning: 'bio_chained' may be used uninitialized in this function [-Wmaybe-uninitialized]
536 | if (!bio || (bio_chained && !off)) {
| ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
Introduced by commit
1ee366c67176 ("gfs2: Another gfs2_find_jhead fix")
--
Cheers,
Stephen Rothwell
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: linux-next: build warning after merge of the gfs2 tree
2019-12-10 23:10 linux-next: build warning after merge of the gfs2 tree Stephen Rothwell
@ 2019-12-10 23:20 ` Andreas Grünbacher
0 siblings, 0 replies; 2+ messages in thread
From: Andreas Grünbacher @ 2019-12-10 23:20 UTC (permalink / raw)
To: Stephen Rothwell
Cc: Steven Whitehouse, Bob Peterson, Linux Next Mailing List,
Linux Kernel Mailing List, Andreas Gruenbacher
Hi Stephen,
Am Mi., 11. Dez. 2019 um 00:10 Uhr schrieb Stephen Rothwell
<sfr@canb.auug.org.au>:
> Hi all,
>
> After merging the gfs2 tree, today's linux-next build (x86_64
> allmodconfig) produced this warning:
>
> fs/gfs2/lops.c: In function 'gfs2_find_jhead':
> fs/gfs2/lops.c:536:13: warning: 'bio_chained' may be used uninitialized in this function [-Wmaybe-uninitialized]
> 536 | if (!bio || (bio_chained && !off)) {
> | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
>
> Introduced by commit
>
> 1ee366c67176 ("gfs2: Another gfs2_find_jhead fix")
thanks. It's actually a false positive and I'm not getting this
warning, but I'll make the code more explicit.
Andreas
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2019-12-10 23:21 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-12-10 23:10 linux-next: build warning after merge of the gfs2 tree Stephen Rothwell
2019-12-10 23:20 ` Andreas Grünbacher
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.