Re: linux-next: Tree for Aug 3 (efivars/pstore)

From: Stephen Rothwell
Date: Wed Aug 03 2011 - 20:49:44 EST


Hi Randy,

On Wed, 3 Aug 2011 10:40:30 -0700 Randy Dunlap <rdunlap@xxxxxxxxxxxx> wrote:
>
> What is this warning about? I don't see the problem.
>
> The warning only happens on i386 AFAIK. Must be some typedef glitch?
>
> drivers/firmware/efivars.c:602: warning: initialization from incompatible pointer type

The second argument to the write method in a pstore_info is supposed to
be "unsigned int" but the assigned function has "int" in the
!CONFIG_PSTORE version.

--
Cheers,
Stephen Rothwell sfr@xxxxxxxxxxxxxxxx
http://www.canb.auug.org.au/~sfr/

Attachment: pgp00000.pgp
Description: PGP signature