[PATCH v2] i2c: cadence: Fix the kernel-doc warnings

Shubhrajyoti Datta posted 1 patch 2 years, 3 months ago
drivers/i2c/busses/i2c-cadence.c | 1 +
1 file changed, 1 insertion(+)
[PATCH v2] i2c: cadence: Fix the kernel-doc warnings
Posted by Shubhrajyoti Datta 2 years, 3 months ago
This fixes the below warnings

drivers/i2c/busses/i2c-cadence.c:221: warning: Function parameter or
member 'rinfo' not described in 'cdns_i2c'

Reviewed-by: Andi Shyti <andi.shyti@kernel.org>
Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202308171510.bKHBcZQW-lkp@intel.com/
Signed-off-by: Shubhrajyoti Datta <shubhrajyoti.datta@amd.com>
---

Changes in v2:
Update I2C comment

 drivers/i2c/busses/i2c-cadence.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/i2c/busses/i2c-cadence.c b/drivers/i2c/busses/i2c-cadence.c
index 9849f4502570..de3f58b60dce 100644
--- a/drivers/i2c/busses/i2c-cadence.c
+++ b/drivers/i2c/busses/i2c-cadence.c
@@ -182,6 +182,7 @@ enum cdns_i2c_slave_state {
  * @reset:		Reset control for the device
  * @quirks:		flag for broken hold bit usage in r1p10
  * @ctrl_reg:		Cached value of the control register.
+ * @rinfo:		I2C GPIO recovery information
  * @ctrl_reg_diva_divb: value of fields DIV_A and DIV_B from CR register
  * @slave:		Registered slave instance.
  * @dev_mode:		I2C operating role(master/slave).
-- 
2.17.1
Re: [PATCH v2] i2c: cadence: Fix the kernel-doc warnings
Posted by Wolfram Sang 2 years, 3 months ago
On Thu, Aug 31, 2023 at 02:32:53PM +0530, Shubhrajyoti Datta wrote:
> This fixes the below warnings
> 
> drivers/i2c/busses/i2c-cadence.c:221: warning: Function parameter or
> member 'rinfo' not described in 'cdns_i2c'
> 
> Reviewed-by: Andi Shyti <andi.shyti@kernel.org>
> Reported-by: kernel test robot <lkp@intel.com>
> Closes: https://lore.kernel.org/oe-kbuild-all/202308171510.bKHBcZQW-lkp@intel.com/
> Signed-off-by: Shubhrajyoti Datta <shubhrajyoti.datta@amd.com>

Applied to for-current, thanks!