Re: [PATCH] netlink: extack: avoid parenthesized string constant warning

2018-01-15 Thread David Miller
From: Johannes Berg Date: Mon, 15 Jan 2018 12:42:25 +0100 > From: Johannes Berg > > NL_SET_ERR_MSG() and NL_SET_ERR_MSG_ATTR() lead to the following warning > in newer versions of gcc: > warning: array initialized from parenthesized string constant > > Just remove the parentheses, they're no

[PATCH] netlink: extack: avoid parenthesized string constant warning

2018-01-15 Thread Johannes Berg
From: Johannes Berg NL_SET_ERR_MSG() and NL_SET_ERR_MSG_ATTR() lead to the following warning in newer versions of gcc: warning: array initialized from parenthesized string constant Just remove the parentheses, they're not needed in this context since anyway since there can be no operator prece