Skip to content

Commit 086f4a1

Browse files
mchehabJonathan Corbet
authored andcommitted
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 <[email protected]> Acked-by: Arnd Bergmann <[email protected]> Link: https://lore.kernel.org/r/066968c00196ed88f6dc97e3d317926fc4ab7d52.1740387599.git.mchehab+huawei@kernel.org Signed-off-by: Jonathan Corbet <[email protected]>
1 parent 696d107 commit 086f4a1

File tree

1 file changed

+3
-3
lines changed
  • include/asm-generic

1 file changed

+3
-3
lines changed

include/asm-generic/io.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1212,7 +1212,7 @@ static inline void unxlate_dev_mem_ptr(phys_addr_t phys, void *addr)
12121212

12131213
#ifndef memset_io
12141214
/**
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
12161216
* @addr: The beginning of the I/O-memory range to set
12171217
* @val: The value to set the memory to
12181218
* @count: The number of bytes to set
@@ -1224,7 +1224,7 @@ void memset_io(volatile void __iomem *addr, int val, size_t count);
12241224

12251225
#ifndef memcpy_fromio
12261226
/**
1227-
* memcpy_fromio Copy a block of data from I/O memory
1227+
* memcpy_fromio - Copy a block of data from I/O memory
12281228
* @dst: The (RAM) destination for the copy
12291229
* @src: The (I/O memory) source for the data
12301230
* @count: The number of bytes to copy
@@ -1236,7 +1236,7 @@ void memcpy_fromio(void *dst, const volatile void __iomem *src, size_t count);
12361236

12371237
#ifndef memcpy_toio
12381238
/**
1239-
* memcpy_toio Copy a block of data into I/O memory
1239+
* memcpy_toio - Copy a block of data into I/O memory
12401240
* @dst: The (I/O memory) destination for the copy
12411241
* @src: The (RAM) source for the data
12421242
* @count: The number of bytes to copy

0 commit comments

Comments
 (0)