diff options
author | Jan Beulich <jbeulich@novell.com> | 2008-07-18 13:35:37 +0100 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2008-07-18 14:33:17 -0700 |
commit | f2ba93929fdb91fd806be20e959a50f7db82790e (patch) | |
tree | ca3518a85672e3da4e36884139707ae6577939d5 /arch/x86/kernel/amd_iommu_init.c | |
parent | Merge branch 'x86/setup' of ssh://master.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip into x86/setup (diff) | |
download | linux-dev-f2ba93929fdb91fd806be20e959a50f7db82790e.tar.xz linux-dev-f2ba93929fdb91fd806be20e959a50f7db82790e.zip |
x86: check function status in EDD boot code
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>
Diffstat (limited to 'arch/x86/kernel/amd_iommu_init.c')
0 files changed, 0 insertions, 0 deletions