Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 77035
b: refs/heads/master
c: a8aae4d
h: refs/heads/master
i:
  77033: 2e2047e
  77031: f9b82ca
v: v3
  • Loading branch information
Randy Dunlap authored and James Bottomley committed Jan 12, 2008
1 parent 3b25e13 commit f03ab14
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: f3307f7276067e2f8f29a20e3ebe52887e8f9f00
refs/heads/master: a8aae4d3427a5cf7c92b50125e35ea6cb9ba7394
12 changes: 6 additions & 6 deletions trunk/drivers/scsi/scsi_tgt_lib.c
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ static void scsi_tgt_cmd_destroy(struct work_struct *work)
container_of(work, struct scsi_tgt_cmd, work);
struct scsi_cmnd *cmd = tcmd->rq->special;

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));
scsi_unmap_user_pages(tcmd);
scsi_host_put_command(scsi_tgt_cmd_to_host(cmd), cmd);
Expand Down Expand Up @@ -327,7 +327,7 @@ static void scsi_tgt_cmd_done(struct scsi_cmnd *cmd)
{
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, tcmd->itn_id, tcmd->tag);

Expand All @@ -342,7 +342,7 @@ static int scsi_tgt_transfer_response(struct scsi_cmnd *cmd)
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) {
Expand Down Expand Up @@ -497,8 +497,8 @@ int scsi_tgt_kspace_exec(int host_no, u64 itn_id, int result, u64 tag,
}
cmd = rq->special;

dprintk("cmd %p scb %x result %d len %d bufflen %u %lu %x\n",
cmd, cmd->cmnd[0], result, len, cmd->request_bufflen,
dprintk("cmd %p scb %x result %d len %d bufflen %u %u %x\n",
cmd, cmd->cmnd[0], result, len, scsi_bufflen(cmd),
rq_data_dir(rq), cmd->cmnd[0]);

if (result == TASK_ABORTED) {
Expand Down Expand Up @@ -618,7 +618,7 @@ int scsi_tgt_kspace_it_nexus_rsp(int host_no, u64 itn_id, int result)
struct Scsi_Host *shost;
int err = -EINVAL;

dprintk("%d %d %llx\n", host_no, result, (unsigned long long) mid);
dprintk("%d %d%llx\n", host_no, result, (unsigned long long)itn_id);

shost = scsi_host_lookup(host_no);
if (IS_ERR(shost)) {
Expand Down

0 comments on commit f03ab14

Please sign in to comment.