Message ID | 20200709174556.7651-19-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 v4csp1631999ilg; Thu, 9 Jul 2020 10:46:53 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzSUQK5NehUao0sNbdnjnzJ5PzJip9TyJbuClmBYP/7zt4Pih4FYuh3Xw/OY6gXRWHlt4sl X-Received: by 2002:a17:906:3958:: with SMTP id g24mr55465987eje.26.1594316813580; Thu, 09 Jul 2020 10:46:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1594316813; cv=none; d=google.com; s=arc-20160816; b=IgmcSUCwg6gTBP9+HEnOYe8ruPmJpNAxZDu1/Ya3G9XMFaLZjxrgSP2GtNAOsJLE2l maQMp7xRa2zrdpmz9ktZQnkQGBzHNn2St7PL94k4BjKDNTSKrX6a8v4yC2NnLNvOiEV5 /GjPlCesgxUQJwc8Cc12Uk/urhcEyWVH/LgDUjFTZ5De2XIaS3Wumb/IaV67F7YYUQSF umLIC0TTP+6XqWzgCl9dZwvNFAAR1dPKCtijJSZWfnq+6o3VnvoTsvO7XvwnZL0YlvgQ xiCjBpn4y0L95m50Wy1zuzooMbjC5AKa3s+bkQR1+ECeqsU8zX+7B0JFij8m16DQln9F vTHg== 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=9ZgkQ7bdc1wuAXRYHhS8n4ys9/FLwMulTL97bGrK6Pg=; b=gGZKrakSutJBMkbadDVzer/mSNxEm0zgaYiDkor83bjQF6rwjaK7KhRcMeMKAG51qD qA06a5ghxri1pZ4W0swB5Q4kusaMdGfl9j+S0jCN2IhO28p3tV8apQ0feuTkIsMzYWH7 LbJSP0jdfTfharUgDp6TuLNMaMcPg2X7bYPt3Q07ux712d7cOzEozqOZ/wHbEBOm6V8s rVlYLZtX+WCqjdPgAOGrNTyf3gIsOr6Icu0HrutooMOIqDwyJeu7nxbjqX/A8Vv0cIDK /aYWLEtE9Faer809lohZuKLc1bSjjlPVOQ1U6LRMJbrRXoVSdp34Igdm5lO5eCSVR4Lu 6tsQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=THHFlyDN; 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 d23si2400256ejz.145.2020.07.09.10.46.53 for <patch@linaro.org>; Thu, 09 Jul 2020 10:46:53 -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=THHFlyDN; 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 S1728724AbgGIRqt (ORCPT <rfc822;patch@linaro.org>); Thu, 9 Jul 2020 13:46:49 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48982 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728645AbgGIRqW (ORCPT <rfc822; linux-scsi@vger.kernel.org>); Thu, 9 Jul 2020 13:46:22 -0400 Received: from mail-wm1-x343.google.com (mail-wm1-x343.google.com [IPv6:2a00:1450:4864:20::343]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 01E1BC08C5DC for <linux-scsi@vger.kernel.org>; Thu, 9 Jul 2020 10:46:21 -0700 (PDT) Received: by mail-wm1-x343.google.com with SMTP id f18so2758627wml.3 for <linux-scsi@vger.kernel.org>; Thu, 09 Jul 2020 10:46:20 -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=9ZgkQ7bdc1wuAXRYHhS8n4ys9/FLwMulTL97bGrK6Pg=; b=THHFlyDNfbGhREe2Mth1t3vCdRUQD4ki7iIZalNoQuNJfu8+DSo3uQh/JnGFL1A7pB r6my4q+nRSD/YT8Kj7W7qiyUu4sCcRaeitRb9gqIgzTzXOrEgeNR5c2j7v0DiGPCTj/r GZ+R+hesfOrz8Xx88SDf0a9ZLtrXI9KyTVwM0Fc7itFpMLeGE/H4H7vnS5jdMQ1PSsm4 XwPKiJQJdEbzq0enhc1XJN7KBC/Y8fJ6m1pTP34kg0vZIfkB5QtC1DGJoSUpWzHqjYHW KJevbzy75tsf6JdnjP+mG/Zt1RE5Ad862YUbB6B6NXn3g7lsp51hDsB9mOCnx+t38PoO 1poQ== 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=9ZgkQ7bdc1wuAXRYHhS8n4ys9/FLwMulTL97bGrK6Pg=; b=VQv5cm4f5T1JaqZwoYYBCKSUMtAK8zm/2YxF6Q28nXwZPmnQD4pYjl27EtK2yGdYLL VHAQNo2gwNbtq25foPEsPrXw8qqE4c1Czb/iDoAwJXPqwZkCWKZtNi98JxR8LM3tj1Ij LZfH2OwPId4K+bjmhIti4zZTbb9kKMnWj5gVqP/FAcfZiWVOpujxpKkTZaJcIA2EjO/f li0JI79/NSukCZ11EAP22DIgkcxImZ8aHVooULyEOytXo/tn3n8MtykIgKTwRNndYMsu 2DWtUkahbY4h67tnZxDk9USDn1Xhpihkb8FkTcqlixYD5eNAHWSmowV7zVxd7rlwf27n e/Sg== X-Gm-Message-State: AOAM531ZxwGySVcqaRmUZ7lsl+Ltoly6TYChk3+tvr/BZZ/dKC/m33ZB go1S5Iwc1rcHwRC6IE1iddSx1Q== X-Received: by 2002:a1c:49d4:: with SMTP id w203mr1191513wma.13.1594316779758; Thu, 09 Jul 2020 10:46:19 -0700 (PDT) Received: from localhost.localdomain ([2.27.35.206]) by smtp.gmail.com with ESMTPSA id f15sm6063854wrx.91.2020.07.09.10.46.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 09 Jul 2020 10:46:19 -0700 (PDT) From: Lee Jones <lee.jones@linaro.org> To: jejb@linux.ibm.com, martin.petersen@oracle.com, linux-scsi@vger.kernel.org Cc: linux-kernel@vger.kernel.org, Lee Jones <lee.jones@linaro.org>, Subbu Seetharaman <subbu.seetharaman@broadcom.com>, Ketan Mukadam <ketan.mukadam@broadcom.com>, Jitendra Bhivare <jitendra.bhivare@broadcom.com>, linux-drivers@broadcom.com Subject: [PATCH 18/24] scsi: be2iscsi: be_main: Fix misdocumentation of 'pcontext' Date: Thu, 9 Jul 2020 18:45:50 +0100 Message-Id: <20200709174556.7651-19-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200709174556.7651-1-lee.jones@linaro.org> References: <20200709174556.7651-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 |
Set 3: Fix another set of SCSI related W=1 warnings
|
expand
|
diff --git a/drivers/scsi/be2iscsi/be_main.c b/drivers/scsi/be2iscsi/be_main.c index 9b81cfbbc5c53..8dc2e0824ad78 100644 --- a/drivers/scsi/be2iscsi/be_main.c +++ b/drivers/scsi/be2iscsi/be_main.c @@ -977,7 +977,7 @@ beiscsi_get_wrb_handle(struct hwi_wrb_context *pwrb_context, * alloc_wrb_handle - To allocate a wrb handle * @phba: The hba pointer * @cid: The cid to use for allocation - * @pwrb_context: ptr to ptr to wrb context + * @pcontext: ptr to ptr to wrb context * * This happens under session_lock until submission to chip */ @@ -1394,7 +1394,7 @@ static void hwi_complete_cmd(struct beiscsi_conn *beiscsi_conn, spin_unlock_bh(&session->back_lock); } -/** +/* * ASYNC PDUs include * a. Unsolicited NOP-In (target initiated NOP-In) * b. ASYNC Messages
Also demote unintentional kerneldoc header. Fixes the following W=1 kernel build warning(s): drivers/scsi/be2iscsi/be_main.c:986: warning: Function parameter or member 'pcontext' not described in 'alloc_wrb_handle' drivers/scsi/be2iscsi/be_main.c:986: warning: Excess function parameter 'pwrb_context' description in 'alloc_wrb_handle' drivers/scsi/be2iscsi/be_main.c:1409: warning: Function parameter or member 'beiscsi_conn' not described in 'beiscsi_complete_pdu' drivers/scsi/be2iscsi/be_main.c:1409: warning: Function parameter or member 'phdr' not described in 'beiscsi_complete_pdu' drivers/scsi/be2iscsi/be_main.c:1409: warning: Function parameter or member 'pdata' not described in 'beiscsi_complete_pdu' drivers/scsi/be2iscsi/be_main.c:1409: warning: Function parameter or member 'dlen' not described in 'beiscsi_complete_pdu' Cc: Subbu Seetharaman <subbu.seetharaman@broadcom.com> Cc: Ketan Mukadam <ketan.mukadam@broadcom.com> Cc: Jitendra Bhivare <jitendra.bhivare@broadcom.com> Cc: linux-drivers@broadcom.com Signed-off-by: Lee Jones <lee.jones@linaro.org> --- drivers/scsi/be2iscsi/be_main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) -- 2.25.1