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

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

 



The patch titled

     aircable: fix printk format warnings

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

     aircable-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: aircable: fix printk format warnings
From: Randy Dunlap <rdunlap@xxxxxxxxxxxx>

Fix printk format warnings:
drivers/usb/serial/aircable.c:221: warning: format â??%Zdâ?? expects type â??signed size_tâ??, but argument 4 has type â??intâ??
drivers/usb/serial/aircable.c:283: warning: format â??%Zdâ?? expects type â??signed size_tâ??, but argument 4 has type â??intâ??

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

 drivers/usb/serial/aircable.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff -puN drivers/usb/serial/aircable.c~aircable-fix-printk-format-warnings drivers/usb/serial/aircable.c
--- a/drivers/usb/serial/aircable.c~aircable-fix-printk-format-warnings
+++ a/drivers/usb/serial/aircable.c
@@ -218,7 +218,7 @@ static void aircable_send(struct usb_ser
 
 	buf = kzalloc(count + HCI_HEADER_LENGTH, GFP_ATOMIC);
 	if (!buf) {
-		err("%s- kzalloc(%Zd) failed.", __FUNCTION__,
+		err("%s- kzalloc(%d) failed.", __FUNCTION__,
 		    count + HCI_HEADER_LENGTH);
 		return;
 	}
@@ -280,7 +280,7 @@ static void aircable_read(void *params)
 
 	tty_prepare_flip_string(tty, &data, count);
 	if (!data){
-		err("%s- kzalloc(%Zd) failed.", __FUNCTION__, count);
+		err("%s- kzalloc(%d) failed.", __FUNCTION__, count);
 		return;
 	}
 
_

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
aircable-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