diff options
author | Mathieu Poirier <mathieu.poirier@linaro.org> | 2015-03-30 14:13:35 -0600 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-04-03 16:17:03 +0200 |
commit | 72f641fe6818a403aed52fb3a5b8a241ff76c24f (patch) | |
tree | 87f8cc10e583169662d9275a1825d506987bd43a | |
parent | 8c02a5ba34a1fae6def8cb5a39bb582f09bca49c (diff) | |
download | linux-stable-72f641fe6818a403aed52fb3a5b8a241ff76c24f.tar.gz linux-stable-72f641fe6818a403aed52fb3a5b8a241ff76c24f.tar.bz2 linux-stable-72f641fe6818a403aed52fb3a5b8a241ff76c24f.zip |
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: Mathieu Poirier <mathieu.poirier@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r-- | drivers/coresight/coresight-etb10.c | 4 | ||||
-rw-r--r-- | drivers/coresight/coresight-tmc.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/drivers/coresight/coresight-etb10.c b/drivers/coresight/coresight-etb10.c index c9acd406f0d0..40049869aecd 100644 --- a/drivers/coresight/coresight-etb10.c +++ b/drivers/coresight/coresight-etb10.c @@ -313,8 +313,8 @@ static ssize_t etb_read(struct file *file, char __user *data, *ppos += len; - dev_dbg(drvdata->dev, "%s: %d bytes copied, %d bytes left\n", - __func__, len, (int) (depth * 4 - *ppos)); + dev_dbg(drvdata->dev, "%s: %zu bytes copied, %d bytes left\n", + __func__, len, (int)(depth * 4 - *ppos)); return len; } diff --git a/drivers/coresight/coresight-tmc.c b/drivers/coresight/coresight-tmc.c index 3ff232f9ddf7..030e097c4fb2 100644 --- a/drivers/coresight/coresight-tmc.c +++ b/drivers/coresight/coresight-tmc.c @@ -533,8 +533,8 @@ static ssize_t tmc_read(struct file *file, char __user *data, size_t len, *ppos += len; - dev_dbg(drvdata->dev, "%s: %d bytes copied, %d bytes left\n", - __func__, len, (int) (drvdata->size - *ppos)); + dev_dbg(drvdata->dev, "%s: %zu bytes copied, %d bytes left\n", + __func__, len, (int)(drvdata->size - *ppos)); return len; } |