diff options
author | Geert Uytterhoeven <geert@linux-m68k.org> | 2016-09-16 14:25:03 +0200 |
---|---|---|
committer | Jens Axboe <axboe@fb.com> | 2016-09-21 07:56:10 -0600 |
commit | e105ddb4a2a13d779311349df2c32fa22a87c406 (patch) | |
tree | a0bbd1bd1186e64ad555a3f294f9c985500bdaca /scripts/coccicheck | |
parent | 60658e0dc1df058607990278fdf9d831e0c2c71a (diff) | |
download | op-kernel-dev-e105ddb4a2a13d779311349df2c32fa22a87c406.zip op-kernel-dev-e105ddb4a2a13d779311349df2c32fa22a87c406.tar.gz |
lightnvm: NVM should depend on HAS_DMA
If NO_DMA=y:
drivers/built-in.o: In function `nvme_nvm_dev_dma_free':
lightnvm.c:(.text+0x23df1a): undefined reference to `dma_pool_free'
drivers/built-in.o: In function `nvme_nvm_dev_dma_alloc':
lightnvm.c:(.text+0x23df38): undefined reference to `dma_pool_alloc'
drivers/built-in.o: In function `nvme_nvm_destroy_dma_pool':
lightnvm.c:(.text+0x23df4c): undefined reference to `dma_pool_destroy'
drivers/built-in.o: In function `nvme_nvm_create_dma_pool':
lightnvm.c:(.text+0x23df7e): undefined reference to `dma_pool_create'
and
ERROR: "dma_pool_destroy" [drivers/nvme/host/nvme-core.ko] undefined!
ERROR: "dma_pool_free" [drivers/nvme/host/nvme-core.ko] undefined!
ERROR: "dma_pool_alloc" [drivers/nvme/host/nvme-core.ko] undefined!
ERROR: "dma_pool_create" [drivers/nvme/host/nvme-core.ko] undefined!
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Matias Bjørling <m@bjorling.me>
Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'scripts/coccicheck')
0 files changed, 0 insertions, 0 deletions