Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 89702
b: refs/heads/master
c: 53df8ba
h: refs/heads/master
v: v3
  • Loading branch information
FUJITA Tomonori authored and James Bottomley committed Apr 7, 2008
1 parent 4cbfdcc commit 413de3e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 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: 11002fbcb472cf1176d97eac214df98f7c17f69c
refs/heads/master: 53df8ba801b835ebbd116b4585adfe7ce4efd2b3
7 changes: 2 additions & 5 deletions trunk/drivers/scsi/ps3rom.c
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
#include <scsi/scsi_dbg.h>
#include <scsi/scsi_device.h>
#include <scsi/scsi_host.h>
#include <scsi/scsi_eh.h>

#include <asm/lv1call.h>
#include <asm/ps3stor.h>
Expand Down Expand Up @@ -330,11 +331,7 @@ static irqreturn_t ps3rom_interrupt(int irq, void *data)
goto done;
}

cmd->sense_buffer[0] = 0x70;
cmd->sense_buffer[2] = sense_key;
cmd->sense_buffer[7] = 16 - 6;
cmd->sense_buffer[12] = asc;
cmd->sense_buffer[13] = ascq;
scsi_build_sense_buffer(0, cmd->sense_buffer, sense_key, asc, ascq);
cmd->result = SAM_STAT_CHECK_CONDITION;

done:
Expand Down

0 comments on commit 413de3e

Please sign in to comment.