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

Commit 72f641fe authored by Mathieu Poirier's avatar Mathieu Poirier Committed by Greg Kroah-Hartman
Browse files

coresight: fixing compilation warnings picked up by 64bit compiler



Compiling coresight drivers with a 64-bit compiler highlights a couple
of formatting issues, which are fixed by this patch.

Signed-off-by: default avatarMathieu Poirier <mathieu.poirier@linaro.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 8c02a5ba
Loading
Loading
Loading
Loading
+2 −2
Original line number Original line Diff line number Diff line
@@ -313,7 +313,7 @@ static ssize_t etb_read(struct file *file, char __user *data,


	*ppos += len;
	*ppos += len;


	dev_dbg(drvdata->dev, "%s: %d bytes copied, %d bytes left\n",
	dev_dbg(drvdata->dev, "%s: %zu bytes copied, %d bytes left\n",
		__func__, len, (int)(depth * 4 - *ppos));
		__func__, len, (int)(depth * 4 - *ppos));
	return len;
	return len;
}
}
+2 −2
Original line number Original line Diff line number Diff line
@@ -533,7 +533,7 @@ static ssize_t tmc_read(struct file *file, char __user *data, size_t len,


	*ppos += len;
	*ppos += len;


	dev_dbg(drvdata->dev, "%s: %d bytes copied, %d bytes left\n",
	dev_dbg(drvdata->dev, "%s: %zu bytes copied, %d bytes left\n",
		__func__, len, (int)(drvdata->size - *ppos));
		__func__, len, (int)(drvdata->size - *ppos));
	return len;
	return len;
}
}