>>> Andrew Morton <[EMAIL PROTECTED]> 16.09.07 12:18 >>> >On Mon, 10 Sep 2007 14:02:17 +0100 "Jan Beulich" <[EMAIL PROTECTED]> wrote: > >> .. as they're never written to. > >arch/i386/kernel/traps.c: In function 'dump_trace': >arch/i386/kernel/traps.c:197: warning: initialization discards qualifiers from >pointer target type > >Due to > > struct ops_and_data oad = { .ops = ops, .data = data }; > >messy to fix.
Not really - 'struct ops_and_data' can simply have its 'ops' member also be declared 'struct stacktrace_ops *'. I actually have the patch this way here, but since I generally submit patches against Linus' tree, I had to rip out these hunks, since the structure gets added with the unwinder patch. Jan - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/