Skip to content
Commit 5c7e4e0e authored by Chris Wilson's avatar Chris Wilson
Browse files

intel: Only check file type bits not mode when searching for rendernodes



Before checking st_rdev, we first need to validate that the file is a
device node, but we only want to check the file type bits and not
compare the permissions.

Reported-by: default avatarIlia Mirkin <imirkin@alum.mit.edu>
Signed-off-by: default avatarChris Wilson <chris@chris-wilson.co.uk>
parent 2d6af9e7
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment