Skip to contentSkip to conversation

media: cec.h: Fix kerneldoc

PATCH In review Ricardo Ribalda 2 participants 3 messages May 3, 2024

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

PATCH 1/1 media: cec.h: Fix kerneldoc

is_claiming_log_addrs documentation was missing.

fix this kernel-doc warning:
include/media/cec.h:296: warning: Function parameter or struct member 'is_claiming_log_addrs' not described in 'cec_adapter'

---
https://gitlab.freedesktop.org/linux-media/media-staging/-/pipelines/1169148/test_report?job_name=doc

---
 include/media/cec.h | 1 +
 1 file changed, 1 insertion(+)
include/media/cec.h +1 -0
index d3abe84c9c9e..d131514032f2 100644
@@ -187,6 +187,7 @@ struct cec_adap_ops {
  *	in order to transmit or receive CEC messages. This is usually a HW
  *	limitation.
  * @is_enabled:		the CEC adapter is enabled
+ * @is_claiming_log_addrs:  true if cec_claim_log_addrs() is running
  * @is_configuring:	the CEC adapter is configuring (i.e. claiming LAs)
  * @must_reconfigure:	while configuring, the PA changed, so reclaim LAs
  * @is_configured:	the CEC adapter is configured (i.e. has claimed LAs)

---
base-commit: 1aa1329a67cc214c3b7bd2a14d1301a795760b07
change-id: 20240503-fixdoc-d1380eb243cd

Best regards,

Signature · 1 line
Ricardo Ribalda <[email protected]>
Reviewed-by on v1 1/1
#1 lore raw
Quoted 6 lines · Ricardo Ribalda

is_claiming_log_addrs documentation was missing.

fix this kernel-doc warning:
include/media/cec.h:296: warning: Function parameter or struct member 'is_claiming_log_addrs' not described in 'cec_adapter'

Hmm, that happens when you don't run your own patches through the build tests :-(

Regards,

Hans

Quoted 24 lines

---
https://gitlab.freedesktop.org/linux-media/media-staging/-/pipelines/1169148/test_report?job_name=doc

---
 include/media/cec.h | 1 +
 1 file changed, 1 insertion(+)
include/media/cec.h +1 -1
index d3abe84c9c9e..d131514032f2 100644
@@ -187,6 +187,7 @@ struct cec_adap_ops {
  *	in order to transmit or receive CEC messages. This is usually a HW
  *	limitation.
  * @is_enabled:		the CEC adapter is enabled
+ * @is_claiming_log_addrs:  true if cec_claim_log_addrs() is running
  * @is_configuring:	the CEC adapter is configuring (i.e. claiming LAs)
  * @must_reconfigure:	while configuring, the PA changed, so reclaim LAs
  * @is_configured:	the CEC adapter is configured (i.e. has claimed LAs)
 
---

base-commit: 1aa1329a67cc214c3b7bd2a14d1301a795760b07
change-id: 20240503-fixdoc-d1380eb243cd

Best regards,

#2 lore raw
Quoted 4 lines · Hans Verkuil
Quoted 2 lines · Ricardo Ribalda

is_claiming_log_addrs documentation was missing.

Quoted 8 lines
Quoted 4 lines

fix this kernel-doc warning:
include/media/cec.h:296: warning: Function parameter or struct member 'is_claiming_log_addrs' not described in 'cec_adapter'

Hmm, that happens when you don't run your own patches through the build tests :-(

There is an easy way to test your patches with gitlab. No need to install anything in your computer :P

Quoted 30 lines

Regards,

Hans

Quoted 24 lines

---
https://gitlab.freedesktop.org/linux-media/media-staging/-/pipelines/1169148/test_report?job_name=doc

---
 include/media/cec.h | 1 +
 1 file changed, 1 insertion(+)
include/media/cec.h +1 -1
index d3abe84c9c9e..d131514032f2 100644
@@ -187,6 +187,7 @@ struct cec_adap_ops {
  *   in order to transmit or receive CEC messages. This is usually a HW
  *   limitation.
  * @is_enabled:              the CEC adapter is enabled
+ * @is_claiming_log_addrs:  true if cec_claim_log_addrs() is running
  * @is_configuring:  the CEC adapter is configuring (i.e. claiming LAs)
  * @must_reconfigure:        while configuring, the PA changed, so reclaim LAs
  * @is_configured:   the CEC adapter is configured (i.e. has claimed LAs)
 
---

base-commit: 1aa1329a67cc214c3b7bd2a14d1301a795760b07
change-id: 20240503-fixdoc-d1380eb243cd

Best regards,

Signature · 1 line
Ricardo Ribalda