Received: by 2002:a05:7412:5112:b0:fa:6e18:a558 with SMTP id fm18csp348210rdb; Tue, 23 Jan 2024 01:12:09 -0800 (PST) X-Google-Smtp-Source: AGHT+IF4t3AHsOAdWz4h8X18xIaJ0PgeKUUcAk4614Iz7KraAEr6lXwZJpLDmzZH8q5aekhBYRaO X-Received: by 2002:a17:902:d486:b0:1d7:691e:26f7 with SMTP id c6-20020a170902d48600b001d7691e26f7mr1130498plg.108.1706001129086; Tue, 23 Jan 2024 01:12:09 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706001129; cv=pass; d=google.com; s=arc-20160816; b=loZMq3qfCwvXQQJJ9awG4zE2Jmj4wvMtyEtnbUQRKndEMQJ6xa+4ioDfoXsCmFIlOF jvoasyA0Ev4mDiOFt63zTN7ufPrPCKMvh4KN80vITZRzIfOhEO8QrqztfIN3gLoZgNIs m7tW88L9ZQ+4w6ayy4tBSwO/efv6MQZ+HGywsjrcj+QOUftzX+IKK7AZvUzsUdXxHFxY DqXAvDphowbNq0V5LR3NV3PApx6huwzvHjBgUoZz1+iSamtV75/8IlMRxEqeBt8h9jZ3 4HsA7a+3JXoL/qMaOqIoAIP2MThO7pnZ0cw7suqez2IBunvItSykkBUX0WmV+JqW60BG 9Idw== 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=XITnoex78u4ReDDgSYsZ+UWnmKf8eCus1YtIt1C8iiqrs68dqQPnUCNH2G3O8DAIa9 QsrYE9WI0HHlH/B+j3j8gm2Ivw0Ax5NfMEl5xXuVh1JfKgdDfX94bj4SOSPR/vXChOCx k3g5c6rpKOn4TLkXGkwCMMW5tVeUkLpGuowjBlfkdyJ29mchSUW1VsQ2OGfh/NT6y1/h Me7enCE9+zEy0aySwhHrKNKoNgknH8T5OIQPFMqWDZTRYU3qI9tjD8VBEzb0IVcZBcO0 rvYxOGBeq+rXKNKu5z6aeKe8H55IN0QBvCDKlE4CRyoC8jh9XAvlEC6tBrmE52Ja6vT4 pKnQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=PhYNOGYw; arc=pass (i=1 dkim=pass dkdomain=infradead.org); spf=pass (google.com: domain of linux-kernel+bounces-34724-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-34724-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id n5-20020a170902e54500b001d72d6641c8si5949796plf.609.2024.01.23.01.12.08 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 23 Jan 2024 01:12:09 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-34724-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; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=PhYNOGYw; arc=pass (i=1 dkim=pass dkdomain=infradead.org); spf=pass (google.com: domain of linux-kernel+bounces-34724-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-34724-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 D035B288B78 for ; Tue, 23 Jan 2024 05:33:45 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 3A5C44A32; Tue, 23 Jan 2024 05:33:32 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b="PhYNOGYw" 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 3BFB64400; Tue, 23 Jan 2024 05:33:30 +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=1705988011; cv=none; b=SIRtX+Z8pZno0EgAaT+SbM/AX2Jk3en3hj67FMQPNGuyB8ClehqdeWp389HVWHlGghAeh0LsLrr6yXjYTKyzEOIlJSSUfj9LW/fHJY44pTPH1mWotcI1RW4WEPvT/XfX2xUSbSkBseBq8zL9Lx772NV9f322HKhmxpZAfecUkVg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705988011; c=relaxed/simple; bh=KxubCZ0ZLxXuFu1K0HJc0P2pRv5s1BsQOdzl8aQk9fg=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=m0hPGHNZ+qvM7o6w/1Zj+R8gcl1vGBr6oWtkJOQjuhLgHVQhRbzZaPRWR3QcpoNTJioK/UaJsrGP4yzoOH/JnlfaUH9y3R9MtAiVDe2jjmYmR+hunAIwr6ljWrbhOwUUApaXaS0bLnGa9qVvHTox5pjoSmZUUvKbJOorwnlCnhY= 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=PhYNOGYw; 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=PhYNOGYwuNaKIGwNPbYStNX/xn THGZd8+d+I2GxNz3P8IvlUS7+4tYchfbWNiwSwdk3JRJ90M1TM4vfPNdZyQ2PKjAlhbXsVhesifMr gIP8ym7YvY0ameifQB3bELwHYsOxoc7QxkPsThUgyKPtTFbWJZHqelqsJ1EQnQMaeatxjr1HiudVR WUFH9Fuzp8fr6meB3sVoCKRChRznfhzzAPQDMDH5E3nLHPGsoT2Pw8emB1vEkvi9wjjakmLhi8Sxp +QTpMcAXUfozIW6b3jU8tgo5HiEQquM6FGBq0hu2ar/r0zB8DPaWLooRTMY6DTaM5ynpFa0VAiubU Lti8JKuw==; Received: from [50.53.50.0] (helo=bombadil.infradead.org) by bombadil.infradead.org with esmtpsa (Exim 4.96 #2 (Red Hat Linux)) id 1rS9Pd-00F9tI-2B; Tue, 23 Jan 2024 05:33:29 +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:29 -0800 Message-ID: <20240123053329.12893-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) {