On Tue, Mar 06, 2007 at 07:12:53PM -0800, Christopher Li wrote:
> It seems that you are missing this change:
>
> user: Christopher Li <[EMAIL PROTECTED]>
> date: Thu Feb 22 18:28:23 2007 -0800
> summary: Fix the segfault when initializer has unknown symbol
>
> diff -r 9c425042a094 -r d22e36f6c600 expand.c
> --- a/expand.c Wed Feb 21 14:05:52 2007 -0800
> +++ b/expand.c Thu Feb 22 18:28:23 2007 -0800
> @@ -872,7 +872,7 @@ static void verify_nonoverlapping(struct
> struct expression *b;
>
> FOR_EACH_PTR(*list, b) {
> - if (a && a->ctype->bit_size && bit_offset(a) ==
> bit_offset(b)) {
> + if (a && a->ctype && a->ctype->bit_size &&
> bit_offset(a) == bit_offset(b)) {
> sparse_error(a->pos, "Initializer entry defined
> twice");
> info(b->pos, " also defined here");
> return;
>
> Many be the snapshot script need a restart again?
Kicked. Should work again now.
(For something so trivial, that thing is really high maintainence :)
Dave
--
http://www.codemonkey.org.uk
-
To unsubscribe from this list: send the line "unsubscribe linux-sparse" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html