Re: [PATCH 2/2] drm/exynos: Add missing braces around sizeof in exynos_mixer.c

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Applied. Thanks.

2012/8/31 Sachin Kamat <sachin.kamat@xxxxxxxxxx>:
> Fixes the following checkpatch warnings:
> WARNING: sizeof filter_y_horiz_tap8 should be sizeof(filter_y_horiz_tap8)
> WARNING: sizeof filter_y_vert_tap4 should be sizeof(filter_y_vert_tap4)
> WARNING: sizeof filter_cr_horiz_tap4 should be sizeof(filter_cr_horiz_tap4)
>
> Signed-off-by: Sachin Kamat <sachin.kamat@xxxxxxxxxx>
> ---
>  drivers/gpu/drm/exynos/exynos_mixer.c |    6 +++---
>  1 files changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/drivers/gpu/drm/exynos/exynos_mixer.c b/drivers/gpu/drm/exynos/exynos_mixer.c
> index 30fcc12..25b97d5 100644
> --- a/drivers/gpu/drm/exynos/exynos_mixer.c
> +++ b/drivers/gpu/drm/exynos/exynos_mixer.c
> @@ -236,11 +236,11 @@ static inline void vp_filter_set(struct mixer_resources *res,
>  static void vp_default_filter(struct mixer_resources *res)
>  {
>         vp_filter_set(res, VP_POLY8_Y0_LL,
> -               filter_y_horiz_tap8, sizeof filter_y_horiz_tap8);
> +               filter_y_horiz_tap8, sizeof(filter_y_horiz_tap8));
>         vp_filter_set(res, VP_POLY4_Y0_LL,
> -               filter_y_vert_tap4, sizeof filter_y_vert_tap4);
> +               filter_y_vert_tap4, sizeof(filter_y_vert_tap4));
>         vp_filter_set(res, VP_POLY4_C0_LL,
> -               filter_cr_horiz_tap4, sizeof filter_cr_horiz_tap4);
> +               filter_cr_horiz_tap4, sizeof(filter_cr_horiz_tap4));
>  }
>
>  static void mixer_vsync_set_update(struct mixer_context *ctx, bool enable)
> --
> 1.7.4.1
>
> _______________________________________________
> dri-devel mailing list
> dri-devel@xxxxxxxxxxxxxxxxxxxxx
> http://lists.freedesktop.org/mailman/listinfo/dri-devel
_______________________________________________
dri-devel mailing list
dri-devel@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/dri-devel


[Index of Archives]     [Linux DRI Users]     [Linux Intel Graphics]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux