projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
efe814e
)
samples: mei: use /dev/mei0 instead of /dev/mei
author
Tomas Winkler
<tomas.winkler@intel.com>
Thu, 24 Jan 2019 12:45:03 +0000
(14:45 +0200)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Wed, 30 Jan 2019 14:24:45 +0000
(15:24 +0100)
The device was moved from misc device to character devices
to support multiple mei devices.
Cc: <stable@vger.kernel.org> #v4.9+
Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
samples/mei/mei-amt-version.c
patch
|
blob
|
history
diff --git
a/samples/mei/mei-amt-version.c
b/samples/mei/mei-amt-version.c
index 33e67bd1dc343cece0573d8dfee9d6e1a3319e9f..32234481ad7dbee128cc9c31531b1843baf672b1 100644
(file)
--- a/
samples/mei/mei-amt-version.c
+++ b/
samples/mei/mei-amt-version.c
@@
-117,7
+117,7
@@
static bool mei_init(struct mei *me, const uuid_le *guid,
me->verbose = verbose;
- me->fd = open("/dev/mei", O_RDWR);
+ me->fd = open("/dev/mei
0
", O_RDWR);
if (me->fd == -1) {
mei_err(me, "Cannot establish a handle to the Intel MEI driver\n");
goto err;