Loading drivers/gpu/drm/msm/dsi-staging/dsi_ctrl.c +5 −0 Original line number Diff line number Diff line Loading @@ -121,6 +121,9 @@ static ssize_t debugfs_state_info_read(struct file *file, dsi_ctrl->clk_freq.pix_clk_rate, dsi_ctrl->clk_freq.esc_clk_rate); if (len > count) len = count; /* TODO: make sure that this does not exceed 4K */ if (copy_to_user(buff, buf, len)) { kfree(buf); Loading Loading @@ -176,6 +179,8 @@ static ssize_t debugfs_reg_dump_read(struct file *file, return rc; } if (len > count) len = count; /* TODO: make sure that this does not exceed 4K */ if (copy_to_user(buff, buf, len)) { Loading Loading
drivers/gpu/drm/msm/dsi-staging/dsi_ctrl.c +5 −0 Original line number Diff line number Diff line Loading @@ -121,6 +121,9 @@ static ssize_t debugfs_state_info_read(struct file *file, dsi_ctrl->clk_freq.pix_clk_rate, dsi_ctrl->clk_freq.esc_clk_rate); if (len > count) len = count; /* TODO: make sure that this does not exceed 4K */ if (copy_to_user(buff, buf, len)) { kfree(buf); Loading Loading @@ -176,6 +179,8 @@ static ssize_t debugfs_reg_dump_read(struct file *file, return rc; } if (len > count) len = count; /* TODO: make sure that this does not exceed 4K */ if (copy_to_user(buff, buf, len)) { Loading