Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 234bdbc4 authored by Christophe Vu-Brugier's avatar Christophe Vu-Brugier Committed by Nicholas Bellinger
Browse files

target: fix deprecated attribute names in dmesg



The following message is displayed in dmesg when a deprecated attribute
is set:

  "ignoring deprecated ##_name## attribute"

This patch fixes the format to include the name of the deprecated
attribute.

Signed-off-by: default avatarChristophe Vu-Brugier <cvubrugier@fastmail.fm>
Reviewed-by: default avatarSagi Grimberg <sagig@mellanox.com>
Signed-off-by: default avatarNicholas Bellinger <nab@linux-iscsi.org>
parent e6f41633
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -549,7 +549,8 @@ static ssize_t _name##_store(struct config_item *item, const char *page,\
		size_t count)						\
{									\
	printk_once(KERN_WARNING					\
		"ignoring deprecated ##_name## attribute\n");	\
		"ignoring deprecated %s attribute\n",			\
		__stringify(_name));					\
	return count;							\
}