From patchwork Thu Nov 19 20:33:28 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: James Smart X-Patchwork-Id: 328851 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-18.7 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_CR_TRAILER,INCLUDES_PATCH,MAILING_LIST_MULTI,MIME_NO_TEXT, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id C1BF5C56201 for ; Thu, 19 Nov 2020 20:33:41 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 5A9182078E for ; Thu, 19 Nov 2020 20:33:41 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=broadcom.com header.i=@broadcom.com header.b="Qj/0BxPQ" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727476AbgKSUdl (ORCPT ); Thu, 19 Nov 2020 15:33:41 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35456 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727211AbgKSUdk (ORCPT ); Thu, 19 Nov 2020 15:33:40 -0500 Received: from mail-pl1-x643.google.com (mail-pl1-x643.google.com [IPv6:2607:f8b0:4864:20::643]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B6790C0613CF for ; Thu, 19 Nov 2020 12:33:40 -0800 (PST) Received: by mail-pl1-x643.google.com with SMTP id s2so3592595plr.9 for ; Thu, 19 Nov 2020 12:33:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=broadcom.com; s=google; h=from:to:cc:subject:date:message-id:mime-version; bh=yXpwZ4AbOlXxD2NPqhNQpnbgbvMtJ3NxyHBgGd5qrh0=; b=Qj/0BxPQL7pzuDDbXFIqf53VZPHCHd9p8XRgYrbaEyw+Gd12xOmYuK3Vdy0iAsw489 NpqzCjxR8BNJMqHxHJT8N7+e6XN+qCxBuJ3t3ULdvkFy51J+Ab72+0VoHnCJ8Fi0jJIm CC5nlJrkaqW33FzMB02EecoXVfIAEFT2WaXPY= 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; bh=yXpwZ4AbOlXxD2NPqhNQpnbgbvMtJ3NxyHBgGd5qrh0=; b=S8tzpVFiu7htRWiwaZslnYoMGlWDqUKVmURh5iVkILBkOAEvJayb50ZnqxadmLaK4V 0khCpwTC9YWeBzH5b4xumHpA8iYWRw/aRO1iTlmVBZBaM+00mifC1EKcg38Z305o3k9v ZpkYYOI/Gs919bUG4fVs5UrnAMuv273/kiF6FiOtaEa1kLDIENvYztcGUy3TWrfUbelO ++YE5ekLG13hIPsdIq2zUdVnkMw/zQlUBw23iWhZAwn8KYJ1rTS5v4WcH6dkFS+r3grK +XDE9icmAitz7a8CNsc9X2QR06Ys9oCvyAnzJnEabryENnKuYLS5QTr6IJQcG+yltZ3g 6muw== X-Gm-Message-State: AOAM533xuq1MF0MENChcAJVD6ItxAv4tN6DFnaliPLNYPDxMLE4X2QWe T4faIHrf646TZBuHV4VykVxwkLy15qvTgp4up9sHMUaNc1ulX+N4o7/zVJ6DYgB5OBFkTBQHYW8 Gz/PDrtUDH5RoHd25/reveHpekkhJ4rXHQ/P902iVpnYaHLXIlG49BBfEVpi76aIHaWQ5WU8/kk Oc7d8= X-Google-Smtp-Source: ABdhPJw9BQU3k07HxfT2xM8g0Uihs0y5zLt7zot8R4cK/8bw4QTUuvCZSG+OEOyDTjY+uxf97aputA== X-Received: by 2002:a17:902:7081:b029:d9:d623:68f8 with SMTP id z1-20020a1709027081b02900d9d62368f8mr5850385plk.54.1605818018990; Thu, 19 Nov 2020 12:33:38 -0800 (PST) Received: from localhost.localdomain ([192.19.223.252]) by smtp.gmail.com with ESMTPSA id x8sm779965pfi.24.2020.11.19.12.33.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 19 Nov 2020 12:33:38 -0800 (PST) From: James Smart To: linux-scsi@vger.kernel.org Cc: James Smart , kernel test robot Subject: [PATCH] lpfc: Fix missing prototype warning for lpfc_fdmi_vendor_attr_mi Date: Thu, 19 Nov 2020 12:33:28 -0800 Message-Id: <20201119203328.121772-1-james.smart@broadcom.com> X-Mailer: git-send-email 2.26.2 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-scsi@vger.kernel.org Function needs to be declared as static. Fixes: 8aaa7bcf07a2 ("scsi: lpfc: Add FDMI Vendor MIB support") Reported-by: kernel test robot Signed-off-by: James Smart --- drivers/scsi/lpfc/lpfc_ct.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/scsi/lpfc/lpfc_ct.c b/drivers/scsi/lpfc/lpfc_ct.c index ef4b8620c0e8..dd0b432f7ac5 100644 --- a/drivers/scsi/lpfc/lpfc_ct.c +++ b/drivers/scsi/lpfc/lpfc_ct.c @@ -3295,7 +3295,7 @@ lpfc_fdmi_smart_attr_security(struct lpfc_vport *vport, return size; } -int +static int lpfc_fdmi_vendor_attr_mi(struct lpfc_vport *vport, struct lpfc_fdmi_attr_def *ad) {