]> git.baikalelectronics.ru Git - kernel.git/commit
scsi: lpfc: Move trunk_errmsg[] from a header file into a .c file
authorBart Van Assche <bvanassche@acm.org>
Thu, 28 Mar 2019 18:06:19 +0000 (11:06 -0700)
committerMartin K. Petersen <martin.petersen@oracle.com>
Thu, 4 Apr 2019 03:11:36 +0000 (23:11 -0400)
commit5b1f8a5147ba30da258c1995c574ffd6de9b0a68
treebc3e2568f1be536e5b8f765845c050aa72435fcc
parent5fe271a0ecf614193d2d367ac44736ccba4f11f8
scsi: lpfc: Move trunk_errmsg[] from a header file into a .c file

Arrays should be defined in .c files instead of in a header file. This
patch reduces the size of the lpfc kernel module.

Cc: James Smart <james.smart@broadcom.com>
Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Acked-by: James Smart <james.smart@broadcom.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/lpfc/lpfc_attr.c
drivers/scsi/lpfc/lpfc_hw4.h