All of lore.kernel.org
 help / color / mirror / Atom feed
* linux-next: build warning after merge of the btrfs-kdave tree
@ 2017-12-19 22:20 Stephen Rothwell
  2017-12-20  0:12 ` Qu Wenruo
  0 siblings, 1 reply; 16+ messages in thread
From: Stephen Rothwell @ 2017-12-19 22:20 UTC (permalink / raw)
  To: David Sterba
  Cc: Linux-Next Mailing List, Linux Kernel Mailing List, Qu Wenruo

Hi David,

After merging the btrfs-kdave tree, today's linux-next build (powerpc
ppc64_defconfig) produced this warning:

fs/btrfs/qgroup.c: In function 'qgroup_reserve':
fs/btrfs/qgroup.c:2432:1: warning: label 'retry' defined but not used [-Wunused-label]
 retry:
 ^

Introduced by commit

  b283738ab0ad ("Revert "btrfs: qgroups: Retry after commit on getting EDQUOT"")

-- 
Cheers,
Stephen Rothwell

^ permalink raw reply	[flat|nested] 16+ messages in thread
* linux-next: build warning after merge of the btrfs-kdave tree
@ 2019-05-03  0:21 Stephen Rothwell
  2019-05-03 13:37 ` David Sterba
  0 siblings, 1 reply; 16+ messages in thread
From: Stephen Rothwell @ 2019-05-03  0:21 UTC (permalink / raw)
  To: David Sterba
  Cc: Linux Next Mailing List, Linux Kernel Mailing List, Josef Bacik

[-- Attachment #1: Type: text/plain, Size: 634 bytes --]

Hi David,

After merging the btrfs-kdave tree, today's linux-next build (x86_64
allmodconfig) produced this warning:

fs/btrfs/props.c: In function 'inherit_props':
fs/btrfs/props.c:389:4: warning: 'num_bytes' may be used uninitialized in this function [-Wmaybe-uninitialized]
    btrfs_block_rsv_release(fs_info, trans->block_rsv,
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      num_bytes);
      ~~~~~~~~~~

Probably introduced by commit

  b835a4a3faec ("btrfs: use the existing reserved items for our first prop for inheritance")

Looks like a false positive to me.

-- 
Cheers,
Stephen Rothwell

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] 16+ messages in thread
* linux-next: build warning after merge of the btrfs-kdave tree
@ 2019-01-23 22:53 Stephen Rothwell
  2019-01-28 16:53 ` David Sterba
  0 siblings, 1 reply; 16+ messages in thread
From: Stephen Rothwell @ 2019-01-23 22:53 UTC (permalink / raw)
  To: David Sterba
  Cc: Linux Next Mailing List, Linux Kernel Mailing List, Qu Wenruo

[-- Attachment #1: Type: text/plain, Size: 560 bytes --]

Hi David,

After merging the btrfs-kdave tree, today's linux-next build (powerpc
ppc64_defconfig) produced this warning:

fs/btrfs/relocation.c: In function 'insert_dirty_subv':
fs/btrfs/relocation.c:2138:6: warning: unused variable 'root_objectid' [-Wunused-variable]
  u64 root_objectid = root->root_key.objectid;
      ^~~~~~~~~~~~~

Introduced by commit

  7b837199c581 ("btrfs: relocation: Delay reloc tree deletion after merge_reloc_roots()")

Presumably the ASSERT is compiled out in this configuration.

-- 
Cheers,
Stephen Rothwell

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] 16+ messages in thread
* linux-next: build warning after merge of the btrfs-kdave tree
@ 2018-11-26  0:06 Stephen Rothwell
  2018-11-26  7:56 ` Christoph Hellwig
  0 siblings, 1 reply; 16+ messages in thread
From: Stephen Rothwell @ 2018-11-26  0:06 UTC (permalink / raw)
  To: David Sterba, Kees Cook
  Cc: Linux Next Mailing List, Linux Kernel Mailing List, Christoph Hellwig

[-- Attachment #1: Type: text/plain, Size: 1241 bytes --]

Hi David,

After merging the btrfs-kdave tree, today's linux-next build (powerpc
ppc64_defconfig) produced this warning:

In file included from include/linux/string.h:6,
                 from arch/powerpc/include/asm/paca.h:19,
                 from arch/powerpc/include/asm/current.h:16,
                 from include/linux/sched.h:12,
                 from fs/btrfs/volumes.c:6:
fs/btrfs/volumes.h: In function 'btrfs_op':
include/linux/compiler.h:77:22: warning: this statement may fall through [-Wimplicit-fallthrough=]
 # define unlikely(x) __builtin_expect(!!(x), 0)
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~
include/asm-generic/bug.h:72:2: note: in expansion of macro 'unlikely'
  unlikely(__ret_warn_on);    \
  ^~~~~~~~
fs/btrfs/volumes.h:395:3: note: in expansion of macro 'WARN_ON_ONCE'
   WARN_ON_ONCE(1);
   ^~~~~~~~~~~~
In file included from fs/btrfs/volumes.c:22:
fs/btrfs/volumes.h:396:2: note: here
  case REQ_OP_READ:
  ^~~~

Introduced by commit

  cf8cddd38bab3 ("btrfs: don't abuse REQ_OP_* flags for btrfs_map_block")

exposed by my new use of -Wimplicit-fallthrough

I am not sure why this has only turned up now (as opposed to earlier
today).

-- 
Cheers,
Stephen Rothwell

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] 16+ messages in thread
* linux-next: build warning after merge of the btrfs-kdave tree
@ 2017-05-17 23:41 Stephen Rothwell
  2017-05-18 12:50 ` David Sterba
  0 siblings, 1 reply; 16+ messages in thread
From: Stephen Rothwell @ 2017-05-17 23:41 UTC (permalink / raw)
  To: David Sterba; +Cc: Linux-Next Mailing List, Linux Kernel Mailing List, Liu Bo

Hi David,

After merging the btrfs-kdave tree, today's linux-next build (powerpc
ppc64_defconfig) produced this warning:

fs/btrfs/inode.c: In function 'btrfs_submit_direct':
fs/btrfs/inode.c:8467:14: warning: 'bio' may be used uninitialized in this function [-Wmaybe-uninitialized]
  struct bio *bio;
              ^

I can't tell if it is a false positive or not.

-- 
Cheers,
Stephen Rothwell

^ permalink raw reply	[flat|nested] 16+ messages in thread
* linux-next: build warning after merge of the btrfs-kdave tree
@ 2016-11-28  0:02 Stephen Rothwell
  2016-12-06 22:38 ` Stephen Rothwell
  0 siblings, 1 reply; 16+ messages in thread
From: Stephen Rothwell @ 2016-11-28  0:02 UTC (permalink / raw)
  To: David Sterba; +Cc: linux-next, linux-kernel, Wang Xiaoguang

Hi David,

After merging the btrfs-kdave tree, today's linux-next build (powerpc
ppc64_defconfig) produced this warning:

fs/btrfs/inode.c: In function 'run_delalloc_range':
fs/btrfs/inode.c:1219:9: warning: 'cur_end' may be used uninitialized in this function [-Wmaybe-uninitialized]
   start = cur_end + 1;
         ^
fs/btrfs/inode.c:1172:6: note: 'cur_end' was declared here
  u64 cur_end;
      ^

Introduced by commit

  cow_file_range_async ("btrfs: Introduce COMPRESS reserve type to fix false enospc for compression")

Presumably a false positive because ASSERT(0) panics?

-- 
Cheers,
Stephen Rothwell

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

end of thread, other threads:[~2019-05-03 13:36 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-12-19 22:20 linux-next: build warning after merge of the btrfs-kdave tree Stephen Rothwell
2017-12-20  0:12 ` Qu Wenruo
2017-12-21 16:49   ` David Sterba
2017-12-22  0:32     ` Qu Wenruo
  -- strict thread matches above, loose matches on Subject: below --
2019-05-03  0:21 Stephen Rothwell
2019-05-03 13:37 ` David Sterba
2019-01-23 22:53 Stephen Rothwell
2019-01-28 16:53 ` David Sterba
2018-11-26  0:06 Stephen Rothwell
2018-11-26  7:56 ` Christoph Hellwig
2017-05-17 23:41 Stephen Rothwell
2017-05-18 12:50 ` David Sterba
2017-05-25  1:31   ` Stephen Rothwell
2016-11-28  0:02 Stephen Rothwell
2016-12-06 22:38 ` Stephen Rothwell
2016-12-14 15:19   ` David Sterba

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.