The patch titled usbnet: printk format warning has been added to the -mm tree. Its filename is usbnet-printk-format-warning.patch See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find out what to do about this ------------------------------------------------------ Subject: usbnet: printk format warning From: Randy Dunlap <rdunlap@xxxxxxxxxxxx> Fix printk format warning(s): drivers/usb/net/usbnet.c: In function 'usbnet_open': drivers/usb/net/usbnet.c:654: warning: format '%d' expects type 'int', but argument 3 has type 'size_t' The fact that rx_urb_size happens to be a size_t has propagated all the way back to this printk. It's fragile to be using %z in this case - let's just typecast the args instead. Signed-off-by: Randy Dunlap <rdunlap@xxxxxxxxxxxx> Cc: Greg KH <greg@xxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxx> --- drivers/usb/net/usbnet.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff -puN drivers/usb/net/usbnet.c~usbnet-printk-format-warning drivers/usb/net/usbnet.c --- a/drivers/usb/net/usbnet.c~usbnet-printk-format-warning +++ a/drivers/usb/net/usbnet.c @@ -653,7 +653,7 @@ static int usbnet_open (struct net_devic devinfo (dev, "open: enable queueing " "(rx %d, tx %d) mtu %d %s framing", - RX_QLEN (dev), TX_QLEN (dev), dev->net->mtu, + (int)RX_QLEN(dev), (int)TX_QLEN(dev), dev->net->mtu, framing); } _ Patches currently in -mm which might be from rdunlap@xxxxxxxxxxxx are acpi-bus-add-missing-newline.patch acpi-handle-firmware_register-init-errors.patch acpi-scan-handle-kset-kobject-errors.patch acpi-fix-printk-format-warnings.patch sysfs_remove_bin_file-no-return-value-dump_stack-on.patch kobject-must_check-fixes.patch drivers-base-check-errors.patch sysfs-add-proper-sysfs_init-prototype.patch bttv-must_check-fixes.patch git-lxdialog.patch mtd-printk-format-warning.patch pcmcia-ds-must_check-fixes.patch libsas-externs-not-needed.patch pcie-check-and-return-bus_register-errors.patch pcie-check-and-return-bus_register-errors-fix.patch git-scsi-misc.patch aic7-cleanup-module_parm_desc-strings.patch dc395x-fix-printk-format-warning.patch scsi-target-printk-format-warnings.patch usbnet-printk-format-warning.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-fixes-for-debugfs.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 replace-arch_has_sched_wake_idle-with-config_sched_smt.patch replace-__arch_has_do_softirq-with.patch replace-arch_has_read_current_timer-with.patch replace-arch_has_nmi_watchdog-with.patch replace-arch_has_flush_anon_page-with.patch replace-arch_has_socket_types-with.patch replace-arch_has_valid_phys_addr_range-with.patch replace-__arch_has_no_page_zero_mapped-with.patch replace-arch_has_power_init-with-config_acpi_power_init.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