[PATCH 07/30] usb: chipidea: core: Document hw_port_test_set()'s missing 'ci' argument

Lee Jones lee.jones at linaro.org
Fri Jul 3 13:41:25 EDT 2020


Fixes the following W=1 kernel build warning(s):

 drivers/usb/chipidea/core.c:163: warning: Function parameter or member 'ci' not described in 'hw_port_test_set'

Cc: Peter Chen <Peter.Chen at nxp.com>
Cc: David Lopo <dlopo at chipidea.mips.com>
Signed-off-by: Lee Jones <lee.jones at linaro.org>
---
 drivers/usb/chipidea/core.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/usb/chipidea/core.c b/drivers/usb/chipidea/core.c
index 9a7c53d09ab4f..1016596532a9e 100644
--- a/drivers/usb/chipidea/core.c
+++ b/drivers/usb/chipidea/core.c
@@ -155,6 +155,7 @@ u32 hw_read_intr_status(struct ci_hdrc *ci)
 
 /**
  * hw_port_test_set: writes port test mode (execute without interruption)
+ * @ci: the controller
  * @mode: new value
  *
  * This function returns an error code
-- 
2.25.1




More information about the linux-arm-kernel mailing list