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]
Message-Id: <20190416.204646.1129840519233521593.davem@davemloft.net>
Date:   Tue, 16 Apr 2019 20:46:46 -0700 (PDT)
From:   David Miller <davem@...emloft.net>
To:     gerald.schaefer@...ibm.com
Cc:     netdev@...r.kernel.org, ard.biesheuvel@...aro.org,
        schwidefsky@...ibm.com, heiko.carstens@...ibm.com
Subject: Re: [PATCH 1/1] net/core: work around section mismatch warning for
 ptp_classifier

From: Gerald Schaefer <gerald.schaefer@...ibm.com>
Date: Mon, 15 Apr 2019 19:14:45 +0200

> From: Ard Biesheuvel <ard.biesheuvel@...aro.org>
> 
> The routine ptp_classifier_init() uses an initializer for an
> automatic struct type variable which refers to an __initdata
> symbol. This is perfectly legal, but may trigger a section
> mismatch warning when running the compiler in -fpic mode, due
> to the fact that the initializer may be emitted into an anonymous
> .data section thats lack the __init annotation. So work around it
> by using assignments instead.
> 
> Signed-off-by: Ard Biesheuvel <ard.biesheuvel@...aro.org>
> Signed-off-by: Gerald Schaefer <gerald.schaefer@...ibm.com>

Applied.

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ