Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 250535
b: refs/heads/master
c: 160fbf2
h: refs/heads/master
i:
  250533: 8e03174
  250531: 2696374
  250527: f213aaa
v: v3
  • Loading branch information
Heiko Carstens authored and Martin Schwidefsky committed May 23, 2011
1 parent 61bf18f commit 0405429
Show file tree
Hide file tree
Showing 3 changed files with 3 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: 37fa9975b28a2d86a5b47ec17e6d845dbd899c60
refs/heads/master: 160fbf2e92cccbc1dccb4f837f5174808b2636d2
5 changes: 1 addition & 4 deletions trunk/drivers/s390/char/tape_3590.c
Original file line number Diff line number Diff line change
Expand Up @@ -1392,15 +1392,12 @@ tape_3590_print_era_msg(struct tape_device *device, struct irb *irb)
static int tape_3590_crypt_error(struct tape_device *device,
struct tape_request *request, struct irb *irb)
{
u8 cu_rc, ekm_rc1;
u8 cu_rc;
u16 ekm_rc2;
u32 drv_rc;
char *sense;

sense = ((struct tape_3590_sense *) irb->ecw)->fmt.data;
cu_rc = sense[0];
drv_rc = *((u32*) &sense[5]) & 0xffffff;
ekm_rc1 = sense[9];
ekm_rc2 = *((u16*) &sense[10]);
if ((cu_rc == 0) && (ekm_rc2 == 0xee31))
/* key not defined on EKM */
Expand Down
3 changes: 1 addition & 2 deletions trunk/drivers/s390/char/tape_std.c
Original file line number Diff line number Diff line change
Expand Up @@ -564,7 +564,6 @@ int
tape_std_mtreten(struct tape_device *device, int mt_count)
{
struct tape_request *request;
int rc;

request = tape_alloc_request(4, 0);
if (IS_ERR(request))
Expand All @@ -576,7 +575,7 @@ tape_std_mtreten(struct tape_device *device, int mt_count)
tape_ccw_cc(request->cpaddr + 2, NOP, 0, NULL);
tape_ccw_end(request->cpaddr + 3, CCW_CMD_TIC, 0, request->cpaddr);
/* execute it, MTRETEN rc gets ignored */
rc = tape_do_io_interruptible(device, request);
tape_do_io_interruptible(device, request);
tape_free_request(request);
return tape_mtop(device, MTREW, 1);
}
Expand Down

0 comments on commit 0405429

Please sign in to comment.