Message ID | 20200708120221.3386672-15-lee.jones@linaro.org |
---|---|
State | Superseded |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a92:d244:0:0:0:0:0 with SMTP id v4csp371168ilg; Wed, 8 Jul 2020 05:04:15 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzzNe1NFS92w55XQ/8SSGTXf72QMUZmQdzFTG8dJjMvymbFFkN27IxSATKBHXX7ffgAGSq8 X-Received: by 2002:a17:906:f2d6:: with SMTP id gz22mr50683184ejb.407.1594209855530; Wed, 08 Jul 2020 05:04:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1594209855; cv=none; d=google.com; s=arc-20160816; b=wqU111KhQSs3sGe7we+g0C1o7PeDAiHQP+hTlyIq+m9nlTFG0dDOz2FjU0ot9en0/8 kHp2ldEw4gRupp8OWfyGQXAyEMPrXK5AYxKR8quY2fQLLPmXGyd81BD6zwUOAygqvBsO M62BRxCWPrNICs9m/s/xH4Mdl704Xch1xIKi0Rj9fG9PvMNvhErk6slT0Asfu5zK6V6p B+GYgapJyKdTAjDeJLhy2zE0Z/xTjwH685yZlfNJb77AVbpn8XB3Y/KgLph6VSZZJuzz r9APNg51gyvZ7+Hz4FNB7qHHneFRhfuCvB0/X1O2YMeLR4OyPtHkixvP1IsdEGMmUDNP 8y2w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=u+pt3rF/aF9MXBxaxOWkhoV3OTeQnwTFN7tbYNZX5zs=; b=LjnUDhQTc3m6xpqGZXnhRcm2hlU674ly6l8vtwAmaWVWlaNiYDFIR0qphkGUieJP9S RyUuOi1TcsgJqMEoCm+7YsK9t8+Cs64l3V/vYm5zjGBb9G+b0Y47cy6wR2ITvjiOqqRY wRW8JAoNYab3JUCTWQgkYIDrLrUTpXJ+CBw+Pj4xohzOnvhyP5v9eDeMX3BGaO/0OtOs L2kNZH54XOey9u5/dbw2d6R7woeODmzj6/3vpl8w35UNiFDfmjEe3ow2MjZkMhYl0FPy /AlX8Tk6l6itq9caG78XX55M7bKpGAvMeGGN1KHDqew9RX55UdsvmnkdMI+is7uiwHWw JH6Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=oE7zSyqN; spf=pass (google.com: domain of linux-scsi-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-scsi-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: <linux-scsi-owner@vger.kernel.org> Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id d22si17253910edq.274.2020.07.08.05.04.15 for <patch@linaro.org>; Wed, 08 Jul 2020 05:04:15 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-scsi-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=oE7zSyqN; spf=pass (google.com: domain of linux-scsi-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-scsi-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729297AbgGHMEO (ORCPT <rfc822;patch@linaro.org>); Wed, 8 Jul 2020 08:04:14 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55424 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729100AbgGHMCr (ORCPT <rfc822; linux-scsi@vger.kernel.org>); Wed, 8 Jul 2020 08:02:47 -0400 Received: from mail-wr1-x442.google.com (mail-wr1-x442.google.com [IPv6:2a00:1450:4864:20::442]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BF717C08E6DC for <linux-scsi@vger.kernel.org>; Wed, 8 Jul 2020 05:02:46 -0700 (PDT) Received: by mail-wr1-x442.google.com with SMTP id a6so48692948wrm.4 for <linux-scsi@vger.kernel.org>; Wed, 08 Jul 2020 05:02:46 -0700 (PDT) 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=u+pt3rF/aF9MXBxaxOWkhoV3OTeQnwTFN7tbYNZX5zs=; b=oE7zSyqND80DYg6poQGupsJ8X6JD6kP5o9tqMqKexmIZ5T1XZjMpjTu+uc7XV6qG7C kgRV15okIHcFVrQO3kFLU1I/IukiFmYdYwspufNCTRM1gYnW9u4QQmEd4wNPjU9bXeY1 4F54e1h99u1e3nHDUhuna8VpdSI0KEA8ciSGQSTWgQcJPnBXfHbNoj0+Myq6rxp/eRmo ykuFjG2I1w+jLuHT3F04K3g0Nc5DtiGlrm1JnI/1KFlsdjpK91/142ie+NT+ae16cS8T Ubys/GUaWZV1JQrnzxbGaWGDvtMlqqZ63FShQOSNGLNQQeM8svaxthO8fb8w6nQJAEyV APvg== 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=u+pt3rF/aF9MXBxaxOWkhoV3OTeQnwTFN7tbYNZX5zs=; b=son0F+ELD5UmivHAZjc0Igtp5J3zS/RgqHsPrwkNSyLPtJjsUUl5Mz3+1ALZ2xZ6ek M5AxwwSlzDUXHUiDg07ryw0f/v7/iCYkt07llJhlfaut6O8yZHS/LeWHKhQTetVoDRbo 4+MO5i7GHTjZSrtMjpvzrK+Dl90rIyLdklELBvetjwW0hCdWuUnR+zvTO5sWARbtxIeE GOR0qzrdHsoU57aJBlq7FBPZkFKazsxHhgg73gYrOOe0DMIE0q/hDutOxBRjLwOEdQi+ TieopSFdxfXi8pf7iTDsLyPjol+3KYw9vJhp+TYW4qaaokd0iuRlB1QaTi7weMmTx3H5 BhSQ== X-Gm-Message-State: AOAM532T0w8RIlTgZBV1I+GWmeRExY4PBN+RsmbNwbLRcxOMrSlpIu1j 7PDS+idm9KVOsL4dWvkJzb/s4A== X-Received: by 2002:a5d:5084:: with SMTP id a4mr60185807wrt.191.1594209765523; Wed, 08 Jul 2020 05:02:45 -0700 (PDT) Received: from localhost.localdomain ([2.27.35.206]) by smtp.gmail.com with ESMTPSA id m62sm3964997wmm.42.2020.07.08.05.02.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 08 Jul 2020 05:02:44 -0700 (PDT) From: Lee Jones <lee.jones@linaro.org> To: jejb@linux.ibm.com, martin.petersen@oracle.com Cc: linux-kernel@vger.kernel.org, linux-scsi@vger.kernel.org, Lee Jones <lee.jones@linaro.org>, QLogic-Storage-Upstream@qlogic.com, Prakash Gollapudi <bprakash@broadcom.com> Subject: [PATCH 14/30] scsi: bnx2fc: bnx2fc_hwi: Fix a couple of bitrotted function documentation headers Date: Wed, 8 Jul 2020 13:02:05 +0100 Message-Id: <20200708120221.3386672-15-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200708120221.3386672-1-lee.jones@linaro.org> References: <20200708120221.3386672-1-lee.jones@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-scsi-owner@vger.kernel.org Precedence: bulk List-ID: <linux-scsi.vger.kernel.org> X-Mailing-List: linux-scsi@vger.kernel.org |
Series |
Fix a bunch more SCSI related W=1 warnings
|
expand
|
diff --git a/drivers/scsi/bnx2fc/bnx2fc_hwi.c b/drivers/scsi/bnx2fc/bnx2fc_hwi.c index 8c0d6866cf3b8..e72d7bb7f4f42 100644 --- a/drivers/scsi/bnx2fc/bnx2fc_hwi.c +++ b/drivers/scsi/bnx2fc/bnx2fc_hwi.c @@ -485,7 +485,7 @@ int bnx2fc_send_session_disable_req(struct fcoe_port *port, /** * bnx2fc_send_session_destroy_req - initiates FCoE Session destroy * - * @port: port structure pointer + * @hba: adapter structure pointer * @tgt: bnx2fc_rport structure pointer */ int bnx2fc_send_session_destroy_req(struct bnx2fc_hba *hba, @@ -1334,8 +1334,8 @@ static void bnx2fc_init_failure(struct bnx2fc_hba *hba, u32 err_code) /** * bnx2fc_indicae_kcqe - process KCQE * - * @hba: adapter structure pointer - * @kcqe: kcqe pointer + * @context: adapter structure pointer + * @kcq: kcqe pointer * @num_cqe: Number of completion queue elements * * Generic KCQ event handler
Likely a result of documentation not keeping up with API updates (a.k.a. bitrot). Fixes the following W=1 kernel build warning(s): drivers/scsi/bnx2fc/bnx2fc_hwi.c:493: warning: Function parameter or member 'hba' not described in 'bnx2fc_send_session_destroy_req' drivers/scsi/bnx2fc/bnx2fc_hwi.c:493: warning: Excess function parameter 'port' description in 'bnx2fc_send_session_destroy_req' drivers/scsi/bnx2fc/bnx2fc_hwi.c:1345: warning: Function parameter or member 'context' not described in 'bnx2fc_indicate_kcqe' drivers/scsi/bnx2fc/bnx2fc_hwi.c:1345: warning: Function parameter or member 'kcq' not described in 'bnx2fc_indicate_kcqe' drivers/scsi/bnx2fc/bnx2fc_hwi.c:1345: warning: Excess function parameter 'hba' description in 'bnx2fc_indicate_kcqe' drivers/scsi/bnx2fc/bnx2fc_hwi.c:1345: warning: Excess function parameter 'kcqe' description in 'bnx2fc_indicate_kcqe' Cc: QLogic-Storage-Upstream@qlogic.com Cc: Prakash Gollapudi <bprakash@broadcom.com> Signed-off-by: Lee Jones <lee.jones@linaro.org> --- drivers/scsi/bnx2fc/bnx2fc_hwi.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) -- 2.25.1