Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 19796
b: refs/heads/master
c: a460ad6
h: refs/heads/master
v: v3
  • Loading branch information
Phillip Susi authored and Linus Torvalds committed Feb 5, 2006
1 parent e7623b2 commit 87246e5
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 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: bd576c9523fbf23e94fb7dbe05d2ae1cf96864e4
refs/heads/master: a460ad62260def15c42130de253d6cfc32528a2f
2 changes: 1 addition & 1 deletion trunk/drivers/block/pktcdvd.c
Original file line number Diff line number Diff line change
Expand Up @@ -1639,7 +1639,7 @@ static int pkt_probe_settings(struct pktcdvd_device *pd)
pd->settings.size = be32_to_cpu(ti.fixed_packet_size) << 2;
if (pd->settings.size == 0) {
printk("pktcdvd: detected zero packet size!\n");
pd->settings.size = 128;
return -ENXIO;
}
if (pd->settings.size > PACKET_MAX_SECTORS) {
printk("pktcdvd: packet size is too big\n");
Expand Down
2 changes: 1 addition & 1 deletion trunk/include/linux/pktcdvd.h
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ struct pkt_ctrl_command {

struct packet_settings
{
__u8 size; /* packet size in (512 byte) sectors */
__u32 size; /* packet size in (512 byte) sectors */
__u8 fp; /* fixed packets */
__u8 link_loss; /* the rest is specified
* as per Mt Fuji */
Expand Down

0 comments on commit 87246e5

Please sign in to comment.