Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save YellowOnion/a57e5b583c2bad3d807b74d8e01e076d to your computer and use it in GitHub Desktop.
Save YellowOnion/a57e5b583c2bad3d807b74d8e01e076d to your computer and use it in GitHub Desktop.
In file included from libbcachefs/vstructs.h:5,
from libbcachefs/bcachefs_format.h:80,
from libbcachefs/bcachefs.h:207,
from libbcachefs/backpointers.c:2:
In function 'check_bp_exists',
inlined from 'check_extent_to_backpointers' at libbcachefs/backpointers.c:708:9:
libbcachefs/util.h:192:41: warning: 'bucket_pos.inode' may be used uninitialized [8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wmaybe-uninitialized-Wmaybe-uninitialized8;;]
192 | #define prt_printf(_out, ...) bch2_prt_printf(_out, __VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
libbcachefs/backpointers.c:652:9: note: in expansion of macro 'prt_printf'
652 | prt_printf(&buf, "duplicate extents pointing to same space on dev %llu\n ", bucket.inode);
| ^~~~~~~~~~
libbcachefs/backpointers.c: In function 'check_extent_to_backpointers':
libbcachefs/backpointers.c:693:29: note: 'bucket_pos.inode' was declared here
693 | struct bpos bucket_pos;
| ^~~~~~~~~~
In function 'bch2_trigger_stripe_ptr',
inlined from '__trigger_extent' at libbcachefs/buckets.c:1157:10:
libbcachefs/buckets.c:1108:17: warning: 'disk_sectors' may be used uninitialized [8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wmaybe-uninitialized-Wmaybe-uninitialized8;;]
1108 | bch2_update_replicas(c, k, &r.e, sectors, trans->journal_res.seq, true);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
libbcachefs/buckets.c: In function '__trigger_extent':
libbcachefs/buckets.c:1136:21: note: 'disk_sectors' was declared here
1136 | s64 disk_sectors;
| ^~~~~~~~~~~~
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment