Re: [PATCH] scsi: megaraid_sas: NULL check before some freeing functions is not needed.

2018-12-07 Thread Martin K. Petersen
Thomas, > NULL check before some freeing functions is not needed. Applied to 4.21/scsi-queue. -- Martin K. Petersen Oracle Linux Engineering

Re: [PATCH] scsi: megaraid_sas: NULL check before some freeing functions is not needed

2018-12-02 Thread Sumit Saxena
On Wed, Nov 28, 2018 at 1:36 PM Wen Yang wrote: > > dma_pool_destroy(NULL) is safe, so removes NULL check before freeing > the mem. This patch also fix the ifnullfree.cocci warnings. > > Signed-off-by: Wen Yang Acked-by: Sumit Saxena > CC: Julia Lawall > CC: Kashyap Desai > CC: Sumit Saxena

Re: [PATCH] scsi: megaraid_sas: NULL check before some freeing functions is not needed

2018-12-02 Thread Sumit Saxena
On Wed, Nov 28, 2018 at 1:36 PM Wen Yang wrote: > > dma_pool_destroy(NULL) is safe, so removes NULL check before freeing > the mem. This patch also fix the ifnullfree.cocci warnings. > > Signed-off-by: Wen Yang Acked-by: Sumit Saxena > CC: Julia Lawall > CC: Kashyap Desai > CC: Sumit Saxena

[PATCH] scsi: megaraid_sas: NULL check before some freeing functions is not needed.

2018-12-02 Thread Thomas Meyer
NULL check before some freeing functions is not needed. Signed-off-by: Thomas Meyer --- diff -u -p a/drivers/scsi/megaraid/megaraid_mbox.c b/drivers/scsi/megaraid/megaraid_mbox.c --- a/drivers/scsi/megaraid/megaraid_mbox.c +++ b/drivers/scsi/megaraid/megaraid_mbox.c @@ -1243,8 +1243,7 @@

[PATCH] scsi: megaraid_sas: NULL check before some freeing functions is not needed.

2018-12-02 Thread Thomas Meyer
NULL check before some freeing functions is not needed. Signed-off-by: Thomas Meyer --- diff -u -p a/drivers/scsi/megaraid/megaraid_mbox.c b/drivers/scsi/megaraid/megaraid_mbox.c --- a/drivers/scsi/megaraid/megaraid_mbox.c +++ b/drivers/scsi/megaraid/megaraid_mbox.c @@ -1243,8 +1243,7 @@

[PATCH] scsi: megaraid_sas: NULL check before some freeing functions is not needed

2018-11-28 Thread Wen Yang
dma_pool_destroy(NULL) is safe, so removes NULL check before freeing the mem. This patch also fix the ifnullfree.cocci warnings. Signed-off-by: Wen Yang CC: Julia Lawall CC: Kashyap Desai CC: Sumit Saxena CC: Shivasharan S CC: linux-kernel@vger.kernel.org ---

[PATCH] scsi: megaraid_sas: NULL check before some freeing functions is not needed

2018-11-28 Thread Wen Yang
dma_pool_destroy(NULL) is safe, so removes NULL check before freeing the mem. This patch also fix the ifnullfree.cocci warnings. Signed-off-by: Wen Yang CC: Julia Lawall CC: Kashyap Desai CC: Sumit Saxena CC: Shivasharan S CC: linux-kernel@vger.kernel.org ---