Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 104380
b: refs/heads/master
c: f2ba939
h: refs/heads/master
v: v3
  • Loading branch information
Jan Beulich authored and H. Peter Anvin committed Jul 18, 2008
1 parent 8f9ccba commit 2283d4e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 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: ffaa152efd02849c0c36947f533f2ee3ee55369a
refs/heads/master: f2ba93929fdb91fd806be20e959a50f7db82790e
5 changes: 2 additions & 3 deletions trunk/arch/x86/boot/edd.c
Original file line number Diff line number Diff line change
Expand Up @@ -167,9 +167,8 @@ void query_edd(void)
* Scan the BIOS-supported hard disks and query EDD
* information...
*/
get_edd_info(devno, &ei);

if (boot_params.eddbuf_entries < EDDMAXNR) {
if (!get_edd_info(devno, &ei)
&& boot_params.eddbuf_entries < EDDMAXNR) {
memcpy(edp, &ei, sizeof ei);
edp++;
boot_params.eddbuf_entries++;
Expand Down

0 comments on commit 2283d4e

Please sign in to comment.