From patchwork Mon Nov 2 14:23:46 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 320310 Delivered-To: patch@linaro.org Received: by 2002:a92:7b12:0:0:0:0:0 with SMTP id w18csp3770687ilc; Mon, 2 Nov 2020 06:25:32 -0800 (PST) X-Google-Smtp-Source: ABdhPJyFV7uGAAmn6vy/AnaFAg3Dag85aWehaSS3xKRPuqKqiwnV+H0/FHWMfHU9Xx8NBpLjBfeS X-Received: by 2002:a17:906:13cd:: with SMTP id g13mr4489265ejc.394.1604327132279; Mon, 02 Nov 2020 06:25:32 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1604327132; cv=none; d=google.com; s=arc-20160816; b=KGoWtCmel8qGmtRO7sdzlKjgyTP/uL2YCk1DFnz4dHhBiyaTyyHK1Ajj+aqulu/zhy uZwVKP4ZFGCSzBQGtLBlEAd0A44s56OjlOBbiLepHQVNNodF/Oio/626aDS/R8RFFJRP 7EkPP3QlLs+uq+TEHb2rjjxvmWZn1SuEPGr5l9Jua5bi0p7BUEvqWGXC7BSSeAB+7qmc LQZDri7d2YlCKupVbcirRBsrygTGwThfIm+t8idB09CtvDaDhUntXir0XPjkGKqFHGDt F8kbWOfck3lk+Y1keIXtPmmUoR2o505cQPR89sKPQP78KkWoA8FfvXdHKW5kNkIu53qG GFjw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=mzeTsnVBQeYqxq9T62Y4dbDZSOnvVH0q+uB/IaQ0f7A=; b=cigO4U9O6Rx/4viU9DsaRx1h1Qvnya8RdGb8S6vIaFyKvp94hapb6zVLoMSdbVRw1A 0zepDuVHoTiwINYQJOrc2ZuR51NjcW/rs2Fk0ZO9ZZKH8XhguBAeEhcsmey80+hCIcTj Kls7tO7cqW6dQW/7JaFVcLzNjYlTncU2qNV5ylK5K3xcP449HEHWWRV3qrlHmO0ZvXfI MNlDdO9D/rJnjJ3e2616RdjyApFFg09BBNdw+cz2hvfW59XhlduE2x2FDRikk5qqfhdm 1BiRLTu/oo2ZFC/9Gn+J3HcQXP83eH1VvKxDOs7hVGoDSKgnSJiDJ+EnCjpaqBx7/OGp pwKQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=DmDYPWXt; 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: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id u12si6104880edi.344.2020.11.02.06.25.32 for ; Mon, 02 Nov 2020 06:25:32 -0800 (PST) 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=DmDYPWXt; 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 S1726445AbgKBOZ0 (ORCPT ); Mon, 2 Nov 2020 09:25:26 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47872 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726216AbgKBOYN (ORCPT ); Mon, 2 Nov 2020 09:24:13 -0500 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 C6A27C061A04 for ; Mon, 2 Nov 2020 06:24:12 -0800 (PST) Received: by mail-wm1-x343.google.com with SMTP id h22so9699102wmb.0 for ; Mon, 02 Nov 2020 06:24: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=mzeTsnVBQeYqxq9T62Y4dbDZSOnvVH0q+uB/IaQ0f7A=; b=DmDYPWXtnNuGHa6+tatUFk5QuHY4P4xSS6RYT8Gi1DqL5YQAxlVL6dREZDhAANp77/ Sm5qufyo+ehieT15KjiZ7iqVwv0J6Qyf17VXXGYXDHX9jh3Kx6QqNU/9ZeJbWFbJSApC phoXu4Rja9nt7CMqDsO7n2jJhL/cjpXI0m2sPX35uE/TEVufO7DA1dxRjWjMwSFlyWkY Yy0x7/2YHj4IVGPYmSc/jY6lUh/rmRc06x0hJmB8MKjqHjder1Ym829TJjzvEADuVSKX f+SncEEEEndwGzXPYtPvk8yArX1v/OE1/MhWarv5FmdExUK7EjHy3TNciwei95VccO5m uRiw== 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=mzeTsnVBQeYqxq9T62Y4dbDZSOnvVH0q+uB/IaQ0f7A=; b=YeFmLW3Iw2fqicvTrO9+y7wSqRsvL6gEwJD9KRnMtU3wD+8rCiLawlN3UhW+XayqLF O6QocOOWxEkPlsVLP63b70RuDnmEeB0mqme7InSnvjK0lhCZb3V+bsBPl1wTYT9KKZQH SyqWLToBnby7ZDcVIqAsIR9jvzWOR8MYh9WNC0vNIroPjX84p8CDX5XMqRriJlgoXHbb /q3PGzkbZSTRCIk/xUEn4Sfm2SD0yIdmymD2nexXfqJGJ4sHe9gvYGxHg4YCVVu0ZQ6w 0s9asSNF41gUaj5uZQezSQtNO4mxmvTYJvpfRqlbWeMVnw1EiI1qL/VhUybBrgqd/yfW 40YA== X-Gm-Message-State: AOAM530YjfJRmhvkFVqilztNbug0JUHr2PzAxktZt1tgTUnFHygzfzMD jOS0oy/6MtXFOawPiK4HIw7Rng== X-Received: by 2002:a1c:2901:: with SMTP id p1mr18492705wmp.170.1604327051506; Mon, 02 Nov 2020 06:24:11 -0800 (PST) Received: from dell.default ([91.110.221.242]) by smtp.gmail.com with ESMTPSA id f7sm23542501wrx.64.2020.11.02.06.24.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 02 Nov 2020 06:24:10 -0800 (PST) From: Lee Jones To: martin.petersen@oracle.com, jejb@linux.ibm.com Cc: linux-kernel@vger.kernel.org, linux-scsi@vger.kernel.org, Lee Jones , James Smart , Dick Kennedy Subject: [RESEND 06/19] scsi: lpfc: lpfc_debugfs: Fix a couple of function documentation issues Date: Mon, 2 Nov 2020 14:23:46 +0000 Message-Id: <20201102142359.561122-7-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201102142359.561122-1-lee.jones@linaro.org> References: <20201102142359.561122-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/lpfc/lpfc_debugfs.c:4204: warning: Function parameter or member 'len' not described in 'lpfc_idiag_queacc_read_qe' drivers/scsi/lpfc/lpfc_debugfs.c:4781: warning: Function parameter or member 'ctlregid' not described in 'lpfc_idiag_ctlacc_read_reg' drivers/scsi/lpfc/lpfc_debugfs.c:4781: warning: Excess function parameter 'drbregid' description in 'lpfc_idiag_ctlacc_read_reg' Cc: James Smart Cc: Dick Kennedy Signed-off-by: Lee Jones --- drivers/scsi/lpfc/lpfc_debugfs.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) -- 2.25.1 diff --git a/drivers/scsi/lpfc/lpfc_debugfs.c b/drivers/scsi/lpfc/lpfc_debugfs.c index 325081ac65539..5a354abcbafc4 100644 --- a/drivers/scsi/lpfc/lpfc_debugfs.c +++ b/drivers/scsi/lpfc/lpfc_debugfs.c @@ -4186,6 +4186,7 @@ lpfc_idiag_que_param_check(struct lpfc_queue *q, int index, int count) /** * lpfc_idiag_queacc_read_qe - read a single entry from the given queue index * @pbuffer: The pointer to buffer to copy the read data into. + * @len: Length of the buffer. * @pque: The pointer to the queue to be read. * @index: The index into the queue entry. * @@ -4762,7 +4763,7 @@ lpfc_idiag_drbacc_write(struct file *file, const char __user *buf, * @phba: The pointer to hba structure. * @pbuffer: The pointer to the buffer to copy the data to. * @len: The length of bytes to copied. - * @drbregid: The id to doorbell registers. + * @ctlregid: The id to doorbell registers. * * Description: * This routine reads a control register and copies its content to the