Loading drivers/gpu/drm/msm/dsi-staging/dsi_display.c +2 −2 Original line number Diff line number Diff line Loading @@ -1302,7 +1302,7 @@ static ssize_t debugfs_esd_trigger_check(struct file *file, atomic_read(&display->panel->esd_recovery_pending)) return user_len; buf = kzalloc(user_len, GFP_KERNEL); buf = kzalloc(user_len + 1, GFP_KERNEL); if (!buf) return -ENOMEM; Loading Loading @@ -1357,7 +1357,7 @@ static ssize_t debugfs_alter_esd_check_mode(struct file *file, if (*ppos) return 0; buf = kzalloc(len, GFP_KERNEL); buf = kzalloc(len + 1, GFP_KERNEL); if (ZERO_OR_NULL_PTR(buf)) return -ENOMEM; Loading Loading
drivers/gpu/drm/msm/dsi-staging/dsi_display.c +2 −2 Original line number Diff line number Diff line Loading @@ -1302,7 +1302,7 @@ static ssize_t debugfs_esd_trigger_check(struct file *file, atomic_read(&display->panel->esd_recovery_pending)) return user_len; buf = kzalloc(user_len, GFP_KERNEL); buf = kzalloc(user_len + 1, GFP_KERNEL); if (!buf) return -ENOMEM; Loading Loading @@ -1357,7 +1357,7 @@ static ssize_t debugfs_alter_esd_check_mode(struct file *file, if (*ppos) return 0; buf = kzalloc(len, GFP_KERNEL); buf = kzalloc(len + 1, GFP_KERNEL); if (ZERO_OR_NULL_PTR(buf)) return -ENOMEM; Loading