[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20160114140731.0b324e92@lxorguk.ukuu.org.uk>
Date: Thu, 14 Jan 2016 14:07:31 +0000
From: One Thousand Gnomes <gnomes@...rguk.ukuu.org.uk>
To: Andy Lutomirski <luto@...capital.net>
Cc: Pali Rohár <pali.rohar@...il.com>,
Jean Delvare <jdelvare@...e.com>,
Andy Lutomirski <luto@...nel.org>,
platform-driver-x86@...r.kernel.org,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] dell-wmi: Stop storing pointers to DMI tables
> 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.
Alan
Powered by blists - more mailing lists