Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 73169
b: refs/heads/master
c: 699b052
h: refs/heads/master
i:
  73167: d85954a
v: v3
  • Loading branch information
Tejun Heo authored and Bartlomiej Zolnierkiewicz committed Nov 5, 2007
1 parent 83c9cf5 commit d88947d
Show file tree
Hide file tree
Showing 2 changed files with 4 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: afda5e4da5abf7366ba8ac49e7634b3c85a143ae
refs/heads/master: 699b052ad2996c4ca87aa4b9d4a51dcca0f9e588
5 changes: 3 additions & 2 deletions trunk/drivers/ide/ide-probe.c
Original file line number Diff line number Diff line change
Expand Up @@ -172,11 +172,12 @@ static inline void do_identify (ide_drive_t *drive, u8 cmd)
ide_fixstring(id->fw_rev, sizeof(id->fw_rev), bswap);
ide_fixstring(id->serial_no, sizeof(id->serial_no), bswap);

/* we depend on this a lot! */
id->model[sizeof(id->model)-1] = '\0';

if (strstr(id->model, "E X A B Y T E N E S T"))
goto err_misc;

/* we depend on this a lot! */
id->model[sizeof(id->model)-1] = '\0';
printk("%s: %s, ", drive->name, id->model);
drive->present = 1;
drive->dead = 0;
Expand Down

0 comments on commit d88947d

Please sign in to comment.