From: Gerald Schaefer <gerald.schae...@de.ibm.com> Date: Mon, 15 Apr 2019 19:14:45 +0200
> From: Ard Biesheuvel <ard.biesheu...@linaro.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.biesheu...@linaro.org> > Signed-off-by: Gerald Schaefer <gerald.schae...@de.ibm.com> Applied.