The patch titled scsi-target: printk format warnings has been added to the -mm tree. Its filename is scsi-target-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: scsi-target: printk format warnings From: Randy Dunlap <rdunlap@xxxxxxxxxxxx> Fix printk format warning(s): drivers/scsi/scsi_tgt_lib.c:96: warning: long unsigned int format, different type arg (arg 6) drivers/scsi/scsi_tgt_lib.c:293: warning: long unsigned int format, different type arg (arg 5) drivers/scsi/scsi_tgt_lib.c:305: warning: long unsigned int format, different type arg (arg 5) drivers/scsi/scsi_tgt_lib.c:344: warning: long unsigned int format, different type arg (arg 7) drivers/scsi/scsi_tgt_lib.c:553: warning: long unsigned int format, different type arg (arg 8 Signed-off-by: Randy Dunlap <rdunlap@xxxxxxxxxxxx> Cc: James Bottomley <James.Bottomley@xxxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxx> --- drivers/scsi/scsi_tgt_lib.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff -puN drivers/scsi/scsi_tgt_lib.c~scsi-target-printk-format-warnings drivers/scsi/scsi_tgt_lib.c --- a/drivers/scsi/scsi_tgt_lib.c~scsi-target-printk-format-warnings +++ a/drivers/scsi/scsi_tgt_lib.c @@ -93,7 +93,7 @@ static void scsi_tgt_cmd_destroy(void *d struct scsi_tgt_queuedata *qdata = cmd->request->q->queuedata; unsigned long flags; - dprintk("cmd %p %d %lu\n", cmd, cmd->sc_data_direction, + dprintk("cmd %p %d %u\n", cmd, cmd->sc_data_direction, rq_data_dir(cmd->request)); spin_lock_irqsave(&qdata->cmd_hash_lock, flags); @@ -290,7 +290,7 @@ static void scsi_tgt_cmd_done(struct scs { struct scsi_tgt_cmd *tcmd = cmd->request->end_io_data; - dprintk("cmd %p %lu\n", cmd, rq_data_dir(cmd->request)); + dprintk("cmd %p %u\n", cmd, rq_data_dir(cmd->request)); scsi_tgt_uspace_send_status(cmd, GFP_ATOMIC); INIT_WORK(&tcmd->work, scsi_tgt_cmd_destroy, cmd); @@ -302,7 +302,7 @@ static int __scsi_tgt_transfer_response( struct Scsi_Host *shost = scsi_tgt_cmd_to_host(cmd); int err; - dprintk("cmd %p %lu\n", cmd, rq_data_dir(cmd->request)); + dprintk("cmd %p %u\n", cmd, rq_data_dir(cmd->request)); err = shost->hostt->transfer_response(cmd, scsi_tgt_cmd_done); switch (err) { @@ -341,7 +341,7 @@ static int scsi_tgt_init_cmd(struct scsi cmd->request_bufflen = rq->data_len; - dprintk("cmd %p addr %p cnt %d %lu\n", cmd, tcmd->buffer, cmd->use_sg, + dprintk("cmd %p addr %p cnt %d %u\n", cmd, tcmd->buffer, cmd->use_sg, rq_data_dir(rq)); count = blk_rq_map_sg(rq->q, rq, cmd->request_buffer); if (likely(count <= cmd->use_sg)) { @@ -550,7 +550,7 @@ int scsi_tgt_kspace_exec(int host_no, u3 } cmd = rq->special; - dprintk("cmd %p result %d len %d bufflen %u %lu %x\n", cmd, + dprintk("cmd %p result %d len %d bufflen %u %u %x\n", cmd, result, len, cmd->request_bufflen, rq_data_dir(rq), cmd->cmnd[0]); if (result == TASK_ABORTED) { _ 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 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 usbnet-printk-format-warning.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