summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorRandy Dunlap <rdunlap@infradead.org>2026-07-18 12:13:26 -0700
committerHelge Deller <deller@gmx.de>2026-08-10 08:13:25 +0200
commit048ad864d61feedc24129eeb976e973edcbc3aac (patch)
tree4d90a07600461f8cf0f9dbeab0a765537f2d595d /include
parent5dc2e70dd74b1f03e2e13bfb6922111d9e0adf90 (diff)
downloadlinux-stable-048ad864d61feedc24129eeb976e973edcbc3aac.tar.gz
linux-stable-048ad864d61feedc24129eeb976e973edcbc3aac.zip
fonts: fixup font.h kernel-doc warnings
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 <rdunlap@infradead.org> Cc: stable@vger.kernel.org # v7.1+ Signed-off-by: Helge Deller <deller@gmx.de>
Diffstat (limited to 'include')
-rw-r--r--include/linux/font.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/linux/font.h b/include/linux/font.h
index 6845f02d739a..877efe165d2a 100644
--- a/include/linux/font.h
+++ b/include/linux/font.h
@@ -49,6 +49,8 @@ static inline unsigned int font_glyph_pitch(unsigned int width)
* 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_size(unsigned int width, unsigned int vpit
*/
/**
- * 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