Re: [PATCH] x86, dumpstack: Fix unused variable warning.

From: Rakib Mullick
Date: Wed Nov 24 2010 - 05:26:09 EST


On Wed, Nov 24, 2010 at 3:57 PM, Jesper Juhl <jj@xxxxxxxxxxxxx> wrote:
> On Wed, 24 Nov 2010, Rakib Mullick wrote:
>
>
> So, now the bp variable does not exist at all if CONFIG_FRAME_POINTER is
> not defined.

Yes - right. And its not used outside CONFIG_FRAME_POINTER.

> That's going to make this line :
>
>          show_trace(NULL, NULL, &stack, bp);
>
Not clear what are you trying to say. Would you please, clear it up a bit?

> found further down in the dump_stack() function, quite unhappy.
>
>
> --
> Jesper Juhl <jj@xxxxxxxxxxxxx>            http://www.chaosbits.net/
> Don't top-post http://www.catb.org/~esr/jargon/html/T/top-post.html
> Plain text mails only, please.
>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/