lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
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

Powered by Openwall GNU/*/Linux Powered by OpenVZ