Re: [PATCH] dell-wmi: Stop storing pointers to DMI tables

From: One Thousand Gnomes
Date: Thu Jan 14 2016 - 09:07:52 EST

> Jean, am I right that drivers must not store pointers to DMI tables
> that they find through dmi_walk? Is there any alternative interface
> that could be used to get a longer-lived pointer to DMI tables, or
> should drivers just parse them and copy out any info needed from the
> dmi_walk callback?

The easiest long term solution might be to just map the dmi buffer once
and keep it. It's not that huge so it's not a big address space hog.