Received: by 2002:a05:6a10:af89:0:0:0:0 with SMTP id iu9csp901956pxb; Fri, 28 Jan 2022 12:43:53 -0800 (PST) X-Google-Smtp-Source: ABdhPJzS3qs0P+wVweuCyrSe2wAcU9Unm7u37OEiB0xYe9RlxYQRBBRP8fhLJ9lkYkLhS9q09+Bh X-Received: by 2002:a17:906:58c2:: with SMTP id e2mr8386880ejs.180.1643402632950; Fri, 28 Jan 2022 12:43:52 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1643402632; cv=none; d=google.com; s=arc-20160816; b=fzsdWJ4oUlC0lfk/k3x+UnCjur2PsImpz5720bKzdsPNCiv+MqmAK3pMMZ4/h9ZyQs 3g47hAQ7vuaoyPejQ6Ac44PaFXwLTgHOiUmc7xovKcvIAym1SYBmPJFRzc2pAKioCJFU 8T2tKIIUoE2C/SMcJPUfxAPtKqFeMrqbKHi88FZdvkbaZcSGRDphD4WS+KQbbekpf4ah KSgaFuPuPsWNC1MASjruz2xSxtoh2nextheVgzIVjoGYi9oM9a7Poya+e97w31GpLN4t csIqmTl9Az+adPl/Uo4lOLdiw4vHj97MkvoXqGoz6zhDNu+AT+VZAoplPcSaD22nlObs QQnw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to :organization:from:references:cc:to:content-language:subject :user-agent:mime-version:date:message-id:dkim-signature :wdcironportexception:ironport-sdr:ironport-sdr:dkim-signature; bh=KO35Ul1UgNHIS8t/b1tsrsDdloa1sWPHhs4Wd6WvY1g=; b=oqY+OAv2ccF7aXgdENNkS0+DHPK/90ZWJLamr+3BakTvQjoqZIl9pm/4hvp0GUIDFo h8Myg9INCDPX8UbgJtAXU0sKC32REc1PO3weTkL9Bgc41/prJm7nPvYlPyw0a5U9Uv4B h90Fi6izXeiFEPS5vJjanlKBGmolD3L92dPH245t9f8tb8scWoHT565Cb3W+sfwH45Na +Tqnn8xY0FCzu50s5xPM/4rILzBBmFhe2emeufYVLGyMIlKmpnG24ukA/QPJ3mJ1TFu1 HmeggNdsEVzqfeYdelULzovO7tyQFxK9LH9myOvrRN7k7FeTVo6jnqR5aNrH+3C/uyHh WEfA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@wdc.com header.s=dkim.wdc.com header.b=D3l0wOYi; dkim=pass header.i=@opensource.wdc.com header.s=dkim header.b=NZppG53b; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=opensource.wdc.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id sb30si3532863ejc.616.2022.01.28.12.43.28; Fri, 28 Jan 2022 12:43:52 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=fail header.i=@wdc.com header.s=dkim.wdc.com header.b=D3l0wOYi; dkim=pass header.i=@opensource.wdc.com header.s=dkim header.b=NZppG53b; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=opensource.wdc.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S244835AbiA0XGY (ORCPT + 99 others); Thu, 27 Jan 2022 18:06:24 -0500 Received: from esa1.hgst.iphmx.com ([68.232.141.245]:5574 "EHLO esa1.hgst.iphmx.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233578AbiA0XGW (ORCPT ); Thu, 27 Jan 2022 18:06:22 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=wdc.com; i=@wdc.com; q=dns/txt; s=dkim.wdc.com; t=1643324782; x=1674860782; h=message-id:date:mime-version:subject:to:cc:references: from:in-reply-to:content-transfer-encoding; bh=QVYbW0Wb801k8+SBZmpkcQp1EgG//MCvkBVTkcz8syQ=; b=D3l0wOYis5Wf3FJEr3xL4ViQGFQB3vzhgTh2fXN3l+Cso77o5E0jthW9 Qh85WaL+i9OaSu7I4tRLA5wsW5BUcfE1xibxwL+I0SQxnnsaVXKLmAuGf NA/0762sqb1JaQYvvDodDQalb+njbRaiQ1w27GSXprGxb+oC8/8q8H8kn Zq2rlMXM2+U2WnyAQNx3CmNWyMWifvSO3IwnN/bXA53zoK0RUVnh+Y0W5 8mJ5fKZb9Rs+VIalwZYrgvudOYfGkIf9vU67gM7H0wtOr1z77TBwvGKDz D4dZpgFPWSWRjauiqj44CJ+G+PCsFfPAANdDiY60F4GbRY19MmjrMp5zb w==; X-IronPort-AV: E=Sophos;i="5.88,321,1635177600"; d="scan'208";a="303450774" Received: from h199-255-45-15.hgst.com (HELO uls-op-cesaep02.wdc.com) ([199.255.45.15]) by ob1.hgst.iphmx.com with ESMTP; 28 Jan 2022 07:06:22 +0800 IronPort-SDR: c7lREJkROl/J1qfu+fmswK/xM1ZShWHPjFhBv5n8adzjPg4ws+mj3o+QLMccQH8oj65jrP0eRY ZiBZFMlv7Q4Ee1yKks8PDgjh3VxApGYBi7uCTFnICmOF3noejmuUkiqdgsTdeph9MToYruWSol UfAc749pDOqkCRVxt7OdriB4NiIN+O0cIqGWHjW8i4QNlKU26Tn39VoGb4mwji6jzHzVxdlU7L 3Sy34xBzbNV6sSlJdVNkotK5v5DApssY/jg7JpC8l/qDFvSDlpaHJmm2PaE7GRX8YRCO4R23W3 T5nmyvQrRqI9eVXjUzOsYncq Received: from uls-op-cesaip01.wdc.com ([10.248.3.36]) by uls-op-cesaep02.wdc.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 27 Jan 2022 14:38:24 -0800 IronPort-SDR: oP1OtRX35ET4jWZ0mRPPOhWowxzxu6xBCBhnotEQ2LpgfWR9N+hZ9bxkKFLFOgi/uhnWahUarP gPVzI9SdxMcJxHJyKk/hLBqJxQg7488n2r4uTFKoTR57fvJD5E0zHa4DBueC9Rp9fRQpGKp36w 5InjZfK3M9TYyQQIwY2K1Xd6KOJiE1k0DWIHIQEaAOkvNUJjR6lxeRD7zQDlGxUqUe1RnXlTU0 J38fOpSS6Mgo4t30jYXhcpfFE5LwTaf2IGPYrhctFtOSd3IMPUJFrJ8eVzew2Ag6GUJHo3VBKE n6Q= WDCIronportException: Internal Received: from usg-ed-osssrv.wdc.com ([10.3.10.180]) by uls-op-cesaip01.wdc.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 27 Jan 2022 15:06:22 -0800 Received: from usg-ed-osssrv.wdc.com (usg-ed-osssrv.wdc.com [127.0.0.1]) by usg-ed-osssrv.wdc.com (Postfix) with ESMTP id 4JlGRd2c9Wz1SVp4 for ; Thu, 27 Jan 2022 15:06:21 -0800 (PST) Authentication-Results: usg-ed-osssrv.wdc.com (amavisd-new); dkim=pass reason="pass (just generated, assumed good)" header.d=opensource.wdc.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d= opensource.wdc.com; h=content-transfer-encoding:content-type :in-reply-to:organization:from:references:to:content-language :subject:user-agent:mime-version:date:message-id; s=dkim; t= 1643324780; x=1645916781; bh=QVYbW0Wb801k8+SBZmpkcQp1EgG//MCvkBV Tkcz8syQ=; b=NZppG53bOl+24Lsj9ZkZKU6aOx84hgeSsENx1ySmcGKvKqbg+RW WNOdcsgIogd7c4Ycq9BLCacraPcjJdt51ZtQbw83+5EM0h4G2E17AY7B72Xe6mgY YNu0aK9w2SwjEW4PQqg9NyCcFo7X6srai/2Me9wF6ClI6fywzMg1iB3U3dR3PIRZ d9xlTK+Smii9Jniwv7P3YG0YKNM9yB/fHfa4pJAMVmCZ5RsgoSREMKIawtHzS3mB f/P06jHLnoteoNX5LX/926rW8T4EdSqBS2lId8vu0ky63SdEKaALLyKyoK9xO3BD UPLjl6G02XoZNS+we+UBxIR4ZeUC7d5bzoA== X-Virus-Scanned: amavisd-new at usg-ed-osssrv.wdc.com Received: from usg-ed-osssrv.wdc.com ([127.0.0.1]) by usg-ed-osssrv.wdc.com (usg-ed-osssrv.wdc.com [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id k_L5I4-81f0W for ; Thu, 27 Jan 2022 15:06:20 -0800 (PST) Received: from [10.225.163.58] (unknown [10.225.163.58]) by usg-ed-osssrv.wdc.com (Postfix) with ESMTPSA id 4JlGRb1mXvz1RvlN; Thu, 27 Jan 2022 15:06:19 -0800 (PST) Message-ID: <2d7788bc-eadd-5061-5241-fa141259bb30@opensource.wdc.com> Date: Fri, 28 Jan 2022 08:06:17 +0900 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.5.0 Subject: Re: [PATCH 1/3] scsi: pm8001: Fix warning for undescribed param in process_one_iomb() Content-Language: en-US To: John Garry , jinpu.wang@cloud.ionos.com, jejb@linux.ibm.com, martin.petersen@oracle.com, Ajish.Koshy@microchip.com Cc: linux-scsi@vger.kernel.org, linux-kernel@vger.kernel.org, Viswas.G@microchip.com, chenxiang66@hisilicon.com References: <1643289172-165636-1-git-send-email-john.garry@huawei.com> <1643289172-165636-2-git-send-email-john.garry@huawei.com> From: Damien Le Moal Organization: Western Digital Research In-Reply-To: <1643289172-165636-2-git-send-email-john.garry@huawei.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 1/27/22 22:12, John Garry wrote: > make W=1 complains of an undescribed function pararm: > > drivers/scsi/pm8001/pm80xx_hwi.c:3938: warning: Function parameter or member 'circularQ' not described in 'process_one_iomb' > > Fix it. > > Reported-by: Damien Le Moal > Signed-off-by: John Garry > --- > drivers/scsi/pm8001/pm80xx_hwi.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/drivers/scsi/pm8001/pm80xx_hwi.c b/drivers/scsi/pm8001/pm80xx_hwi.c > index bbf538fe15b3..ce38a2298e75 100644 > --- a/drivers/scsi/pm8001/pm80xx_hwi.c > +++ b/drivers/scsi/pm8001/pm80xx_hwi.c > @@ -3931,6 +3931,7 @@ static int ssp_coalesced_comp_resp(struct pm8001_hba_info *pm8001_ha, > /** > * process_one_iomb - process one outbound Queue memory block > * @pm8001_ha: our hba card information > + * @circularQ: outbound circular queue Nit: you could remove the CaMeL case here while at it :) > * @piomb: IO message buffer > */ > static void process_one_iomb(struct pm8001_hba_info *pm8001_ha, But anyway, looks good. Reviewed-by: Damien Le Moal -- Damien Le Moal Western Digital Research