Received: by 2002:a05:7412:cfc7:b0:fc:a2b0:25d7 with SMTP id by7csp2282084rdb; Wed, 21 Feb 2024 02:52:45 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCWxYUjUK1zlArXrE0XIvewmR5Z2w/OGP9vLOWk5zDU+K2wRgLoh+N1zSsHyKHidIrsF4x6dsgIPBo76H0hqadxUmHrMtpiPaRW5L6R7ug== X-Google-Smtp-Source: AGHT+IEfUeZCMnhg8wnNtUQsHJbmIAqZEYiaa6GGVowMJ/C5hwcoj115Lfff9CQayLL2GFJJC1cp X-Received: by 2002:a05:6358:881:b0:17a:d84e:c106 with SMTP id m1-20020a056358088100b0017ad84ec106mr17984922rwj.5.1708512764699; Wed, 21 Feb 2024 02:52:44 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708512764; cv=pass; d=google.com; s=arc-20160816; b=xGxEKT5bD1aSzTJA6ToyaqfkWgyNU+J9lsUMJ+uBvmkwsQX5BuDBDklp/Zkli1HMs5 dRxN79QyXPUeSYVL11Mukik3Ie4lsn1UL3IzjAniKSy+RUeREtWeIx9kQTxohCnPKshn HVnlC0bIpTQUn6tTt70q/bxRJ/SOyX8+Fdj74rKuKh+SZPpCRiRIaIlXTrUqh5p4NrFK mwrVojgS7fYoMXAajNnSDG0Y7Rf2MXxkOYG7BA4wf3Z4lYtXgpbaBGmYj2faThniQzIo SiMtIshIiS1xfvmD1hDS4GGppPidE+2CS0NTsONAdN6DQJ5SpozHQuvSaTVl8JXAFewS m0gQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date; bh=nrJO7nZQZLjz49Vy6VsDfT+GT9QJKl3nGkngIxIq5mA=; fh=rph+hZX0UHDJKMNhJweIJ6x1kCUUDx5vyE5HVAdaQYo=; b=SZPcR+kj9ZQ0GrxyVLu886zeM9XwXdrVAPx1ba9thIlElUWHUPR3h9N5xl6Yub78fA QllgksWPOwbIYOq/u0VpKPD+5fA+eeUTBo4u65uWwGyxyCeAMkopkOxHO5UZ0m2xLL3Q NhISwOvpTI2kx4D8PEJMx8Smf3B7gt2JV1wOyIeqxuXnoZhLU5dlkN5dPhpoNqGHpD+N UIz6fJUnB3IMvEwoJGavxdts6KYDCBk9hbCAZD/ybb2t6/D2QA0LnbzHHlsKf4cZnL6x E6+npZ69yNqRyariRJjPAGBPrjuGuDVDSjiDT2Z3wllRsfA7zodqqBOjctK1UIBPQOIx fmHg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=arm.com dmarc=pass fromdomain=arm.com); spf=pass (google.com: domain of linux-kernel+bounces-74567-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-74567-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id w66-20020a636245000000b005e2b17c97efsi5168024pgb.28.2024.02.21.02.52.44 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 21 Feb 2024 02:52:44 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-74567-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=arm.com dmarc=pass fromdomain=arm.com); spf=pass (google.com: domain of linux-kernel+bounces-74567-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-74567-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 5F7F6284694 for ; Wed, 21 Feb 2024 10:52:44 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 2475B3D38F; Wed, 21 Feb 2024 10:52:39 +0000 (UTC) Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 0480E36AF1 for ; Wed, 21 Feb 2024 10:52:36 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=217.140.110.172 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708512758; cv=none; b=V4ohEeV6VAbkPAN4T4iL3IjnRtAeW/Y17AvJAkOTqipHjzsjtW5gQ0CxVgupNx+gFQ6jvxBCEL0vq8lKXGpphc+xiXjAU+Lmgek8RjLQaJGHZXXzpo0i583ctDdYHb6IK/o7/vx/Fk4y17GMKJbh0ONrSVTwAUftLxNokDF52QY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708512758; c=relaxed/simple; bh=uvXbkZosPYVLvMB8OjtWlFeDeHphIil546tOGNUcpQM=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=ewYvnwQ992nlwGGq3m4xSLLwjFtdr46CBE997quSW6fBuP+Cq0PgwPB9M9E+9q0dlRBOwvbTlp3nz9fDIcip9fGroyY9TaYmQKctzXYnIwYQ00MgKNh7xXDGZQnvl6zKziu7ibslT4XgTwn6WsDDrVDFCS+mnL+xBJNr8dZ3zGI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=arm.com; spf=pass smtp.mailfrom=arm.com; arc=none smtp.client-ip=217.140.110.172 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=arm.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=arm.com Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id E7CD3FEC; Wed, 21 Feb 2024 02:53:14 -0800 (PST) Received: from pluto (unknown [172.31.20.19]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 8C68D3F73F; Wed, 21 Feb 2024 02:52:35 -0800 (PST) Date: Wed, 21 Feb 2024 10:52:33 +0000 From: Cristian Marussi To: Randy Dunlap Cc: linux-kernel@vger.kernel.org, Sudeep Holla , linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH] firmware: arm_scmi: optee: fix struct kernel-doc warnings Message-ID: References: <20240221062157.8694-1-rdunlap@infradead.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240221062157.8694-1-rdunlap@infradead.org> On Tue, Feb 20, 2024 at 10:21:57PM -0800, Randy Dunlap wrote: > Fix the kernel-doc notation for the nested union in struct > scmi_optee_channel to eliminate kerenl-doc warnings: > > optee.c:130: warning: Excess struct member 'shmem' description in 'scmi_optee_channel' > optee.c:131: warning: Function parameter or struct member 'req' not described in 'scmi_optee_channel' Thanks for this, I've spotted it recently and didn't get time to address it. Reviewed-by: Cristian Marussi Cristian > > Signed-off-by: Randy Dunlap > Cc: Sudeep Holla > Cc: Cristian Marussi > Cc: linux-arm-kernel@lists.infradead.org > --- > drivers/firmware/arm_scmi/optee.c | 6 ++++-- > 1 file changed, 4 insertions(+), 2 deletions(-) > > diff -- a/drivers/firmware/arm_scmi/optee.c b/drivers/firmware/arm_scmi/optee.c > --- a/drivers/firmware/arm_scmi/optee.c > +++ b/drivers/firmware/arm_scmi/optee.c > @@ -109,8 +109,10 @@ enum scmi_optee_pta_cmd { > * @rx_len: Response size > * @mu: Mutex protection on channel access > * @cinfo: SCMI channel information > - * @shmem: Virtual base address of the shared memory > - * @req: Shared memory protocol handle for SCMI request and synchronous response > + * @req: union for SCMI interface > + * @req.shmem: Virtual base address of the shared memory > + * @req.msg: Shared memory protocol handle for SCMI request and > + * synchronous response > * @tee_shm: TEE shared memory handle @req or NULL if using IOMEM shmem > * @link: Reference in agent's channel list > */