]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commit
scsi: bfa: use ARRAY_SIZE for array sizing calculation on array __pciids
authorColin Ian King <colin.king@canonical.com>
Sun, 7 Jan 2018 23:15:10 +0000 (23:15 +0000)
committerMartin K. Petersen <martin.petersen@oracle.com>
Thu, 11 Jan 2018 04:25:10 +0000 (23:25 -0500)
commitbcb872400b50e0cfa75f12e6d6097595cd317690
treeb1a9550acf02191fefa78e3572cde69238d6bebf
parent8b56918082794e088291d3d08dac643596be5e63
scsi: bfa: use ARRAY_SIZE for array sizing calculation on array __pciids

Use the ARRAY_SIZE macro on array __pciids to determine size of the
array.  Improvement suggested by coccinelle.

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/bfa/bfa_core.c