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

From: Stephen Rothwell
Date: Mon Sep 17 2018 - 21:53:38 EST


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

--
Cheers,
Stephen Rothwell

Attachment: pgphc9oOXRXP4.pgp
Description: OpenPGP digital signature