Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 180292
b: refs/heads/master
c: f7acede
h: refs/heads/master
v: v3
  • Loading branch information
Christoph Hellwig authored and Jeff Garzik committed Feb 4, 2010
1 parent 912e609 commit c67c9a7
Show file tree
Hide file tree
Showing 2 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: bc496ed00ab1411d3efaf295b72e0c9eb343e1a3
refs/heads/master: f7acede65d6b65919aee5b6a360a17cedb11f2f7
4 changes: 2 additions & 2 deletions trunk/include/linux/ata.h
Original file line number Diff line number Diff line change
Expand Up @@ -647,9 +647,9 @@ static inline int ata_id_has_large_logical_sectors(const u16 *id)
return id[ATA_ID_SECTOR_SIZE] & (1 << 13);
}

static inline u8 ata_id_logical_per_physical_sectors(const u16 *id)
static inline u16 ata_id_logical_per_physical_sectors(const u16 *id)
{
return id[ATA_ID_SECTOR_SIZE] & 0xf;
return 1 << (id[ATA_ID_SECTOR_SIZE] & 0xf);
}

static inline int ata_id_has_lba48(const u16 *id)
Expand Down

0 comments on commit c67c9a7

Please sign in to comment.