]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
dmi scan: warn about too early calls to dmi_check_system()
authorIngo Molnar <mingo@elte.hu>
Thu, 18 Sep 2008 10:50:18 +0000 (12:50 +0200)
committerIngo Molnar <mingo@elte.hu>
Thu, 18 Sep 2008 10:52:29 +0000 (12:52 +0200)
commit9a22b6e76ba75fa0f3963cdec7829156d00a7173
treea097e39127d0b2b7ad3adf1a1a8b2d6f47b67366
parent8308c54d7e312f7a03e2ce2057d0837e6fe3843f
dmi scan: warn about too early calls to dmi_check_system()

It happened to me recently that i added a dmi_check_system() quirk
in a too early codepath, and it was silently ignored because all the
DMI tables and strings were still empty.

As this situation is clearly a programming error / kernel bug,
warn when it happens, instead of silently ignoring quirks.

Signed-off-by: Ingo Molnar <mingo@elte.hu>
drivers/firmware/dmi_scan.c