Skip to contentSkip to conversation

media: v4l2-ctrls: Fix typo in VP8 comment

PATCH In review Deborah Brouwer 2 participants 2 messages Aug 11, 2022 – Aug 16, 2022 Media (V4L/DVB)

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 media: v4l2-ctrls: Fix typo in VP8 comment

The comment for the VP8 loop filter flags uses the partially wrong name for the flags. Unlike the other VP8 flag names, the loop filter flag names don't have "_FLAG" in them. Change the comment so that it matches the actual flag definitions in the header.

---
 include/uapi/linux/v4l2-controls.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
include/uapi/linux/v4l2-controls.h +1 -1
index 5f46bf4a570c..a1363c59902d 100644
@@ -1730,7 +1730,7 @@ struct v4l2_vp8_segment {
  * @sharpness_level: matches sharpness_level syntax element.
  * @level: matches loop_filter_level syntax element.
  * @padding: padding field. Should be zeroed by applications.
- * @flags: see V4L2_VP8_LF_FLAG_{}.
+ * @flags: see V4L2_VP8_LF_{}.
  *
  * This structure contains loop filter related parameters.
  * See the 'mb_lf_adjustments()' part of the frame header syntax,
Signature · 1 line
2.37.1
Reviewed-by on v1 1/1
#1 lore raw

Le jeudi 11 août 2022 à 13:37 -0700, Deborah Brouwer a écrit :

Quoted 4 lines

The comment for the VP8 loop filter flags uses the partially wrong name for the flags. Unlike the other VP8 flag names, the loop filter flag names don't have "_FLAG" in them. Change the comment so that it matches the actual flag definitions in the header.

oops, perhaps it should have had that, but can't change it anymore.

Nice catch!

Fixes 363240ce1c08 ("media: uapi: move VP8 stateless controls out of staging")
Quoted 21 lines
---
 include/uapi/linux/v4l2-controls.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
b/ renamed from include/uapi/linux/v4l2-controls.h +0 -0
index 5f46bf4a570c..a1363c59902d 100644

include/uapi/linux/v4l2-controls.h

b/ renamed from include/uapi/linux/v4l2-controls.h +1 -1
@@ -1730,7 +1730,7 @@ struct v4l2_vp8_segment {
  * @sharpness_level: matches sharpness_level syntax element.
  * @level: matches loop_filter_level syntax element.
  * @padding: padding field. Should be zeroed by applications.
- * @flags: see V4L2_VP8_LF_FLAG_{}.
+ * @flags: see V4L2_VP8_LF_{}.
  *
  * This structure contains loop filter related parameters.
  * See the 'mb_lf_adjustments()' part of the frame header syntax,