On 3/28/2019 11:06 AM, Bart Van Assche wrote:
Hi Martin, This patch series addresses several warnings reported by static checkers for the lpfc driver and one runtime warning. Please consider this patch series for kernel v5.2. Thanks, Bart. Bart Van Assche (7): lpfc: Declare local functions static lpfc: Fix indentation and balance braces lpfc: Annotate switch/case fall-through lpfc: Move trunk_errmsg[] from a header file into a .c file lpfc: Remove set-but-not-used variables lpfc: Remove unused functions lpfc: Change smp_processor_id() into raw_smp_processor_id() drivers/scsi/lpfc/lpfc_attr.c | 21 +++- drivers/scsi/lpfc/lpfc_ct.c | 2 + drivers/scsi/lpfc/lpfc_els.c | 26 ++--- drivers/scsi/lpfc/lpfc_hbadisc.c | 5 +- drivers/scsi/lpfc/lpfc_hw4.h | 17 +-- drivers/scsi/lpfc/lpfc_init.c | 10 +- drivers/scsi/lpfc/lpfc_nportdisc.c | 8 +- drivers/scsi/lpfc/lpfc_nvme.c | 13 ++- drivers/scsi/lpfc/lpfc_nvmet.c | 33 ++---- drivers/scsi/lpfc/lpfc_scsi.c | 14 +-- drivers/scsi/lpfc/lpfc_sli.c | 169 ++--------------------------- 11 files changed, 80 insertions(+), 238 deletions(-)
Series looks good. Thanks Bart. -- james Reviewed-by: James Smart <james.smart@xxxxxxxxxxxx>