diff options
author | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2009-12-04 19:24:19 +0100 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2009-12-05 07:10:59 +0100 |
commit | 75757507e014fa074d25d2883c4ab604999584bd (patch) | |
tree | 80b94859f420a6fcf05cb4b4f7fb90234351a8fd /scripts/profile2linkerlist.pl | |
parent | Input: psmouse - do not carry DMI data around (diff) | |
download | linux-75757507e014fa074d25d2883c4ab604999584bd.tar.xz linux-75757507e014fa074d25d2883c4ab604999584bd.zip |
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 <khali@linux-fr.org>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Diffstat (limited to 'scripts/profile2linkerlist.pl')
0 files changed, 0 insertions, 0 deletions