From patchwork Wed Mar 17 09:12:25 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 403101 Delivered-To: patch@linaro.org Received: by 2002:a02:8562:0:0:0:0:0 with SMTP id g89csp294756jai; Wed, 17 Mar 2021 02:14:15 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy4nEkD6jLhgedV4fNANyrdX8ZQuFrQcVQbB4SPNDeb2ZkM18Gw+5jORTcfcnLN91eI7aDV X-Received: by 2002:a17:907:36e:: with SMTP id rs14mr33392954ejb.42.1615972455382; Wed, 17 Mar 2021 02:14:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1615972455; cv=none; d=google.com; s=arc-20160816; b=ASWcSB+UX7E3xH5oyNucYN93MiSuL3xQjcBBge4zVBnx/Gtdrch8IgulSwJnGHdsyd iSp4XXLzZHHa23cp6OgZwtTcEj1eA/386V/Ty+dAwD72VlbG10sxssTgQ54lv5/bfSqs KcmWh9b7M5KQshgIsTno71Zk5i/bbgQ4XPQJYPatle8Dn28pZmEulDTyHAyZce3EsPpg 9ZsOECHd9sIKxytCSOY0TPWe7c2UfRkOESamZTn4YlteGkDhehjeQ4nhfb8qrJM2/fGK r+y4e5Ve4KVznWZpuaJ14FHfAaI1SNQd78ST9brl7SOBO3hTahOlZXPBHZ8/l3sMvug4 ZPOg== 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=0pHIZHhKpBhGoLa2stZTqH6Rz5RjIRSokSD2h9KbvHc=; b=0AFRr8YraWZlspWc1tWfAZHmjrDk/p4wIipSmkNc0OKyUfCIr7ns8mrhy1MqZQMB1k GmssInTWUNu9UyQw6OwQwS4+YhOkJEtfcvRyaBpbxyx/lm6L9Oe4ZOsefwLY7JPx0Hvv HvWyTuRITy1Mu8S5SEhjA1X8nX2JSqnzy0aOfgobpdyIWYj0eyNsoRMDwxHdslDH4ZZb Lm3eLcdFTSFpwydX6GcONBrfnqlhW6spzEdkMl3IedLi8znzJZL+JXsDRihthFWfGd8g OLgj7a/CNhvuYrO8sehfmuACztye0FUchn6eWqU196AYgPENMbDCOBzf2cgzId0c67tQ LM+g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=zl+IsVUz; 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 t15si15461864edq.164.2021.03.17.02.14.15 for ; Wed, 17 Mar 2021 02:14: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=zl+IsVUz; 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 S231191AbhCQJNt (ORCPT ); Wed, 17 Mar 2021 05:13:49 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42750 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230337AbhCQJNN (ORCPT ); Wed, 17 Mar 2021 05:13:13 -0400 Received: from mail-wm1-x330.google.com (mail-wm1-x330.google.com [IPv6:2a00:1450:4864:20::330]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9751BC061760 for ; Wed, 17 Mar 2021 02:13:12 -0700 (PDT) Received: by mail-wm1-x330.google.com with SMTP id f22-20020a7bc8d60000b029010c024a1407so2955304wml.2 for ; Wed, 17 Mar 2021 02:13:12 -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=0pHIZHhKpBhGoLa2stZTqH6Rz5RjIRSokSD2h9KbvHc=; b=zl+IsVUzggf7c6oUTebPYwinoPM3gAUpTCrNQIXx7CEpVCer3iLd98t6cddrT37fmq jksJSH2d30WdxQs/vyqpxmUMgjkQfz7uSLj43mckJ8QUHs8teBBmZGItrc9KDL4y7pt3 tOFsIihDrg4v4a5Cr/i6mCH5XtisB1kjRlkUjcSGf5lCa7Y2FLETtMxKUUQSlxaMiqiv fFPQfsiDq3E3m4CEN9syAkcN2OBQoQSDu56fybhjF7eRyN7pwglpm4p8PE0QYuKX6TWV 4r+ilX3dA6qcVefi8gp4ToF8aOoYoSNUVqa4t9iNwmvoBhsSI7gVGcJnMh0lzY/pqoX3 qikw== 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=0pHIZHhKpBhGoLa2stZTqH6Rz5RjIRSokSD2h9KbvHc=; b=CWzdid0wSVXcNADv4HSs5UjGJtCk8z4En0W43Xm28fTZ8KHe8XSlqTagdKrECo31Ee cXkEWxJXsziJKGZc4SIxe5KVA+WQ3HX7Zhhz5aNLcvQYA6xLae/waFyi7rmuBD7GIFkQ pNdf9EUSGWrtX7GL/FQLhbWFQUQRd48gwMx+eQ5kVtpxSdm2aSBkLzMYJ1tTgkaSVY+B TqmtZjtuNQU+cLuurvmH5h8h/Tjux8P4PtIaOqOKeDPynsF+BEoxM29avMn+t4XIAske cQ8S3oVsrHjtQaqP6IhWl5kn2Efm+/IvvMV8I6Ac3AyGA4gAMui49UfEiplunftD6L6u 29HQ== X-Gm-Message-State: AOAM530aWZmWaxgi8XA3tvJHGa0S6q6NAQpMJ6fE/dXK2UXHuOnkMKMn IYUHGHEd/tIjOkWjwBrPDNr2bw== X-Received: by 2002:a1c:b48a:: with SMTP id d132mr2637817wmf.108.1615972391306; Wed, 17 Mar 2021 02:13:11 -0700 (PDT) Received: from dell.default ([91.110.221.194]) by smtp.gmail.com with ESMTPSA id e18sm12695886wru.73.2021.03.17.02.13.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 17 Mar 2021 02:13:10 -0700 (PDT) From: Lee Jones To: lee.jones@linaro.org Cc: linux-kernel@vger.kernel.org, "Manoj N. Kumar" , "Matthew R. Ochs" , Uma Krishnan , "James E.J. Bottomley" , "Martin K. Petersen" , linux-scsi@vger.kernel.org Subject: [PATCH 31/36] scsi: cxlflash: main: Fix a little do-rot Date: Wed, 17 Mar 2021 09:12:25 +0000 Message-Id: <20210317091230.2912389-32-lee.jones@linaro.org> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20210317091230.2912389-1-lee.jones@linaro.org> References: <20210317091230.2912389-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/cxlflash/main.c:1369: warning: Function parameter or member 'hwq' not described in 'process_hrrq' drivers/scsi/cxlflash/main.c:1369: warning: Excess function parameter 'afu' description in 'process_hrrq' drivers/scsi/cxlflash/main.c:2005: warning: Function parameter or member 'index' not described in 'init_mc' drivers/scsi/cxlflash/main.c:3303: warning: Function parameter or member 'lunprov' not described in 'cxlflash_lun_provision' drivers/scsi/cxlflash/main.c:3303: warning: Excess function parameter 'arg' description in 'cxlflash_lun_provision' drivers/scsi/cxlflash/main.c:3397: warning: Function parameter or member 'afu_dbg' not described in 'cxlflash_afu_debug' drivers/scsi/cxlflash/main.c:3397: warning: Excess function parameter 'arg' description in 'cxlflash_afu_debug' Cc: "Manoj N. Kumar" Cc: "Matthew R. Ochs" Cc: Uma Krishnan Cc: "James E.J. Bottomley" Cc: "Martin K. Petersen" Cc: linux-scsi@vger.kernel.org Signed-off-by: Lee Jones --- drivers/scsi/cxlflash/main.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) -- 2.27.0 diff --git a/drivers/scsi/cxlflash/main.c b/drivers/scsi/cxlflash/main.c index e72440d919d2a..dc36531d589e2 100644 --- a/drivers/scsi/cxlflash/main.c +++ b/drivers/scsi/cxlflash/main.c @@ -1357,7 +1357,7 @@ static irqreturn_t cxlflash_sync_err_irq(int irq, void *data) /** * process_hrrq() - process the read-response queue - * @afu: AFU associated with the host. + * @hwq: HWQ associated with the host. * @doneq: Queue of commands harvested from the RRQ. * @budget: Threshold of RRQ entries to process. * @@ -1997,7 +1997,7 @@ static enum undo_level init_intr(struct cxlflash_cfg *cfg, /** * init_mc() - create and register as the master context * @cfg: Internal structure associated with the host. - * index: HWQ Index of the master context. + * @index: HWQ Index of the master context. * * Return: 0 on success, -errno on failure */ @@ -3294,7 +3294,7 @@ static char *decode_hioctl(unsigned int cmd) /** * cxlflash_lun_provision() - host LUN provisioning handler * @cfg: Internal structure associated with the host. - * @arg: Kernel copy of userspace ioctl data structure. + * @lunprov: Kernel copy of userspace ioctl data structure. * * Return: 0 on success, -errno on failure */ @@ -3385,7 +3385,7 @@ static int cxlflash_lun_provision(struct cxlflash_cfg *cfg, /** * cxlflash_afu_debug() - host AFU debug handler * @cfg: Internal structure associated with the host. - * @arg: Kernel copy of userspace ioctl data structure. + * @afu_dbg: Kernel copy of userspace ioctl data structure. * * For debug requests requiring a data buffer, always provide an aligned * (cache line) buffer to the AFU to appease any alignment requirements.