diff options
author | Mauro Carvalho Chehab <mchehab@osg.samsung.com> | 2014-09-24 08:34:47 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@osg.samsung.com> | 2014-09-26 05:47:50 -0400 |
commit | dc11ef78e78b65fccae91ed42b05a039ddde7a9d (patch) | |
tree | eb73de69e193e56949d5f118845bb6c56cffb543 | |
parent | b5e4d33070a3b1efc738c3889842be447a613211 (diff) |
[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: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
-rw-r--r-- | drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c b/drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c index ed3d20f12184..e38d78f21726 100644 --- a/drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c +++ b/drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c | |||
@@ -2019,25 +2019,25 @@ static int s5p_mfc_get_mvc_view_id_v6(struct s5p_mfc_dev *dev) | |||
2019 | static unsigned int s5p_mfc_get_pic_type_top_v6(struct s5p_mfc_ctx *ctx) | 2019 | static unsigned int s5p_mfc_get_pic_type_top_v6(struct s5p_mfc_ctx *ctx) |
2020 | { | 2020 | { |
2021 | return s5p_mfc_read_info_v6(ctx, | 2021 | return s5p_mfc_read_info_v6(ctx, |
2022 | (unsigned int) ctx->dev->mfc_regs->d_ret_picture_tag_top); | 2022 | (__force unsigned int) ctx->dev->mfc_regs->d_ret_picture_tag_top); |
2023 | } | 2023 | } |
2024 | 2024 | ||
2025 | static unsigned int s5p_mfc_get_pic_type_bot_v6(struct s5p_mfc_ctx *ctx) | 2025 | static unsigned int s5p_mfc_get_pic_type_bot_v6(struct s5p_mfc_ctx *ctx) |
2026 | { | 2026 | { |
2027 | return s5p_mfc_read_info_v6(ctx, | 2027 | return s5p_mfc_read_info_v6(ctx, |
2028 | (unsigned int) ctx->dev->mfc_regs->d_ret_picture_tag_bot); | 2028 | (__force unsigned int) ctx->dev->mfc_regs->d_ret_picture_tag_bot); |
2029 | } | 2029 | } |
2030 | 2030 | ||
2031 | static unsigned int s5p_mfc_get_crop_info_h_v6(struct s5p_mfc_ctx *ctx) | 2031 | static unsigned int s5p_mfc_get_crop_info_h_v6(struct s5p_mfc_ctx *ctx) |
2032 | { | 2032 | { |
2033 | return s5p_mfc_read_info_v6(ctx, | 2033 | return s5p_mfc_read_info_v6(ctx, |
2034 | (unsigned int) ctx->dev->mfc_regs->d_display_crop_info1); | 2034 | (__force unsigned int) ctx->dev->mfc_regs->d_display_crop_info1); |
2035 | } | 2035 | } |
2036 | 2036 | ||
2037 | static unsigned int s5p_mfc_get_crop_info_v_v6(struct s5p_mfc_ctx *ctx) | 2037 | static unsigned int s5p_mfc_get_crop_info_v_v6(struct s5p_mfc_ctx *ctx) |
2038 | { | 2038 | { |
2039 | return s5p_mfc_read_info_v6(ctx, | 2039 | return s5p_mfc_read_info_v6(ctx, |
2040 | (unsigned int) ctx->dev->mfc_regs->d_display_crop_info2); | 2040 | (__force unsigned int) ctx->dev->mfc_regs->d_display_crop_info2); |
2041 | } | 2041 | } |
2042 | 2042 | ||
2043 | static struct s5p_mfc_regs mfc_regs; | 2043 | static struct s5p_mfc_regs mfc_regs; |