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

Stephen Rothwell
2018-09-18T01:53:37Z

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

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")