Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 109825
b: refs/heads/master
c: 97b697a
h: refs/heads/master
i:
  109823: 06cad18
v: v3
  • Loading branch information
Taisuke Yamada authored and Jeff Garzik committed Sep 13, 2008
1 parent 280efff commit 1aaa822
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 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: 99580664aa83ca04bb52988d504a4195b41833b0
refs/heads/master: 97b697a11b07e2ebfa69c488132596cc5eb24119
2 changes: 1 addition & 1 deletion trunk/include/linux/ata.h
Original file line number Diff line number Diff line change
Expand Up @@ -745,7 +745,7 @@ static inline int ata_ok(u8 status)
static inline int lba_28_ok(u64 block, u32 n_block)
{
/* check the ending block number */
return ((block + n_block - 1) < ((u64)1 << 28)) && (n_block <= 256);
return ((block + n_block) < ((u64)1 << 28)) && (n_block <= 256);
}

static inline int lba_48_ok(u64 block, u32 n_block)
Expand Down

0 comments on commit 1aaa822

Please sign in to comment.