Loading drivers/video/msm/mdss/mdss_dsi.c +5 −0 Original line number Diff line number Diff line Loading @@ -758,6 +758,11 @@ static ssize_t mdss_dsi_cmd_state_write(struct file *file, int *link_state = file->private_data; char *input; if (!count) { pr_err("%s: Zero bytes to be written\n", __func__); return -EINVAL; } input = kmalloc(count, GFP_KERNEL); if (!input) { pr_err("%s: Failed to allocate memory\n", __func__); Loading Loading
drivers/video/msm/mdss/mdss_dsi.c +5 −0 Original line number Diff line number Diff line Loading @@ -758,6 +758,11 @@ static ssize_t mdss_dsi_cmd_state_write(struct file *file, int *link_state = file->private_data; char *input; if (!count) { pr_err("%s: Zero bytes to be written\n", __func__); return -EINVAL; } input = kmalloc(count, GFP_KERNEL); if (!input) { pr_err("%s: Failed to allocate memory\n", __func__); Loading