Message ID | 1346408448-13928-2-git-send-email-sachin.kamat@linaro.org (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Applied. Thanks. 2012/8/31 Sachin Kamat <sachin.kamat@linaro.org>: > 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@linaro.org> > --- > 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@lists.freedesktop.org > http://lists.freedesktop.org/mailman/listinfo/dri-devel
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)
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@linaro.org> --- drivers/gpu/drm/exynos/exynos_mixer.c | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-)