From patchwork Thu Mar 28 18:06:15 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Bart Van Assche X-Patchwork-Id: 10875675 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 7172717E0 for ; Thu, 28 Mar 2019 18:06:43 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 5B36E28DE7 for ; Thu, 28 Mar 2019 18:06:43 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 58F8728D92; Thu, 28 Mar 2019 18:06:43 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.9 required=2.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 76C6A28D92 for ; Thu, 28 Mar 2019 18:06:31 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726259AbfC1SGa (ORCPT ); Thu, 28 Mar 2019 14:06:30 -0400 Received: from mail-pl1-f193.google.com ([209.85.214.193]:42628 "EHLO mail-pl1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726171AbfC1SGa (ORCPT ); Thu, 28 Mar 2019 14:06:30 -0400 Received: by mail-pl1-f193.google.com with SMTP id cv12so5333268plb.9 for ; Thu, 28 Mar 2019 11:06:30 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=UwhkBDY29hXqDcCngxDHys13yVBDgfZasVYrVlFlyz8=; b=t4ZTdS4FhiQxOc1yCTawBaIaNc+sTbXG+yqHQ6EdsRvCq8nFMdIQbEufM/KaMBnMHP k7bKYVdaCrDpiPMIFrBVYTVDZcEGm/bI34uwjL1dyy5+0DmvmOth3UfEuJscBP0fz6S/ xc9sA3hOoU7OBWRRNS0MMq6E8+EMu5+cDaMbTrXrQQ1eL4U/P7f7sa6waOTseVZFqgOl xgPo9sP3XsofLQos1Kk9te0aZe9lhA7XZbAdhuYmiLwQg2tS2VpcG5X+5KQKrAnCE/ZY im0OD1EuJLCg6hnHbE/Gk7MX8m3IWH8LtXBy3OXiMLRNCKLFaCVQzxHYlFLCGKMzMkF2 tSpg== X-Gm-Message-State: APjAAAUNiwFWNa5tiI+vSDkzrRRyuWOzftrVdx4YY4u3mecYJaCijc4Y 8gh8FiZbg+00C/HCRAx0NxA= X-Google-Smtp-Source: APXvYqwZZiN3hll0RKSe//BvYzWIgmdbp5JwSa7NYqTL2QeLqlKQ0fT0d0+DD1IuTYG+pWbrFHel8g== X-Received: by 2002:a17:902:a512:: with SMTP id s18mr35836851plq.185.1553796389830; Thu, 28 Mar 2019 11:06:29 -0700 (PDT) Received: from desktop-bart.svl.corp.google.com ([2620:15c:2cd:203:5cdc:422c:7b28:ebb5]) by smtp.gmail.com with ESMTPSA id k72sm72025267pfb.122.2019.03.28.11.06.28 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 28 Mar 2019 11:06:28 -0700 (PDT) From: Bart Van Assche To: "Martin K . Petersen" , "James E . J . Bottomley" Cc: linux-scsi@vger.kernel.org, Christoph Hellwig , Bart Van Assche Subject: [PATCH 0/7] lpfc patches for kernel v5.2 Date: Thu, 28 Mar 2019 11:06:15 -0700 Message-Id: <20190328180622.34984-1-bvanassche@acm.org> X-Mailer: git-send-email 2.20.GIT MIME-Version: 1.0 Sender: linux-scsi-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-scsi@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP 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(-) Reviewed-by:   James Smart