Re: [PATCH] scsi: not need to alloc zero buffer for local_atto_ioctl

2016-08-25 Thread Martin K. Petersen
> "Shawn" == Shawn Lin writes: Shawn> We don't need to use kzalloc as we will always memset the Shawn> local_atto_ioctl later. Applied to 4.9/scsi-queue. -- Martin K. Petersen Oracle Linux Engineering -- To unsubscribe from this list: send the line "unsubscribe linux-scsi" in the body

Re: [PATCH] scsi: not need to alloc zero buffer for local_atto_ioctl

2016-08-25 Thread Bradley Grove
Acked-by: Bradley Grove On 08/20/2016 10:33 PM, Shawn Lin wrote: We don't need to use kzalloc as we will always memset the local_atto_ioctl later. Signed-off-by: Shawn Lin --- drivers/scsi/esas2r/esas2r_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/scsi/

[PATCH] scsi: not need to alloc zero buffer for local_atto_ioctl

2016-08-20 Thread Shawn Lin
We don't need to use kzalloc as we will always memset the local_atto_ioctl later. Signed-off-by: Shawn Lin --- drivers/scsi/esas2r/esas2r_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/scsi/esas2r/esas2r_main.c b/drivers/scsi/esas2r/esas2r_main.c index 2aca4