Message ID | 20200709174556.7651-19-lee.jones@linaro.org (mailing list archive) |
---|---|
State | Superseded |
Headers | show
Return-Path: <SRS0=/8H4=AU=vger.kernel.org=linux-scsi-owner@kernel.org> Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 06B9160D for <patchwork-linux-scsi@patchwork.kernel.org>; Thu, 9 Jul 2020 17:46:53 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id E02B12082E for <patchwork-linux-scsi@patchwork.kernel.org>; Thu, 9 Jul 2020 17:46:52 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="THHFlyDN" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728724AbgGIRqt (ORCPT <rfc822;patchwork-linux-scsi@patchwork.kernel.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-Google-Smtp-Source: ABdhPJxVsZiWV2GSjBwMelb7G5gDpGItFQpB6cjPyhX5+TFpX2QA4i7Wi5YMnZ42voh/y6eviZADJw== 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(-)