Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 115972
b: refs/heads/master
c: 2cee5df
h: refs/heads/master
v: v3
  • Loading branch information
Adrian Bunk authored and Linus Torvalds committed Oct 20, 2008
1 parent 0bce40e commit 068dd17
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: e4d33969c2d0a9b92c7a2853e3f890dcb4ea37d1
refs/heads/master: 2cee5dfa8b01524a1d937d56ee518677b7acfb38
12 changes: 6 additions & 6 deletions trunk/drivers/scsi/sr_vendor.c
Original file line number Diff line number Diff line change
Expand Up @@ -223,9 +223,9 @@ int sr_cd_check(struct cdrom_device_info *cdi)
no_multi = 1;
break;
}
min = BCD2BIN(buffer[15]);
sec = BCD2BIN(buffer[16]);
frame = BCD2BIN(buffer[17]);
min = bcd2bin(buffer[15]);
sec = bcd2bin(buffer[16]);
frame = bcd2bin(buffer[17]);
sector = min * CD_SECS * CD_FRAMES + sec * CD_FRAMES + frame;
break;
}
Expand All @@ -252,9 +252,9 @@ int sr_cd_check(struct cdrom_device_info *cdi)
}
if (rc != 0)
break;
min = BCD2BIN(buffer[1]);
sec = BCD2BIN(buffer[2]);
frame = BCD2BIN(buffer[3]);
min = bcd2bin(buffer[1]);
sec = bcd2bin(buffer[2]);
frame = bcd2bin(buffer[3]);
sector = min * CD_SECS * CD_FRAMES + sec * CD_FRAMES + frame;
if (sector)
sector -= CD_MSF_OFFSET;
Expand Down

0 comments on commit 068dd17

Please sign in to comment.