* [PATCH] i2c: axxia: use 'struct' for kernel-doc notation
@ 2023-01-13 6:37 Randy Dunlap
2023-01-20 9:20 ` Wolfram Sang
0 siblings, 1 reply; 2+ messages in thread
From: Randy Dunlap @ 2023-01-13 6:37 UTC (permalink / raw)
To: linux-kernel; +Cc: Randy Dunlap, Krzysztof Adamski, Wolfram Sang, linux-i2c
Add "struct" to prevent this kernel-doc warning:
drivers/i2c/busses/i2c-axxia.c:135: warning: cannot understand function prototype: 'struct axxia_i2c_dev '
Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Cc: Krzysztof Adamski <krzysztof.adamski@nokia.com>
Cc: Wolfram Sang <wsa@kernel.org>
Cc: linux-i2c@vger.kernel.org
---
drivers/i2c/busses/i2c-axxia.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff -- a/drivers/i2c/busses/i2c-axxia.c b/drivers/i2c/busses/i2c-axxia.c
--- a/drivers/i2c/busses/i2c-axxia.c
+++ b/drivers/i2c/busses/i2c-axxia.c
@@ -118,7 +118,7 @@
#define SDA_HOLD_TIME 0x90
/**
- * axxia_i2c_dev - I2C device context
+ * struct axxia_i2c_dev - I2C device context
* @base: pointer to register struct
* @msg: pointer to current message
* @msg_r: pointer to current read message (sequence transfer)
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] i2c: axxia: use 'struct' for kernel-doc notation
2023-01-13 6:37 [PATCH] i2c: axxia: use 'struct' for kernel-doc notation Randy Dunlap
@ 2023-01-20 9:20 ` Wolfram Sang
0 siblings, 0 replies; 2+ messages in thread
From: Wolfram Sang @ 2023-01-20 9:20 UTC (permalink / raw)
To: Randy Dunlap, Krzysztof Adamski; +Cc: linux-kernel, linux-i2c
[-- Attachment #1: Type: text/plain, Size: 525 bytes --]
On Thu, Jan 12, 2023 at 10:37:56PM -0800, Randy Dunlap wrote:
> Add "struct" to prevent this kernel-doc warning:
>
> drivers/i2c/busses/i2c-axxia.c:135: warning: cannot understand function prototype: 'struct axxia_i2c_dev '
>
> Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
> Cc: Krzysztof Adamski <krzysztof.adamski@nokia.com>
> Cc: Wolfram Sang <wsa@kernel.org>
> Cc: linux-i2c@vger.kernel.org
Applied to for-current, thanks!
@Krzysztof: I hope you don't mind, I want to send out for-current soon.
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-01-20 9:20 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-01-13 6:37 [PATCH] i2c: axxia: use 'struct' for kernel-doc notation Randy Dunlap
2023-01-20 9:20 ` Wolfram Sang
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox