https://bugs.freedesktop.org/show_bug.cgi?id=107798
Chris Wilson chris@chris-wilson.co.uk changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED
--- Comment #1 from Chris Wilson chris@chris-wilson.co.uk --- commit 125eee6e981eac0a004aeb4f327439a132ceac5c (upstream/master, origin/master, origin/HEAD) Author: Chris Wilson chris@chris-wilson.co.uk Date: Mon Sep 3 10:44:31 2018 +0100
lib: Fix strcmp() direction for bsearch.
I fluked out as vgem was the initial mid value, hiding the worst of the errors as i915 matched with DRIVER_ANY.
Fixes: 20087bf22698 ("lib: Use a bsearch to find the module name") 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