Skip to content

Commit

Permalink
samples: mei: use /dev/mei0 instead of /dev/mei
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
tomasbw authored and gregkh committed Jan 30, 2019
1 parent efe814e commit c4a46ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion samples/mei/mei-amt-version.c
Original file line number Diff line number Diff line change
Expand Up @@ -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/mei0", O_RDWR);
if (me->fd == -1) {
mei_err(me, "Cannot establish a handle to the Intel MEI driver\n");
goto err;
Expand Down

0 comments on commit c4a46ac

Please sign in to comment.