From: Sam Ravnborg <sam@xxxxxxxxxxxx> Date: Wed, 20 Apr 2011 22:08:59 +0200 > In all cases there were a struct of_device_id variable defined __initdata. > But it was referenced from struct platform_driver.of_match_table > which is not guaranteed to be used during init only. > > So drop the __initdata annotation. > > This fixes following warnings: ... > Signed-off-by: Sam Ravnborg <sam@xxxxxxxxxxxx> Sam, I'm going to apply this to sparc-2.6 because these are actually real bugs. If we initdata the OF driver match information, the generic device driver layer could reference this freed memory. Thanks! -- To unsubscribe from this list: send the line "unsubscribe sparclinux" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html