* Aaro Koskinen <aaro.koskinen@xxxxxxxxx> [110105 08:39]: > memcpy() copies 8 bytes too much (omap_mux_entry vs. omap_mux). Correct > by replacing memcpy() with struct assignment, which is safer. Thanks will queue as a fix after the merge window. Tony > Signed-off-by: Aaro Koskinen <aaro.koskinen@xxxxxxxxx> > --- > arch/arm/mach-omap2/mux.c | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > > diff --git a/arch/arm/mach-omap2/mux.c b/arch/arm/mach-omap2/mux.c > index 17bd639..df8d2f2 100644 > --- a/arch/arm/mach-omap2/mux.c > +++ b/arch/arm/mach-omap2/mux.c > @@ -893,7 +893,7 @@ static struct omap_mux * __init omap_mux_list_add( > return NULL; > > m = &entry->mux; > - memcpy(m, src, sizeof(struct omap_mux_entry)); > + entry->mux = *src; > > #ifdef CONFIG_OMAP_MUX > if (omap_mux_copy_names(src, m)) { > -- > 1.5.6.5 > > -- > To unsubscribe from this list: send the line "unsubscribe linux-omap" in > the body of a message to majordomo@xxxxxxxxxxxxxxx > More majordomo info at http://vger.kernel.org/majordomo-info.html -- To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html