Commit dc11ef78 authored by Mauro Carvalho Chehab's avatar Mauro Carvalho Chehab

[media] s5p_mfc_opr_v6: remove address space removal warnings

Smatch still has 3 warnings for s5p_mfc_opr_v6:

drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c:2028:18: warning: cast removes address space of expression
drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c:2034:18: warning: cast removes address space of expression
drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c:2040:18: warning: cast removes address space of expression

Remove them.
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@osg.samsung.com>
parent b5e4d330
...@@ -2019,25 +2019,25 @@ static int s5p_mfc_get_mvc_view_id_v6(struct s5p_mfc_dev *dev) ...@@ -2019,25 +2019,25 @@ static int s5p_mfc_get_mvc_view_id_v6(struct s5p_mfc_dev *dev)
static unsigned int s5p_mfc_get_pic_type_top_v6(struct s5p_mfc_ctx *ctx) static unsigned int s5p_mfc_get_pic_type_top_v6(struct s5p_mfc_ctx *ctx)
{ {
return s5p_mfc_read_info_v6(ctx, return s5p_mfc_read_info_v6(ctx,
(unsigned int) ctx->dev->mfc_regs->d_ret_picture_tag_top); (__force unsigned int) ctx->dev->mfc_regs->d_ret_picture_tag_top);
} }
static unsigned int s5p_mfc_get_pic_type_bot_v6(struct s5p_mfc_ctx *ctx) static unsigned int s5p_mfc_get_pic_type_bot_v6(struct s5p_mfc_ctx *ctx)
{ {
return s5p_mfc_read_info_v6(ctx, return s5p_mfc_read_info_v6(ctx,
(unsigned int) ctx->dev->mfc_regs->d_ret_picture_tag_bot); (__force unsigned int) ctx->dev->mfc_regs->d_ret_picture_tag_bot);
} }
static unsigned int s5p_mfc_get_crop_info_h_v6(struct s5p_mfc_ctx *ctx) static unsigned int s5p_mfc_get_crop_info_h_v6(struct s5p_mfc_ctx *ctx)
{ {
return s5p_mfc_read_info_v6(ctx, return s5p_mfc_read_info_v6(ctx,
(unsigned int) ctx->dev->mfc_regs->d_display_crop_info1); (__force unsigned int) ctx->dev->mfc_regs->d_display_crop_info1);
} }
static unsigned int s5p_mfc_get_crop_info_v_v6(struct s5p_mfc_ctx *ctx) static unsigned int s5p_mfc_get_crop_info_v_v6(struct s5p_mfc_ctx *ctx)
{ {
return s5p_mfc_read_info_v6(ctx, return s5p_mfc_read_info_v6(ctx,
(unsigned int) ctx->dev->mfc_regs->d_display_crop_info2); (__force unsigned int) ctx->dev->mfc_regs->d_display_crop_info2);
} }
static struct s5p_mfc_regs mfc_regs; static struct s5p_mfc_regs mfc_regs;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment