Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 172853
b: refs/heads/master
c: 6a74463
h: refs/heads/master
i:
  172851: 08c4930
v: v3
  • Loading branch information
Matthew Garrett authored and Jeff Garzik committed Dec 3, 2009
1 parent 7608c03 commit e90a3a0
Show file tree
Hide file tree
Showing 2 changed files with 2 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: 4192be64026dd8bfe94970846e4a135e531bd116
refs/heads/master: 6a74463798bde03f849d8d82d97e4f8e4cf160f3
3 changes: 1 addition & 2 deletions trunk/drivers/ata/libata-scsi.c
Original file line number Diff line number Diff line change
Expand Up @@ -154,8 +154,7 @@ static ssize_t ata_scsi_lpm_put(struct device *dev,
*/
for (i = 1; i < ARRAY_SIZE(link_pm_policy); i++) {
const int len = strlen(link_pm_policy[i].name);
if (strncmp(link_pm_policy[i].name, buf, len) == 0 &&
buf[len] == '\n') {
if (strncmp(link_pm_policy[i].name, buf, len) == 0) {
policy = link_pm_policy[i].value;
break;
}
Expand Down

0 comments on commit e90a3a0

Please sign in to comment.