Re: [PATCH] x86: check function status in EDD boot code

From: H. Peter Anvin
Date: Fri Jul 18 2008 - 17:34:05 EST


Jan Beulich wrote:
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@xxxxxxxxxx>

Applied to x86/setup, thanks.

-hpa
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/