x86: check function status in EDD boot code
authorJan Beulich <jbeulich@novell.com>
Fri, 18 Jul 2008 12:35:37 +0000 (13:35 +0100)
committerH. Peter Anvin <hpa@zytor.com>
Fri, 18 Jul 2008 21:33:17 +0000 (14:33 -0700)
Without checking the return value of get_edd_info() and adding the
entry only in the success case, 6 devices show up under
/sys/firmware/edd/, no matter how many devices are actually present.

Signed-off-by: Jan Beulich <jbeulich@novell.com>
Signed-off-by: H. Peter Anvin <hpa@zytor.com>

No differences found