Loading drivers/gpu/drm/msm/dsi-staging/dsi_ctrl.c +2 −2 Original line number Diff line number Diff line Loading @@ -124,7 +124,7 @@ static ssize_t debugfs_state_info_read(struct file *file, if (len > count) len = count; /* TODO: make sure that this does not exceed 4K */ len = min_t(size_t, len, SZ_4K); if (copy_to_user(buff, buf, len)) { kfree(buf); return -EFAULT; Loading Loading @@ -182,7 +182,7 @@ static ssize_t debugfs_reg_dump_read(struct file *file, if (len > count) len = count; /* TODO: make sure that this does not exceed 4K */ len = min_t(size_t, len, SZ_4K); if (copy_to_user(buff, buf, len)) { kfree(buf); return -EFAULT; Loading Loading
drivers/gpu/drm/msm/dsi-staging/dsi_ctrl.c +2 −2 Original line number Diff line number Diff line Loading @@ -124,7 +124,7 @@ static ssize_t debugfs_state_info_read(struct file *file, if (len > count) len = count; /* TODO: make sure that this does not exceed 4K */ len = min_t(size_t, len, SZ_4K); if (copy_to_user(buff, buf, len)) { kfree(buf); return -EFAULT; Loading Loading @@ -182,7 +182,7 @@ static ssize_t debugfs_reg_dump_read(struct file *file, if (len > count) len = count; /* TODO: make sure that this does not exceed 4K */ len = min_t(size_t, len, SZ_4K); if (copy_to_user(buff, buf, len)) { kfree(buf); return -EFAULT; Loading