]> asedeno.scripts.mit.edu Git - linux.git/commit
cciss: Remove kmalloc cast
authorTobin C. Harding <me@tobin.cc>
Wed, 22 Feb 2017 06:12:38 +0000 (17:12 +1100)
committerJens Axboe <axboe@fb.com>
Wed, 22 Feb 2017 18:54:49 +0000 (11:54 -0700)
commit48efbfbf6353af15d97ef37216146e550403c773
tree493811aebd1b58efb402183a8dec56a1e0617615
parent19a5e10c3b53772cfe47a23963ebcb941d81e695
cciss: Remove kmalloc cast

Coccinelle emits a warning about casting the return value of
kmalloc(). Coccinelle suggests removing the cast as do
kerneljanitors.

Remove cast from kmalloc() call.

Signed-off-by: Tobin C. Harding <me@tobin.cc>
Acked-by: Don Brace <don.brace@microsemi.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
drivers/block/cciss_scsi.c