Re: [PATCH] dmi_check_system can generate Warnings when no DMI tableis present

From: Erwan Velu
Date: Fri Oct 23 2009 - 11:04:15 EST


Daniel Walker a Ãcrit :
[...]
It's your defect, so you can still try to fix it (unless the "xen
people" or someone else beats you to it.)

It looks like on a normal system dmi_scan_machine() gets called very
early in setup_arch() arch/x86/kernel/setup.c . A possible good fix
might be to add a dmi_disable() into the dmi driver that just shuts off
dmi, and run that in xen_arch_setup() in arch/x86/xen/setup.c
Could it make sense having this patch (I can work on it) while keeping my previous patch ?
Does it make sense keeping the default return value I've been adding when no dmi table is found ?
--
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/