RE: [PATCH 3/3] cciss: Remove kmalloc cast

2017-02-22 Thread Don Brace
Tobin C. > Harding > Subject: [PATCH 3/3] cciss: Remove kmalloc cast > > EXTERNAL EMAIL > > > Coccinelle emits a warning about casting the return value of > kmalloc(). Coccinelle suggests removing the cast as do > kerneljanitors. > > Remove cast from kmalloc() ca

[PATCH 3/3] cciss: Remove kmalloc cast

2017-02-21 Thread Tobin C. Harding
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 --- drivers/block/cciss_scsi.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git

[PATCH 3/3] cciss: Remove kmalloc cast

2017-02-21 Thread Tobin C. Harding
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 --- drivers/block/cciss_scsi.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git