diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2018-09-03 11:02:14 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2018-09-03 15:02:35 +0100 |
commit | 022be555443eaa3317da6a9a451cf2c9dfcd6ab8 (patch) | |
tree | 6f3f8bd0caf96375d2dd59fda715215a022fa8be /scripts | |
parent | 125eee6e981eac0a004aeb4f327439a132ceac5c (diff) |
lib: Check for a specific match if requested.
We only want to allow driver_open to match an unknown driver if asked for
DRIVER_ANY, so we need to double check.
Fixes: 9e5fa9112546 ("lib/drmtest: Move open device to separate function")
Reported-by: Petri Latvala <petri.latvala@intel.com>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Petri Latvala <petri.latvala@intel.com>
Reviewed-by: Petri Latvala <petri.latvala@intel.com>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions