linux-next: build failure after merge of the device-mapper tree
From: Stephen Rothwell
Date: Sun Jul 05 2015 - 19:28:16 EST
Hi all,
After merging the device-mapper tree, today's linux-next build (x86_64
allmodconfig) failed like this:
drivers/md/dm-thin.c: In function '__pool_destroy':
drivers/md/dm-thin.c:2780:2: error: implicit declaration of function 'vfree' [-Werror=implicit-function-declaration]
vfree(pool->cell_sort_array);
^
drivers/md/dm-thin.c: In function 'pool_create':
drivers/md/dm-thin.c:2893:2: error: implicit declaration of function 'vmalloc' [-Werror=implicit-function-declaration]
pool->cell_sort_array = vmalloc(sizeof(*pool->cell_sort_array) * CELL_SORT_ARRAY_SIZE);
^
drivers/md/dm-thin.c:2893:24: warning: assignment makes pointer from integer without a cast
pool->cell_sort_array = vmalloc(sizeof(*pool->cell_sort_array) * CELL_SORT_ARRAY_SIZE);
^
Caused by commit
94212d3b6054 ("dm thin: allocate the cell_sort_array dynamically")
Forgot to include vmalloc.h
I have used the device-mapper from next-20150703 for today.
--
Cheers,
Stephen Rothwell sfr@xxxxxxxxxxxxxxxx
Attachment:
pgp8hZWfSEjDA.pgp
Description: OpenPGP digital signature