Skip to contentSkip to conversation

i3c: master: svc: fix doc warning in svc-i3c-master.c

PATCH Applied Yang Yingliang 3 participants 3 messages Jun 2, 2021 – Jun 9, 2021

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 i3c: master: svc: fix doc warning in svc-i3c-master.c

Fix the following make W=1 warning:

drivers/i3c/master/svc-i3c-master.c:207: warning: expecting prototype for struct svc_i3c_i3c_dev_data. Prototype was for struct svc_i3c_i2c_dev_data instead

---
 drivers/i3c/master/svc-i3c-master.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/i3c/master/svc-i3c-master.c +1 -1
index eeb49b5d90ef..879e5a64acaf 100644
@@ -195,7 +195,7 @@ struct svc_i3c_master {
 };
 
 /**
- * struct svc_i3c_i3c_dev_data - Device specific data
+ * struct svc_i3c_i2c_dev_data - Device specific data
  * @index: Index in the master tables corresponding to this device
  * @ibi: IBI slot index in the master structure
  * @ibi_pool: IBI pool associated to this device
Signature · 1 line
2.25.1
maintainer Reviewed-by on v1 1/1
#1 lore raw

Hi Yang,

Yang Yingliang <[email protected]> wrote on Wed, 2 Jun 2021 16:55:44 +0800:

Quoted 14 lines

Fix the following make W=1 warning:

drivers/i3c/master/svc-i3c-master.c:207: warning: expecting prototype for struct svc_i3c_i3c_dev_data. Prototype was for struct svc_i3c_i2c_dev_data instead

---
 drivers/i3c/master/svc-i3c-master.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/i3c/master/svc-i3c-master.c +0 -0
index eeb49b5d90ef..879e5a64acaf 100644

drivers/i3c/master/svc-i3c-master.c struct svc_i3c_master { · line 201

Quoted 8 lines
drivers/i3c/master/svc-i3c-master.c +1 -1
@@ -195,7 +195,7 @@ struct svc_i3c_master {
 };
 
 /**
- * struct svc_i3c_i3c_dev_data - Device specific data
+ * struct svc_i3c_i2c_dev_data - Device specific data
  * @index: Index in the master tables corresponding to this device
  * @ibi: IBI slot index in the master structure
  * @ibi_pool: IBI pool associated to this device

Thanks,
Miquèl

maintainer Applied
#2 lore raw
In reply to Yang Yingliang
Quoted 3 lines · Yang Yingliang

Fix the following make W=1 warning:

drivers/i3c/master/svc-i3c-master.c:207: warning: expecting prototype for struct svc_i3c_i3c_dev_data. Prototype was for struct svc_i3c_i2c_dev_data instead

Applied, thanks!

[1/1] i3c: master: svc: fix doc warning in svc-i3c-master.c

      commit: 3e5feb11a82945c88a1518fd2682ca8de66c37d3

Best regards,

Signature · 1 line
Alexandre Belloni <[email protected]>