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

lib/iomem_copy: fix kerneldoc format style

The newly added file did not quite get the punctuation right:

lib/iomem_copy.c:14: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst

Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202410290907.0mDZVYPK-lkp@intel.com/
Signed-off-by: Arnd Bergmann <arnd@arndb.de>

+12 -12
+12 -12
lib/iomem_copy.c
··· 11 11 12 12 #ifndef memset_io 13 13 /** 14 - * memset_io Set a range of I/O memory to a constant value 15 - * @addr: The beginning of the I/O-memory range to set 16 - * @val: The value to set the memory to 17 - * @count: The number of bytes to set 14 + * memset_io() - Set a range of I/O memory to a constant value 15 + * @addr: The beginning of the I/O-memory range to set 16 + * @val: The value to set the memory to 17 + * @count: The number of bytes to set 18 18 * 19 19 * Set a range of I/O memory to a given value. 20 20 */ ··· 52 52 53 53 #ifndef memcpy_fromio 54 54 /** 55 - * memcpy_fromio Copy a block of data from I/O memory 56 - * @dst: The (RAM) destination for the copy 57 - * @src: The (I/O memory) source for the data 58 - * @count: The number of bytes to copy 55 + * memcpy_fromio() - Copy a block of data from I/O memory 56 + * @dst: The (RAM) destination for the copy 57 + * @src: The (I/O memory) source for the data 58 + * @count: The number of bytes to copy 59 59 * 60 60 * Copy a block of data from I/O memory. 61 61 */ ··· 94 94 95 95 #ifndef memcpy_toio 96 96 /** 97 - * memcpy_toio Copy a block of data into I/O memory 98 - * @dst: The (I/O memory) destination for the copy 99 - * @src: The (RAM) source for the data 100 - * @count: The number of bytes to copy 97 + * memcpy_toio() -Copy a block of data into I/O memory 98 + * @dst: The (I/O memory) destination for the copy 99 + * @src: The (RAM) source for the data 100 + * @count: The number of bytes to copy 101 101 * 102 102 * Copy a block of data to I/O memory. 103 103 */