Thread (3 messages) 3 messages, 2 authors, 2017-12-11

linux-next: build warning after merge of the device-mapper tree

From: Stephen Rothwell <hidden>
Date: 2017-12-11 02:05:41
Also in: lkml

Hi all,

After merging the device-mapper tree, today's linux-next build (powerp
ppc64_defconfig) produced this warning:

drivers/md/dm.c: In function '__send_changing_extent_only':
drivers/md/dm.c:1365:45: warning: 'ti' may be used uninitialized in this function [-Wmaybe-uninitialized]
  num_bios = get_num_bios ? get_num_bios(ti) : 0;
                                             ^

Introduced by commit

  aecefd4919de ("dm: fix __send_changing_extent_only() to send first bio and chain remainder")

This looks particularly bad :-(
-- 
Cheers,
Stephen Rothwell
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help