diff --git a/drivers/video/fbdev/msm/mdss_compat_utils.c b/drivers/video/fbdev/msm/mdss_compat_utils.c index 89c8c59c9e65..7edf570b53a5 100644 --- a/drivers/video/fbdev/msm/mdss_compat_utils.c +++ b/drivers/video/fbdev/msm/mdss_compat_utils.c @@ -1459,7 +1459,7 @@ static int __to_user_lut_cfg_data( struct mdp_lut_cfg_data __user *lut_cfg) { uint32_t lut_type; - int ret; + int ret = 0; if (copy_from_user(&lut_type, &lut_cfg->lut_type, sizeof(uint32_t)))