[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20180115.151544.382377769742883047.davem@davemloft.net>
Date: Mon, 15 Jan 2018 15:15:44 -0500 (EST)
From: David Miller <davem@...emloft.net>
To: johannes@...solutions.net
Cc: netdev@...r.kernel.org, johannes.berg@...el.com
Subject: Re: [PATCH] netlink: extack: avoid parenthesized string constant
warning
From: Johannes Berg <johannes@...solutions.net>
Date: Mon, 15 Jan 2018 12:42:25 +0100
> From: Johannes Berg <johannes.berg@...el.com>
>
> 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 precendence issues or similar.
>
> Signed-off-by: Johannes Berg <johannes.berg@...el.com>
Applied, thank you.
Powered by blists - more mailing lists