media: verisilicon: fix hantro.h kernel-doc warning

Message ID 20240111043635.17065-1-rdunlap@infradead.org (mailing list archive)
State Obsoleted
Delegated to: Hans Verkuil
Headers
Series media: verisilicon: fix hantro.h kernel-doc warning |

Commit Message

Randy Dunlap Jan. 11, 2024, 4:36 a.m. UTC
  Remove an extraneous kernel-doc description in hantro.h to
eliminate a kernel-doc warning:

hantro.h:277: warning: Excess struct member 'jpeg_enc' description in 'hantro_ctx'

Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Cc: Ezequiel Garcia <ezequiel@vanguardiasur.com.ar>
Cc: Philipp Zabel <p.zabel@pengutronix.de>
Cc: linux-media@vger.kernel.org
Cc: linux-rockchip@lists.infradead.org
Cc: Mauro Carvalho Chehab <mchehab@kernel.org>
---
 drivers/media/platform/verisilicon/hantro.h |    1 -
 1 file changed, 1 deletion(-)
  

Comments

Nicolas Dufresne Jan. 17, 2024, 7:19 p.m. UTC | #1
Le mercredi 10 janvier 2024 à 20:36 -0800, Randy Dunlap a écrit :
> Remove an extraneous kernel-doc description in hantro.h to
> eliminate a kernel-doc warning:
> 
> hantro.h:277: warning: Excess struct member 'jpeg_enc' description in 'hantro_ctx'

Reviewed-by: Nicolas Dufresne <nicolas.dufresne@collabora.com>

Thanks!

> 
> Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
> Cc: Ezequiel Garcia <ezequiel@vanguardiasur.com.ar>
> Cc: Philipp Zabel <p.zabel@pengutronix.de>
> Cc: linux-media@vger.kernel.org
> Cc: linux-rockchip@lists.infradead.org
> Cc: Mauro Carvalho Chehab <mchehab@kernel.org>
> ---
>  drivers/media/platform/verisilicon/hantro.h |    1 -
>  1 file changed, 1 deletion(-)
> 
> diff -- a/drivers/media/platform/verisilicon/hantro.h b/drivers/media/platform/verisilicon/hantro.h
> --- a/drivers/media/platform/verisilicon/hantro.h
> +++ b/drivers/media/platform/verisilicon/hantro.h
> @@ -237,7 +237,6 @@ struct hantro_dev {
>   * @codec_ops:		Set of operations related to codec mode.
>   * @postproc:		Post-processing context.
>   * @h264_dec:		H.264-decoding context.
> - * @jpeg_enc:		JPEG-encoding context.
>   * @mpeg2_dec:		MPEG-2-decoding context.
>   * @vp8_dec:		VP8-decoding context.
>   * @hevc_dec:		HEVC-decoding context.
>
  

Patch

diff -- a/drivers/media/platform/verisilicon/hantro.h b/drivers/media/platform/verisilicon/hantro.h
--- a/drivers/media/platform/verisilicon/hantro.h
+++ b/drivers/media/platform/verisilicon/hantro.h
@@ -237,7 +237,6 @@  struct hantro_dev {
  * @codec_ops:		Set of operations related to codec mode.
  * @postproc:		Post-processing context.
  * @h264_dec:		H.264-decoding context.
- * @jpeg_enc:		JPEG-encoding context.
  * @mpeg2_dec:		MPEG-2-decoding context.
  * @vp8_dec:		VP8-decoding context.
  * @hevc_dec:		HEVC-decoding context.