Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

include/asm-generic/io.h: fix kerneldoc markup

Kerneldoc requires a "-" after the name of a function for it
to be recognized as a function.

Add it.

Fix those kernel-doc warnings:

include/asm-generic/io.h:1215: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst
* memset_io Set a range of I/O memory to a constant value
include/asm-generic/io.h:1227: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst
* memcpy_fromio Copy a block of data from I/O memory
include/asm-generic/io.h:1239: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst
* memcpy_toio Copy a block of data into I/O memory

Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Link: https://lore.kernel.org/r/066968c00196ed88f6dc97e3d317926fc4ab7d52.1740387599.git.mchehab+huawei@kernel.org
Signed-off-by: Jonathan Corbet <corbet@lwn.net>

authored by

Mauro Carvalho Chehab and committed by
Jonathan Corbet
086f4a12 696d107c

+3 -3
+3 -3
include/asm-generic/io.h
··· 1212 1212 1213 1213 #ifndef memset_io 1214 1214 /** 1215 - * memset_io Set a range of I/O memory to a constant value 1215 + * memset_io - Set a range of I/O memory to a constant value 1216 1216 * @addr: The beginning of the I/O-memory range to set 1217 1217 * @val: The value to set the memory to 1218 1218 * @count: The number of bytes to set ··· 1224 1224 1225 1225 #ifndef memcpy_fromio 1226 1226 /** 1227 - * memcpy_fromio Copy a block of data from I/O memory 1227 + * memcpy_fromio - Copy a block of data from I/O memory 1228 1228 * @dst: The (RAM) destination for the copy 1229 1229 * @src: The (I/O memory) source for the data 1230 1230 * @count: The number of bytes to copy ··· 1236 1236 1237 1237 #ifndef memcpy_toio 1238 1238 /** 1239 - * memcpy_toio Copy a block of data into I/O memory 1239 + * memcpy_toio - Copy a block of data into I/O memory 1240 1240 * @dst: The (I/O memory) destination for the copy 1241 1241 * @src: The (RAM) source for the data 1242 1242 * @count: The number of bytes to copy