Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 593e4250 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "scsi: ufs: Fix off-by-one bug in ufs debugfs driver"

parents b92e9754 3a6b562f
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -114,7 +114,8 @@ static ssize_t ufs_qcom_dbg_testbus_cfg_write(struct file *file,
	struct ufs_hba *hba = host->hba;


	ret = simple_write_to_buffer(configuration, TESTBUS_CFG_BUFF_LINE_SIZE,
	ret = simple_write_to_buffer(configuration,
		TESTBUS_CFG_BUFF_LINE_SIZE - 1,
		&buff_pos, ubuf, cnt);
	if (ret < 0) {
		dev_err(host->hba->dev, "%s: failed to read user data\n",