From mboxrd@z Thu Jan 1 00:00:00 1970 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 5076F38A70C for ; Mon, 20 Jul 2026 03:12:38 +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=1784517163; cv=none; b=iXdtKryb/CxXJ8O4AHVledHSQbye45LWjSYhO+lXRqHLbMC4STq+xpVPgQIZkxLaTHwu4zMWl2NS+HP08XuAcd8s4R+/ndvMrPMcfKsqftBbyOTFlXYdfqjr9FPBlehYZifs40oPJ9gLi2GFNm3ck04qCWU7CKJuDAzPDLf4cjM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784517163; c=relaxed/simple; bh=O34oxJe/cejhbIWtygIkuaxJkvCI7E55AuO6cteiVDE=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=FTS3MQZOTZbpQ6wQRZKtEJylAvlxxeRQPkDHitfCWUFJh2hpWPR/x+h70BcWdgca15F8ct7ITlmhmEK2CzECz6/jxzahjv06/IMRJB0A7Kqfvzc5byoAo6xUplX9/4HKiYxU65OYhsfwYlZSuISqOvtI8Xeqc8QeLkAP23IdIV0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=infradead.org; spf=pass smtp.mailfrom=infradead.org; dkim=pass (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b=zGOX6EDN; arc=none smtp.client-ip=198.137.202.133 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=infradead.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=infradead.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b="zGOX6EDN" 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:References:In-Reply-To:Message-ID:Date:Subject:Cc:To:From:Sender :Reply-To:Content-Type:Content-ID:Content-Description; bh=ly3h11gQ7J1LvoI1mft9a0AG9EYwWRM8MAjUmkKf/bg=; b=zGOX6EDNP1qJRkKAAONhObaDYS 80jBXXIGDTuv+z/MM1dTnMsoKSC7OnkKKiVjOHnnW3OjGz58hbUaUSxoLneVpSmKYglODdR1FNCTo 9lABhHnSyvUkS4rZpfym+6hMGXqKkH0vviot8FWzJj8fIzkFAfWcbmskD5b6AMhwoFxCX0GgtIFuy ZM91hXad1XpnSRZyFfN9vPyapN+2Q2ERvhbxDcdQcYcwAiK+2gUkGPhN6d+E6tPdtCPvgPL9/DAOW FsTTSxlAWxMm7xkPHLyVKjY7dNNeaz6b8pdNN6cCMx3UOwkI3jPraFyqqkgBFoBvBBVE7lpBKTYzD +4D+SxZg==; Received: from [50.53.43.113] (helo=bombadil.infradead.org) by bombadil.infradead.org with esmtpsa (Exim 4.99.1 #2 (Red Hat Linux)) id 1wleQo-00000005k2y-1Auo; Mon, 20 Jul 2026 03:12:38 +0000 From: Randy Dunlap To: linux-kernel@vger.kernel.org Cc: Randy Dunlap , Anna-Maria Behnsen , Frederic Weisbecker , Thomas Gleixner Subject: [PATCH 2/2] posix-cpu-timers: avoid kernel-doc warnings Date: Sun, 19 Jul 2026 20:12:36 -0700 Message-ID: <20260720031236.3070575-2-rdunlap@infradead.org> X-Mailer: git-send-email 2.55.0 In-Reply-To: <20260720031236.3070575-1-rdunlap@infradead.org> References: <20260720031236.3070575-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-Transfer-Encoding: 8bit Use the struct keyword when describing a struct. Without that, the type defaults to function. Warning: ./include/linux/posix-timers_types.h:40 cannot understand function prototype: 'struct posix_cputimer_base' Warning: ./include/linux/posix-timers_types.h:55 cannot understand function prototype: 'struct posix_cputimers' Warning: ./include/linux/posix-timers_types.h:67 cannot understand function prototype: 'struct posix_cputimers_work' Signed-off-by: Randy Dunlap --- Cc: Anna-Maria Behnsen Cc: Frederic Weisbecker Cc: Thomas Gleixner include/linux/posix-timers_types.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) --- linux-next-20260717.orig/include/linux/posix-timers_types.h +++ linux-next-20260717/include/linux/posix-timers_types.h @@ -34,7 +34,7 @@ #ifdef CONFIG_POSIX_TIMERS /** - * posix_cputimer_base - Container per posix CPU clock + * struct posix_cputimer_base - Container per posix CPU clock * @nextevt: Earliest-expiration cache * @tqhead: timerqueue head for cpu_timers */ @@ -44,7 +44,7 @@ struct posix_cputimer_base { }; /** - * posix_cputimers - Container for posix CPU timer related data + * struct posix_cputimers - Container for posix CPU timer related data * @bases: Base container for posix CPU clocks * @timers_active: Timers are queued. * @expiry_active: Timer expiry is active. Used for @@ -60,7 +60,8 @@ struct posix_cputimers { }; /** - * posix_cputimers_work - Container for task work based posix CPU timer expiry + * struct posix_cputimers_work - Container for task work based posix + * CPU timer expiry * @work: The task work to be scheduled * @mutex: Mutex held around expiry in context of this task work * @scheduled: @work has been scheduled already, no further processing