Received: by 2002:a05:7412:5112:b0:fa:6e18:a558 with SMTP id fm18csp356445rdb; Tue, 23 Jan 2024 01:33:41 -0800 (PST) X-Google-Smtp-Source: AGHT+IGZVVkA0KBfxsTraRlZZ0j+BKzkXWdxAt6Lh7geay7SeZAQI2IJcnit5hQEjs4nSfelc3UA X-Received: by 2002:a17:90a:e513:b0:290:4b7d:ad5e with SMTP id t19-20020a17090ae51300b002904b7dad5emr6100950pjy.26.1706002421631; Tue, 23 Jan 2024 01:33:41 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706002421; cv=pass; d=google.com; s=arc-20160816; b=cX0GpAWCvDSroUgCJs2jQpi5RJdFOErCMo2WicBvwzrhl/JUq/Hyl8kIptKgL0WQzG rwfy5BnnDR9mRlFBf7tO5R42iBquVX21wR1eZdbOiLwlyLyqtXEafNM0nHB0bsS6jrYV fkbbcegQ6eG4SFCBnLtw96TaY8OmENxYvg5BZRUL9iAXY42jQt0QRwLMEfdzjBWnjiVI mFiV72ppFlslDlblPRQIeHizQ80/MMBj10AqCeUP20HKlj/NZk0az8+9VyTSKYPpw91U JSzs0HFSXCuZ/oiw4cBV1bH/J8CyUuH4kuO5lwvm1D23WYfEVooFdKjNvnrw58fT35L0 3Brg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from:dkim-signature; bh=piuK4jmXPkNXZigQnP+7ADJheOUNtn+jvTH5r5ncPSo=; fh=cYFJxlb/SfUd0sa/9f9C1KaQEILLaNm+5Il6XqTjks0=; b=RfrpngCL9Ot/PTE071DJ5Kx9cuXWZpuoAlYQbtZBzdNBOetbwFsDVdV9pFulUCc/C7 /w6GQtuifHN3FVuRwDkn7vPjaR5/WuYyUUa96EruF/zSsxU51baA3xGFTgX+T8yd6qaF 1iigdnuHcGpaUtFycUKt5DibtsEwjgAM+2cob4zrkgumcyGuazEqleq2VwK4TKmD1iu1 bpXFUTfKdlqWPZBKqaP10hbSk4dPBAUXBC1TnB4UyqB3zkOI/VZ1FwQhSXYGSD4M0gIJ m46l27y+Xzr8Z2aIgT1nA2CM/uYxRVNMQXzgs0hxgDaVCkYzmCMpno/ZNtogeQ9oy4P4 UFqw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=SMQ4hJ1u; arc=pass (i=1 dkim=pass dkdomain=infradead.org); spf=pass (google.com: domain of linux-kernel+bounces-34723-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-34723-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id b1-20020a170903228100b001d767df9dd9si1619018plh.333.2024.01.23.01.33.41 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 23 Jan 2024 01:33:41 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-34723-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=SMQ4hJ1u; arc=pass (i=1 dkim=pass dkdomain=infradead.org); spf=pass (google.com: domain of linux-kernel+bounces-34723-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-34723-linux.lists.archive=gmail.com@vger.kernel.org" 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 25B6A286A41 for ; Tue, 23 Jan 2024 05:33:30 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 12460F500; Tue, 23 Jan 2024 05:33:23 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b="SMQ4hJ1u" Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 7CD89D30E; Tue, 23 Jan 2024 05:33:20 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.137.202.133 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705988002; cv=none; b=VI183U4zrVnCA72UiovdDuDWzmnx48leIhNiljIrxGZumx6Tx/R6w7HvOvT2zrp1FafcXArRdsbQtnR1M5JHpBZGkP/jVfaJ/WU9BUp9xh1vQ2Pv504B/s2GA7HjOzZHshBQ3//UOnTBq40VtCt2O0DqCLhbb5jXdXgoTSUhdnI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705988002; c=relaxed/simple; bh=KxubCZ0ZLxXuFu1K0HJc0P2pRv5s1BsQOdzl8aQk9fg=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=VPiLLpmCX1s/546aNFjabykU4fJdRk7THh/4xdFLjFKS3UDSX5+19iJy+HA5ll20dtloPB8YpzskF2CbgjXeMCsLBw3ojy8mierYP+1tbGR6q31wmpMQxHF+gK11bTUldoOffU7Ia1W7Jr9+1KYd3f6LXPdZy2mG4SyHpdktkvY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=infradead.org; spf=none smtp.mailfrom=infradead.org; dkim=pass (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b=SMQ4hJ1u; arc=none smtp.client-ip=198.137.202.133 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=infradead.org Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Content-Transfer-Encoding: MIME-Version:Message-ID:Date:Subject:Cc:To:From:Sender:Reply-To:Content-Type: Content-ID:Content-Description:In-Reply-To:References; bh=piuK4jmXPkNXZigQnP+7ADJheOUNtn+jvTH5r5ncPSo=; b=SMQ4hJ1uoGUrOnFC+E5O5ttRNl 8hSwuHfySZ1Iod50RkDBW6atpwhF+XtQLV0TeW1NXrXKb1exFGsBUDS67I5YtXcx1v4t8sAlGwmYi xc8DiDP8mnlQL8zFodm+lUG/9okxgLJr0oL1pz2p/PC73vRlss1//UCqMGrFRiU1bna0wvBz6WrwE Gp9tymiMolNG0Hn8Cuouatz2YO2PhN/1M92YslWjv8NVUQe6FjNoOIGi9uQ5joXtDlo/IL7+LOsOp CAPP5KE0hBbnDhEuoij/sa4zhSXTwJbQlKM2xfpkk57Pw95/K2kPGL4CGZPotTSIEjjJhYFwzvxoX Nf5Qc+6g==; Received: from [50.53.50.0] (helo=bombadil.infradead.org) by bombadil.infradead.org with esmtpsa (Exim 4.96 #2 (Red Hat Linux)) id 1rS9PT-00F9se-2M; Tue, 23 Jan 2024 05:33:19 +0000 From: Randy Dunlap To: linux-kernel@vger.kernel.org Cc: Randy Dunlap , Bjorn Andersson , Konrad Dybcio , linux-arm-msm@vger.kernel.org, Jeff Johnson Subject: [PATCH v2] soc: qcom: smp2p: fix all kernel-doc warnings Date: Mon, 22 Jan 2024 21:33:19 -0800 Message-ID: <20240123053319.11196-1-rdunlap@infradead.org> X-Mailer: git-send-email 2.43.0 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Use the documented notation for nested struct members. Add a Return: comment for qcom_smp2p_intr(). These changes prevent these kernel-doc warnings: smp2p.c:78: warning: Excess struct member 'name' description in 'smp2p_smem_item' smp2p.c:78: warning: Excess struct member 'value' description in 'smp2p_smem_item' smp2p.c:280: warning: No description found for return value of 'qcom_smp2p_intr' Signed-off-by: Randy Dunlap Cc: Bjorn Andersson Cc: Konrad Dybcio Cc: linux-arm-msm@vger.kernel.org Cc: Jeff Johnson --- v2: use Return: instead of Returns: for consistency with documentation (Jeff Johnson) drivers/soc/qcom/smp2p.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff -- a/drivers/soc/qcom/smp2p.c b/drivers/soc/qcom/smp2p.c --- a/drivers/soc/qcom/smp2p.c +++ b/drivers/soc/qcom/smp2p.c @@ -58,8 +58,8 @@ * @valid_entries: number of allocated entries * @flags: * @entries: individual communication entries - * @name: name of the entry - * @value: content of the entry + * @entries.name: name of the entry + * @entries.value: content of the entry */ struct smp2p_smem_item { u32 magic; @@ -275,6 +275,8 @@ static void qcom_smp2p_notify_in(struct * * Handle notifications from the remote side to handle newly allocated entries * or any changes to the state bits of existing entries. + * + * Return: %IRQ_HANDLED */ static irqreturn_t qcom_smp2p_intr(int irq, void *data) {