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
commit c4a46acf1db3ce547d290c29e55b3476c78dd76c upstream.

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
Tomas Winkler authored and gregkh committed Feb 15, 2019
1 parent 7e21768 commit aef80fd
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 aef80fd

Please sign in to comment.