summaryrefslogtreecommitdiff
path: root/drivers/staging/line6
diff options
context:
space:
mode:
authorRandy Dunlap <randy.dunlap@oracle.com>2009-11-12 15:46:01 -0800
committerGreg Kroah-Hartman <gregkh@suse.de>2009-12-11 12:21:46 -0800
commit034f58575982e473c808e501b5223274b14743c7 (patch)
treedb9d57a0395e7abbe7048d0a7d81ac455ecd63e4 /drivers/staging/line6
parentd722a51007f60d173262e176157e6d9c58ef2cd0 (diff)
Staging: line6: fix printk formats
Fix printk format warnings in line6/pod.c; sizeof() is of type size_t, so use %zu. drivers/staging/line6/pod.c:581: warning: format '%d' expects type 'int', but argument 4 has type 'long unsigned int' drivers/staging/line6/pod.c:693: warning: format '%d' expects type 'int', but argument 4 has type 'long unsigned int' Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/line6')
-rw-r--r--drivers/staging/line6/pod.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/line6/pod.c b/drivers/staging/line6/pod.c
index 4c5b9d584000..5f5fc025cb79 100644
--- a/drivers/staging/line6/pod.c
+++ b/drivers/staging/line6/pod.c
@@ -579,7 +579,7 @@ static ssize_t pod_set_dump(struct device *dev, struct device_attribute *attr,
if (count != sizeof(pod->prog_data)) {
dev_err(pod->line6.ifcdev,
- "data block must be exactly %d bytes\n",
+ "data block must be exactly %zu bytes\n",
sizeof(pod->prog_data));
return -EINVAL;
}
@@ -691,7 +691,7 @@ static ssize_t pod_set_dump_buf(struct device *dev,
if (count != sizeof(pod->prog_data)) {
dev_err(pod->line6.ifcdev,
- "data block must be exactly %d bytes\n",
+ "data block must be exactly %zu bytes\n",
sizeof(pod->prog_data));
return -EINVAL;
}