Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1309299

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

From One Thousand Gnomes <gnomes@lxorguk.ukuu.org.uk>
Newsgroups linux.kernel
Subject Re: [PATCH] dell-wmi: Stop storing pointers to DMI tables
Date 2016-01-14 15:10 +0100
Message-ID <qQQL8-8bA-11@gated-at.bofh.it> (permalink)
References <qMSiu-6Jn-11@gated-at.bofh.it> <qPSFk-8fi-7@gated-at.bofh.it> <qQ87p-28L-35@gated-at.bofh.it> <qQC5s-67v-5@gated-at.bofh.it>
Organization Intel Corporation

Show all headers | View raw


> 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

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH] dell-wmi: Stop storing pointers to DMI tables Andy Lutomirski <luto@kernel.org> - 2016-01-03 16:00 +0100
  Re: [PATCH] dell-wmi: Stop storing pointers to DMI tables Andy Lutomirski <luto@amacapital.net> - 2016-01-11 23:00 +0100
    Re: [PATCH] dell-wmi: Stop storing pointers to DMI tables Pali Rohár <pali.rohar@gmail.com> - 2016-01-12 15:30 +0100
      Re: [PATCH] dell-wmi: Stop storing pointers to DMI tables Andy Lutomirski <luto@amacapital.net> - 2016-01-13 23:30 +0100
        Re: [PATCH] dell-wmi: Stop storing pointers to DMI tables Michał Kępień <kernel@kempniu.pl> - 2016-01-14 11:00 +0100
        Re: [PATCH] dell-wmi: Stop storing pointers to DMI tables One Thousand Gnomes <gnomes@lxorguk.ukuu.org.uk> - 2016-01-14 15:10 +0100
          Re: [PATCH] dell-wmi: Stop storing pointers to DMI tables Jean Delvare <jdelvare@suse.de> - 2016-01-14 21:20 +0100
  Re: [PATCH] dell-wmi: Stop storing pointers to DMI tables Michał Kępień <kernel@kempniu.pl> - 2016-01-14 11:30 +0100

csiph-web