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.

devcoredump: fix kernel-doc warning

remove make W=1 warnings

drivers/base/devcoredump.c:208: warning:
Function parameter or member 'data' not described in
'devcd_free_sgtable'

drivers/base/devcoredump.c:208: warning:
Excess function parameter 'table' description in 'devcd_free_sgtable'

drivers/base/devcoredump.c:225: warning:
expecting prototype for devcd_read_from_table(). Prototype was for
devcd_read_from_sgtable() instead

Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Link: https://lore.kernel.org/r/20210331232614.304591-8-pierre-louis.bossart@linux.intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Pierre-Louis Bossart and committed by
Greg Kroah-Hartman
cc710790 3c652132

+2 -2
+2 -2
drivers/base/devcoredump.c
··· 202 202 * NOTE: if two tables allocated with devcd_alloc_sgtable and then chained 203 203 * using the sg_chain function then that function should be called only once 204 204 * on the chained table 205 - * @table: pointer to sg_table to free 205 + * @data: pointer to sg_table to free 206 206 */ 207 207 static void devcd_free_sgtable(void *data) 208 208 { ··· 210 210 } 211 211 212 212 /** 213 - * devcd_read_from_table - copy data from sg_table to a given buffer 213 + * devcd_read_from_sgtable - copy data from sg_table to a given buffer 214 214 * and return the number of bytes read 215 215 * @buffer: the buffer to copy the data to it 216 216 * @buf_len: the length of the buffer