Messages in this thread | | | Date | Mon, 6 Jul 2015 09:27:31 +1000 | From | Stephen Rothwell <> | Subject | linux-next: build failure after merge of the device-mapper tree |
| |
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@canb.auug.org.au [unhandled content-type:application/pgp-signature] | |