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

misc: mic: cosm: cosm_main: Document 'force' function argument

Fixes the following W=1 kernel build warning:

drivers/misc/mic/cosm/cosm_main.c:31: warning: Function parameter or member 'force' not described in 'cosm_hw_reset'

Signed-off-by: Lee Jones <lee.jones@linaro.org>
Link: https://lore.kernel.org/r/20200701083118.45744-16-lee.jones@linaro.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Lee Jones and committed by
Greg Kroah-Hartman
0cfbe64c 438ad368

+1
+1
drivers/misc/mic/cosm/cosm_main.c
··· 26 26 /** 27 27 * cosm_hw_reset - Issue a HW reset for the MIC device 28 28 * @cdev: pointer to cosm_device instance 29 + * @force: force a MIC to reset even if it is already reset and ready 29 30 */ 30 31 static void cosm_hw_reset(struct cosm_device *cdev, bool force) 31 32 {