From: Gerald Schaefer <[email protected]> Date: Mon, 15 Apr 2019 19:14:45 +0200
> From: Ard Biesheuvel <[email protected]> > > 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 <[email protected]> > Signed-off-by: Gerald Schaefer <[email protected]> Applied.
