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:   Tue, 16 Apr 2019 20:46:46 -0700 (PDT)
From:   David Miller <>
Subject: Re: [PATCH 1/1] net/core: work around section mismatch warning for

From: Gerald Schaefer <>
Date: Mon, 15 Apr 2019 19:14:45 +0200

> From: Ard Biesheuvel <>
> 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 <>
> Signed-off-by: Gerald Schaefer <>


Powered by blists - more mailing lists