]> asedeno.scripts.mit.edu Git - linux.git/commit
skd: Simplify the code for allocating DMA message buffers
authorBart Van Assche <bart.vanassche@wdc.com>
Thu, 17 Aug 2017 20:13:06 +0000 (13:13 -0700)
committerJens Axboe <axboe@kernel.dk>
Fri, 18 Aug 2017 14:45:29 +0000 (08:45 -0600)
commit6507f436f92c37a7963bf0d55df7b673d8d6f533
treeb4e1001d3f89f967dab4544859b955f107ee1095
parentfe4fd7235a0cfc7a98139068f6ce82ee3d813684
skd: Simplify the code for allocating DMA message buffers

dma_alloc_coherent() guarantees alignment on a page boundary so
no explicit alignment is needed to align on a 64 byte boundary.

Signed-off-by: Bart Van Assche <bart.vanassche@wdc.com>
Cc: Christoph Hellwig <hch@lst.de>
Cc: Hannes Reinecke <hare@suse.de>
Cc: Johannes Thumshirn <jthumshirn@suse.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/block/skd_main.c
drivers/block/skd_s1120.h