* [PATCH] i2c: cadence: Fix the kernel-doc warnings
@ 2023-08-18 10:46 Shubhrajyoti Datta
2023-08-18 19:35 ` Andi Shyti
2023-08-23 21:30 ` Wolfram Sang
0 siblings, 2 replies; 3+ messages in thread
From: Shubhrajyoti Datta @ 2023-08-18 10:46 UTC (permalink / raw)
To: linux-i2c; +Cc: git, michal.simek, andi.shyti
This fixes the below warnings
drivers/i2c/busses/i2c-cadence.c:221: warning: Function parameter or
member 'rinfo' not described in 'cdns_i2c'
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>
---
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..aa56c5704d93 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: I²C 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
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] i2c: cadence: Fix the kernel-doc warnings
2023-08-18 10:46 [PATCH] i2c: cadence: Fix the kernel-doc warnings Shubhrajyoti Datta
@ 2023-08-18 19:35 ` Andi Shyti
2023-08-23 21:30 ` Wolfram Sang
1 sibling, 0 replies; 3+ messages in thread
From: Andi Shyti @ 2023-08-18 19:35 UTC (permalink / raw)
To: Shubhrajyoti Datta; +Cc: linux-i2c, git, michal.simek
Hi Shubhrajyoti,
On Fri, Aug 18, 2023 at 04:16:54PM +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'
>
> 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>
Reviewed-by: Andi Shyti <andi.shyti@kernel.org>
Andi
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] i2c: cadence: Fix the kernel-doc warnings
2023-08-18 10:46 [PATCH] i2c: cadence: Fix the kernel-doc warnings Shubhrajyoti Datta
2023-08-18 19:35 ` Andi Shyti
@ 2023-08-23 21:30 ` Wolfram Sang
1 sibling, 0 replies; 3+ messages in thread
From: Wolfram Sang @ 2023-08-23 21:30 UTC (permalink / raw)
To: Shubhrajyoti Datta; +Cc: linux-i2c, git, michal.simek, andi.shyti
[-- Attachment #1: Type: text/plain, Size: 311 bytes --]
> + * @rinfo: I²C GPIO recovery information
For consistency, please stick to I2C like everywhere else in the driver.
> * @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).
^^^
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2023-08-23 21:31 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-08-18 10:46 [PATCH] i2c: cadence: Fix the kernel-doc warnings Shubhrajyoti Datta
2023-08-18 19:35 ` Andi Shyti
2023-08-23 21:30 ` Wolfram Sang
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox