+ adutux-fix-printk-format-warnings.patch added to -mm tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The patch titled

     adutux: fix printk format warnings

has been added to the -mm tree.  Its filename is

     adutux-fix-printk-format-warnings.patch

See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find
out what to do about this

------------------------------------------------------
Subject: adutux: fix printk format warnings
From: Randy Dunlap <rdunlap@xxxxxxxxxxxx>

Fix printk format warnings:
drivers/usb/misc/adutux.c:388: warning: format â??%dâ?? expects type â??intâ??, but argument 3 has type â??size_tâ??
drivers/usb/misc/adutux.c:541: warning: format â??%dâ?? expects type â??intâ??, but argument 3 has type â??size_tâ??
drivers/usb/misc/adutux.c:590: warning: format â??%dâ?? expects type â??intâ??, but argument 3 has type â??size_tâ??
drivers/usb/misc/adutux.c:593: warning: format â??%dâ?? expects type â??intâ??, but argument 3 has type â??size_tâ??
drivers/usb/misc/adutux.c:598: warning: format â??%dâ?? expects type â??intâ??, but argument 3 has type â??size_tâ??
drivers/usb/misc/adutux.c:598: warning: format â??%dâ?? expects type â??intâ??, but argument 4 has type â??size_tâ??
drivers/usb/misc/adutux.c:598: warning: format â??%dâ?? expects type â??intâ??, but argument 5 has type â??size_tâ??

Signed-off-by: Randy Dunlap <rdunlap@xxxxxxxxxxxx>
Cc: Greg KH <greg@xxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxx>
---

 drivers/usb/misc/adutux.c |   10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff -puN drivers/usb/misc/adutux.c~adutux-fix-printk-format-warnings drivers/usb/misc/adutux.c
--- a/drivers/usb/misc/adutux.c~adutux-fix-printk-format-warnings
+++ a/drivers/usb/misc/adutux.c
@@ -385,7 +385,7 @@ static ssize_t adu_read(struct file *fil
 	unsigned long flags;
 	DECLARE_WAITQUEUE(wait, current);
 
-	dbg(2," %s : enter, count = %d, file=%p", __FUNCTION__, count, file);
+	dbg(2," %s : enter, count = %Zd, file=%p", __FUNCTION__, count, file);
 
 	dev = file->private_data;
 	dbg(2," %s : dev=%p", __FUNCTION__, dev);
@@ -538,7 +538,7 @@ static ssize_t adu_write(struct file *fi
 	int retval = 0;
 	int timeout = 0;
 
-	dbg(2," %s : enter, count = %d", __FUNCTION__, count);
+	dbg(2," %s : enter, count = %Zd", __FUNCTION__, count);
 
 	dev = file->private_data;
 
@@ -587,15 +587,15 @@ static ssize_t adu_write(struct file *fi
 			goto exit;
 		}
 
-		dbg(4," %s : in progress, count = %d", __FUNCTION__, count);
+		dbg(4," %s : in progress, count = %Zd", __FUNCTION__, count);
 
 		} else {
-			dbg(4," %s : sending, count = %d", __FUNCTION__, count);
+			dbg(4," %s : sending, count = %Zd", __FUNCTION__, count);
 
 			/* write the data into interrupt_out_buffer from userspace */
 			buffer_size = le16_to_cpu(dev->interrupt_out_endpoint->wMaxPacketSize);
 			bytes_to_write = count > buffer_size ? buffer_size : count;
-			dbg(4," %s : buffer_size = %d, count = %d, bytes_to_write = %d",
+			dbg(4," %s : buffer_size = %Zd, count = %Zd, bytes_to_write = %Zd",
 			    __FUNCTION__, buffer_size, count, bytes_to_write);
 
 			if (copy_from_user(dev->interrupt_out_buffer, buffer, bytes_to_write) != 0) {
_

Patches currently in -mm which might be from rdunlap@xxxxxxxxxxxx are

origin.patch
documentation-update-for-relay-interface.patch
cdrom-gdsc-fix-printk-format-warning.patch
git-acpi.patch
acpi-fix-printk-format-warnings.patch
drivers-base-check-errors.patch
git-libata-all.patch
git-lxdialog.patch
mtd-printk-format-warning.patch
git-net.patch
pcmcia-ds-must_check-fixes.patch
libsas-externs-not-needed.patch
pcie-check-and-return-bus_register-errors-fix.patch
git-scsi-misc.patch
dc395x-fix-printk-format-warning.patch
scsi-target-printk-format-warnings.patch
adutux-fix-printk-format-warnings.patch
add-kerneldocs-for-some-functions-in-mm-memoryc.patch
tiacx-sparse-cleanups.patch
consistently-use-max_errno-in-__syscall_return.patch
consistently-use-max_errno-in-__syscall_return-fix.patch
eisa-bus-modalias-attributes-support-1.patch
kernel-params-must_check-fixes.patch
blockdevc-check-errors.patch
block-handle-subsystem_register-init-errors.patch
fs-namespace-handle-init-registration-errors.patch
kernel-doc-for-relay-interface.patch
kernel-doc-move-filesystems-together.patch
include-documentation-for-functions-in-drivers-base-classc.patch
fix-parameter-names-in-drivers-base-classc.patch
fix-kerneldoc-comments-in-kernel-timerc-fix.patch
cdev-documentation-was-drop-second-arg-of-unregister_chrdev.patch
docbook-fix-segfault-in-docprocc.patch
ext3-add-more-comments-in-block-allocation-reservation-code.patch
doc-fix-kernel-parameters-quiet.patch
fs-cache-cachefiles-a-cache-that-backs-onto-a-mounted-filesystem-cachefiles-printk-format-warning.patch
ecryptfs-fix-printk-format-warnings.patch
ide-core-must_check-fixes.patch

-
To unsubscribe from this list: send the line "unsubscribe mm-commits" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Kernel Newbies FAQ]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Photo]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux