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 9783C2F3C0E for ; Sat, 18 Jul 2026 19:13:27 +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=1784402009; cv=none; b=ARKCsSS2jIxihiFszkx6Au7+COYOs3v+PwgWTc0qWOLKFwvQlhnF3CFlHbbu3Uq7RrEpg4uQzNOX7DEWjomIRaHYovbWbW3kDCU1V5RROxyfN5dvw90X1Z2wfgpRgwFAtv9bMWJmIN7c74u4TmZaIXkzAvZKd9TPXHIx9uUUYhg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784402009; c=relaxed/simple; bh=fNJGMZSXHxQQkaJ6ri0zraEcSlZ+N2Q9AEddi+0/fPg=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=HrKfethil9flU7kK0DKUVNQzLdcS/yvS/OCsSjDTsvP2q1cw/e+lUQod11NLszFeaU1yPqzq4EmyARn17Utio0YtqFMV0vxqv3sgrTyyVrUVTw6DRy3Qq3Pad+M1aG3dqGKlx+gBdOo7Jk+F5dJEleci3IURseWQtIvkgcRbpAk= 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=2xRR8kIh; 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="2xRR8kIh" 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=BNHLUNHyQAHE28eE+/Gt2t5Riz8NHTo+92Z3v7bQho4=; b=2xRR8kIhUsE9uAVhm2hC89iZ5D htNbZcNxD2XC7DqvYagvPdfVX43HAG4kVkaBcGQNS1Uqyt1+ajERmfc1JUl+nwAwuvzIFGimfI4xQ 4BBVq1W2eIn2/dxhI2gWPaV1xON87J8Le6DComxYHQnahH+8APegeJNXohVcb/DJns8wRUAOv93wC raoYADFsFhTCyeGa7MRjuYRdABx2VPgGIL96YNrhspQT5sD5BRCHQYmyzzepdRkmPzJ/cFuQafNg6 dSzXlJ+h/twNymvkuvwyHAeA399PLUz7K/N5BYeSMkC8UzlSJBhxFr6W3Wp38Jz7nc/wCcP2x0/2y UJVvA2+Q==; 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 1wlATW-00000004TSa-3Our; Sat, 18 Jul 2026 19:13:26 +0000 From: Randy Dunlap To: dri-devel@lists.freedesktop.org Cc: Randy Dunlap , Helge Deller , Thomas Zimmermann , linux-fbdev@vger.kernel.org Subject: [PATCH] fonts: fixup font.h kernel-doc warnings Date: Sat, 18 Jul 2026 12:13:26 -0700 Message-ID: <20260718191326.1907423-1-rdunlap@infradead.org> X-Mailer: git-send-email 2.55.0 Precedence: bulk X-Mailing-List: linux-fbdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Use the typedef keyword when describing a typedef. Add the missing function return value for font_glyph_size(). Warning: include/linux/font.h:84 cannot understand function prototype: 'typedef const unsigned char font_data_t;' Warning: include/linux/font.h:53 No description found for return value of 'font_glyph_size' Signed-off-by: Randy Dunlap --- Cc: Helge Deller Cc: Thomas Zimmermann Cc: linux-fbdev@vger.kernel.org include/linux/font.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) --- linux-next-20260717.orig/include/linux/font.h +++ linux-next-20260717/include/linux/font.h @@ -49,6 +49,8 @@ static inline unsigned int font_glyph_pi * scanlines, which is usually the glyph's height in scanlines. Fonts * coming from user space can sometimes have a different vertical pitch * with empty scanlines between two adjacent glyphs. + * + * Returns: the number of bytes per glyph */ static inline unsigned int font_glyph_size(unsigned int width, unsigned int vpitch) { @@ -60,7 +62,7 @@ static inline unsigned int font_glyph_si */ /** - * font_data_t - Raw font data + * typedef font_data_t - Raw font data * * Values of type font_data_t store a pointer to raw font data. The format * is monochrome. Each bit sets a pixel of a stored glyph. Font data does