Received: by 2002:a05:6a10:1287:0:0:0:0 with SMTP id d7csp1570444pxv; Fri, 23 Jul 2021 11:27:25 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzNPyFEVN1dTEgK+x/j5SztxZhWWFQ/x9ARjMxvOXMJW19ZUf1GoAzhJH89bveUh/NJsiXT X-Received: by 2002:a6b:4f16:: with SMTP id d22mr4923544iob.15.1627064845470; Fri, 23 Jul 2021 11:27:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1627064845; cv=none; d=google.com; s=arc-20160816; b=Q+7ZkGd6jxtQB2YFyyoDOoDBHeDyFUVc0GX+7sQ+X9v9Uu7BfUodr/IzGulghJ9SDM bZ3+SVdDv0Kse5ANkdWsJciefQzbJshSUwSbblxchWR46GbwNzQoglsEYXuGVc3IM/NG oDzYnC3038OIkk5pdJZxcbf156Ql73hExkLZqPCtx2oHJu1T13qfzDlT35rJjRRjUKR+ W+98NDAqUnnoF98NmJhNqMMP/cn1OH6dJd1k9Nj7bN3/XzDLm7XainmhiYvci/2QeB4a y9RfB2QdXO7y6XCmtvZSg4R7QgLBoz31PkF96P3m4G8gr364Fx3bOJo5f4B7fUwaI+u/ C0MA== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=FdJYjO8+QZ13HyTECNvwxjvmS4UXDVXSz+EmKnAnmlo=; b=NxWCEC4vqNew/dvAr/KFVFyRTV8hvoXEoUnuvceBsnUz9d1vnATZcncARLpNk+yGhs CnOj39xizOwsbwnRGwHohfoMmLlKmToA6ng34yVgxANMCL8OkOreVLviUA43vMhm2g/X l72WTtrCJr3dwNZr0A5u+JvYBurIKQ76sz1lXWZigswRZYzgNDfm74XDLt0N9cxjtm7L Ftvuq6DroCR3EGOmYkFq0X2aBDGE9w6i5tuFDyHVj0xFsczJCeoaxIJezVfNwekxm7gX 32McTDbVc2210MiLxbgDnP9eCZoGZg5WgCex2E7lwlvMKWYtzkxU7oyB4eQgNedziAdw 3J0w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=ZXjxVszF; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id e127si34558078iof.13.2021.07.23.11.27.12; Fri, 23 Jul 2021 11:27:25 -0700 (PDT) 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=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=ZXjxVszF; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229535AbhGWRp2 (ORCPT + 99 others); Fri, 23 Jul 2021 13:45:28 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33544 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229450AbhGWRp2 (ORCPT ); Fri, 23 Jul 2021 13:45:28 -0400 Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:e::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B3850C061575 for ; Fri, 23 Jul 2021 11:26:01 -0700 (PDT) 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=FdJYjO8+QZ13HyTECNvwxjvmS4UXDVXSz+EmKnAnmlo=; b=ZXjxVszFNZf+Sk/EvHvXrLXRo5 +2EDEs8U8OBE/2U3ClvUXJYOZTuDyLVc1x1/UIOMVBoW27mzKXg1GwOuBfrE9P133KaGvPfEP8sq8 ubC6RytcKEdpLqaoIutDEBhrhcMwdErP2xSLd/Tr/fG1ykijtjhjOhksbRhhOuFpiFfTcwQu0RUT+ ArrUxZYt3ZoDvUNsP8qWQophYvEOSlGBstBFF8B7PQXbJzxDFBAu3OmrO+aITCBa4MFMZwWKXZCjH fRMufJD1peRlArFCIAxLnvNgUyUF+9gjKUZUwpA/RsWbZ2BouoeUhk/00vzzFs1acX7gRA1Bml+mx fWrOEslQ==; Received: from [2601:1c0:6280:3f0::aefb] (helo=bombadil.infradead.org) by bombadil.infradead.org with esmtpsa (Exim 4.94.2 #2 (Red Hat Linux)) id 1m6zs0-005fyz-9a; Fri, 23 Jul 2021 18:26:00 +0000 From: Randy Dunlap To: linux-kernel@vger.kernel.org Cc: Randy Dunlap , kernel test robot , Aditya Srivastava , Lee Jones , Jassi Brar , Jassi Brar Subject: [PATCH] mailbox: sti: quieten kernel-doc warnings Date: Fri, 23 Jul 2021 11:25:58 -0700 Message-Id: <20210723182558.13172-1-rdunlap@infradead.org> X-Mailer: git-send-email 2.26.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Use kernel-doc struct notation for the mailbox structs to prevent these kernel-doc warnings: drivers/mailbox/mailbox-sti.c:39: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst * STi Mailbox device data drivers/mailbox/mailbox-sti.c:63: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst * STi Mailbox platform specific configuration drivers/mailbox/mailbox-sti.c:74: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst * STi Mailbox allocated channel information Also move the field descriptions ahead of the function description as is expected in kernel-doc. This prevents another kernel-doc warning. Fixes: 9ef4546cbd7e ("mailbox: Add support for ST's Mailbox IP") Signed-off-by: Randy Dunlap Reported-by: kernel test robot Cc: Aditya Srivastava Cc: Lee Jones CC: Jassi Brar Cc: Jassi Brar --- drivers/mailbox/mailbox-sti.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) --- linux-next-20210723.orig/drivers/mailbox/mailbox-sti.c +++ linux-next-20210723/drivers/mailbox/mailbox-sti.c @@ -36,12 +36,7 @@ #define MBOX_BASE(mdev, inst) ((mdev)->base + ((inst) * 4)) /** - * STi Mailbox device data - * - * An IP Mailbox is currently composed of 4 instances - * Each instance is currently composed of 32 channels - * This means that we have 128 channels per Mailbox - * A channel an be used for TX or RX + * struct sti_mbox_device - STi Mailbox device data * * @dev: Device to which it is attached * @mbox: Representation of a communication channel controller @@ -49,6 +44,11 @@ * @name: Name of the mailbox * @enabled: Local copy of enabled channels * @lock: Mutex protecting enabled status + * + * An IP Mailbox is currently composed of 4 instances + * Each instance is currently composed of 32 channels + * This means that we have 128 channels per Mailbox + * A channel an be used for TX or RX */ struct sti_mbox_device { struct device *dev; @@ -60,7 +60,7 @@ struct sti_mbox_device { }; /** - * STi Mailbox platform specific configuration + * struct sti_mbox_pdata - STi Mailbox platform specific configuration * * @num_inst: Maximum number of instances in one HW Mailbox * @num_chan: Maximum number of channel per instance @@ -71,7 +71,7 @@ struct sti_mbox_pdata { }; /** - * STi Mailbox allocated channel information + * struct sti_channel - STi Mailbox allocated channel information * * @mdev: Pointer to parent Mailbox device * @instance: Instance number channel resides in