]> git.baikalelectronics.ru Git - kernel.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)
commiteda8c7156425d9a715ac66396ebaa0c2520b7a26
tree493811aebd1b58efb402183a8dec56a1e0617615
parent0f36054c6bfe7dff1d9e91ce4b74c656b483b31b
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