From: Dmitry Torokhov Date: Fri, 4 Dec 2009 18:24:19 +0000 (-0800) Subject: DMI: allow omitting ident strings in DMI tables X-Git-Tag: v2.6.33-rc1~337^2~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=75757507e014fa074d25d2883c4ab604999584bd;p=pandora-kernel.git DMI: allow omitting ident strings in DMI tables The purpose of dmi->ident is twofold - it may be used by DMI callback functions when composing log messages; it is also used to determine end of DMI table in dmi_check_system() and dmi_first_match(). However, in case when callbacks are not interested in using ident at all it just wastes memory. Let's make entries with empty first match slot serve as end-of-table markers instead. Acked-by: Jean Delvare Signed-off-by: Dmitry Torokhov --- Reading git-diff-tree failed