From patchwork Fri Mar 12 09:47:30 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 12134135 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.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,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 441C9C43142 for ; Fri, 12 Mar 2021 09:49:05 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 2EC886500B for ; Fri, 12 Mar 2021 09:49:05 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233217AbhCLJsn (ORCPT ); Fri, 12 Mar 2021 04:48:43 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54544 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233109AbhCLJsM (ORCPT ); Fri, 12 Mar 2021 04:48:12 -0500 Received: from mail-wm1-x336.google.com (mail-wm1-x336.google.com [IPv6:2a00:1450:4864:20::336]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3075AC0613D9 for ; Fri, 12 Mar 2021 01:48:12 -0800 (PST) Received: by mail-wm1-x336.google.com with SMTP id n11-20020a05600c4f8bb029010e5cf86347so4235591wmq.1 for ; Fri, 12 Mar 2021 01:48:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=5TKoXnvIDGaG9mQ9ffqN6eqPBIG/XMBZKnS/ZHsZvNk=; b=nzyvqhhToDGBMD1H+5K71jkJajZQm+txYMxGQ0Jygup7M6VUx1LUGjKP09It0oOCra 0jncPYC+gtTyQrUAofcH0Xi3FCz/dNw8xqGdD34XErEX+nYFpwt6PkJj/Tfoan7C9rHd uJRciNGzJNNIKe/HEnpOZkGxXQkPA33K9asn+gjxCG/k+LpykVWaoRKkAWQdzJ5qqqMx Xnn060ci19tH0qQO8RZnBLQwc5qWbAkKEmlkUBHewxHrKrxJUsumZNtK2pHP8a074OrI 041a/RcbTcuA+SsMzO2KWyqxdZzFsHFekk+14M1cflenctKg3tdOFPwIARa0KPOa2567 hTFg== 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=5TKoXnvIDGaG9mQ9ffqN6eqPBIG/XMBZKnS/ZHsZvNk=; b=EBP1/AA4B4zMfnQi3g6IxfEKkSWaKObaNmeSrzJw4xNItmXOLJjgWBaE4EJnOQaC1p 60maEYHINb3hCTBdzpLzwQfLIBpytxHk3Pqd9JgAMs/gRHF4i0NtLr4m2Mv2Tc3BcBNY 2N+8u69eJw+jVt1VYISFiM6yBJg2xSDIh15g+4Pl76yhCNaAD2OKTfIeghMGJa0tt3Vt zOdvGQ1NubCQfL6ljEs+oL2VSBXz4XaScv5KC355dZexaX49OXJHKPgbqVoBs4ONwubB zvnl6GJYaTuyCaoW4Ad+2UvIa0y7u1sIZZBUOBiZKtBbWq9yNLZyG41QnP/0QqHJXVb3 Uf2w== X-Gm-Message-State: AOAM531l5jWRNx8C8fVJeeuTvtxa+6KD3SS5tIg+XgY9uzw7xMjKIBhN Ksmzj8IM27eGZybMPgqCHSDHnQ== X-Google-Smtp-Source: ABdhPJzi4MxxRcuH6p+fMpBx2PqyIGHoOa+j1FPM4XS9qEplmlHxPBSwTCTFKacVCgvcEPAdK4wZkg== X-Received: by 2002:a1c:9854:: with SMTP id a81mr11827885wme.19.1615542490888; Fri, 12 Mar 2021 01:48:10 -0800 (PST) Received: from dell.default ([91.110.221.204]) by smtp.gmail.com with ESMTPSA id f7sm1539536wmq.11.2021.03.12.01.48.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 12 Mar 2021 01:48:10 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Cc: linux-kernel@vger.kernel.org, Nilesh Javali , Manish Rangankar , GR-QLogic-Storage-Upstream@marvell.com, "James E.J. Bottomley" , "Martin K. Petersen" , Anil Veerabhadrappa , Eddie Wai , QLogic-Storage-Upstream@qlogic.com, linux-scsi@vger.kernel.org Subject: [PATCH 22/30] scsi: bnx2i: bnx2i_sysfs: Fix bnx2i_set_ccell_info()'s name in description Date: Fri, 12 Mar 2021 09:47:30 +0000 Message-Id: <20210312094738.2207817-23-lee.jones@linaro.org> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20210312094738.2207817-1-lee.jones@linaro.org> References: <20210312094738.2207817-1-lee.jones@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-scsi@vger.kernel.org Fixes the following W=1 kernel build warning(s): drivers/scsi/bnx2i/bnx2i_sysfs.c:118: warning: expecting prototype for bnx2i_get_link_state(). Prototype was for bnx2i_set_ccell_info() instead Cc: Nilesh Javali Cc: Manish Rangankar Cc: GR-QLogic-Storage-Upstream@marvell.com Cc: "James E.J. Bottomley" Cc: "Martin K. Petersen" Cc: Anil Veerabhadrappa Cc: Eddie Wai Cc: QLogic-Storage-Upstream@qlogic.com Cc: linux-scsi@vger.kernel.org Signed-off-by: Lee Jones --- drivers/scsi/bnx2i/bnx2i_sysfs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/scsi/bnx2i/bnx2i_sysfs.c b/drivers/scsi/bnx2i/bnx2i_sysfs.c index 3dc790089f0fc..bea00073cb7cd 100644 --- a/drivers/scsi/bnx2i/bnx2i_sysfs.c +++ b/drivers/scsi/bnx2i/bnx2i_sysfs.c @@ -104,7 +104,7 @@ static ssize_t bnx2i_show_ccell_info(struct device *dev, /** - * bnx2i_get_link_state - set command cell (HQ) size + * bnx2i_set_ccell_info - set command cell (HQ) size * @dev: device pointer * @attr: device attribute (unused) * @buf: buffer to return current SQ size parameter