lkml.org 
[lkml]   [2016]   [Jul]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH 0/2] dmi-id: export oem strings to sysfs
Date
The oem strings in DMI BIOS have been parsed and stored as dmi devices
in dmi_scan.c but they are not exported to userspace via sysfs.

The series of patches 1/2) fix the error exit code which may cause kernel
panic if error happened during adding the oem strings to sysfs, and (2/2)
export oem strings to a new group "oem" under sysfs device
/sys/class/dmi/id.

Alle Hung (2):
dmi-id: don't free dev structure after calling device_register
dmi-id: add dmi/id/oem group for exporting oem strings to sysfs

drivers/firmware/dmi-id.c | 116 ++++++++++++++++++++++++++++++++++++++++++++--
1 file changed, 112 insertions(+), 4 deletions(-)

--
2.7.4

\
 
 \ /
  Last update: 2016-07-15 12:41    [W:0.026 / U:0.844 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site