linux-next: build failure after merge of the final tree (suspendtree related)

From: Stephen Rothwell
Date: Wed Sep 08 2010 - 22:58:54 EST


Hi Rafael,

After merging the final tree, today's linux-next build (powerpc allyesconfig)
failed like this:

kernel/power/swap.c: In function 'save_image_lzo':
kernel/power/swap.c:447: error: implicit declaration of function 'vmalloc'
kernel/power/swap.c:447: warning: assignment makes pointer from integer without a cast
kernel/power/swap.c:454: warning: assignment makes pointer from integer without a cast
kernel/power/swap.c:457: error: implicit declaration of function 'vfree'
kernel/power/swap.c:462: warning: assignment makes pointer from integer without a cast
kernel/power/swap.c: In function 'load_image_lzo':
kernel/power/swap.c:767: warning: assignment makes pointer from integer without a cast
kernel/power/swap.c:774: warning: assignment makes pointer from integer without a cast

Caused by commit 2b2609c19ff19361360552786bd252ef40dfe5ce ("PM /
Hibernate: Compress hibernation image with LZO").

See Rule 1 in Documentation/SubmitChecklist. There is a missing include
of linux/vmalloc.h.

I have reverted that commit for today.
--
Cheers,
Stephen Rothwell sfr@xxxxxxxxxxxxxxxx
http://www.canb.auug.org.au/~sfr/

Attachment: pgp00000.pgp
Description: PGP signature