Merge "msm: mdss: Memset commit structure in compat path"
This commit is contained in:
commit
fbc0f1b44f
2 changed files with 3 additions and 0 deletions
|
@ -313,6 +313,8 @@ static int __compat_atomic_commit(struct fb_info *info, unsigned int cmd,
|
|||
ret = -EFAULT;
|
||||
return ret;
|
||||
}
|
||||
|
||||
memset(&commit, 0, sizeof(struct mdp_layer_commit));
|
||||
__copy_atomic_commit_struct(&commit, &commit32);
|
||||
|
||||
if (commit32.commit_v1.output_layer) {
|
||||
|
|
|
@ -536,6 +536,7 @@ struct mdp_layer_commit_v1_32 {
|
|||
int retire_fence;
|
||||
compat_caddr_t dest_scaler;
|
||||
uint32_t dest_scaler_cnt;
|
||||
compat_caddr_t frc_info;
|
||||
uint32_t reserved[MDP_LAYER_COMMIT_V1_PAD];
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue