Re: [PATCH] scsi: bfa: use ARRAY_SIZE for array sizing calculation on array __pciids

2018-01-10 Thread Martin K. Petersen
Colin, > Use the ARRAY_SIZE macro on array __pciids to determine size of the array. > Improvement suggested by coccinelle. Applied to 4.16/scsi-queue. Thanks! -- Martin K. Petersen Oracle Linux Engineering

Re: [PATCH] scsi: bfa: use ARRAY_SIZE for array sizing calculation on array __pciids

2018-01-10 Thread Martin K. Petersen
Colin, > Use the ARRAY_SIZE macro on array __pciids to determine size of the array. > Improvement suggested by coccinelle. Applied to 4.16/scsi-queue. Thanks! -- Martin K. Petersen Oracle Linux Engineering

[PATCH] scsi: bfa: use ARRAY_SIZE for array sizing calculation on array __pciids

2018-01-07 Thread Colin King
From: Colin Ian King Use the ARRAY_SIZE macro on array __pciids to determine size of the array. Improvement suggested by coccinelle. Signed-off-by: Colin Ian King --- drivers/scsi/bfa/bfa_core.c | 2 +- 1 file changed, 1 insertion(+), 1

[PATCH] scsi: bfa: use ARRAY_SIZE for array sizing calculation on array __pciids

2018-01-07 Thread Colin King
From: Colin Ian King Use the ARRAY_SIZE macro on array __pciids to determine size of the array. Improvement suggested by coccinelle. Signed-off-by: Colin Ian King --- drivers/scsi/bfa/bfa_core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/scsi/bfa/bfa_core.c