Merge "msm: mdss: fix null pointer dereferencing"
This commit is contained in:
commit
00ddc986bb
1 changed files with 1 additions and 1 deletions
|
@ -1095,7 +1095,7 @@ static int mdss_mdp_get_img(struct msmfb_data *img,
|
|||
return ret;
|
||||
}
|
||||
}
|
||||
if (!*start) {
|
||||
if (start && !*start) {
|
||||
pr_err("start address is zero!\n");
|
||||
mdss_mdp_put_img(data, rotator, dir);
|
||||
return -ENOMEM;
|
||||
|
|
Loading…
Add table
Reference in a new issue