]> git.baikalelectronics.ru Git - kernel.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)
commit2a3ad75443e50bc181840e25bc7423c18a8dac20
treea097e39127d0b2b7ad3adf1a1a8b2d6f47b67366
parent2b5aa27ec681d9f1b4aaa43db342d7c7e285e5d7
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