Skip to contentSkip to conversation

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

DISCUSSION Stephen Rothwell 1 participant 1 message Sep 18, 2018 Linux-next tree

lore
Share & tools
lore
#0 lore raw

Hi all,

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

drivers/md/dm-mpath.c: In function 'parse_path':
drivers/md/dm-mpath.c:891:24: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]

  attached_handler_name = scsi_dh_attached_handler_name(q, GFP_KERNEL);
                        ^

Introduced by commit

b8505ba97e0a ("dm mpath: fix attached_handler_name leak and dangling hw_handler_name pointer")

Signature · 2 lines
Cheers,
Stephen Rothwell