[Intel-gfx] [PATCH 07/33] drm/i915/selftests: Apply a subtest filter

Chris Wilson chris at chris-wilson.co.uk
Fri Jan 25 11:48:49 UTC 2019


Quoting Mika Kuoppala (2019-01-25 11:44:30)
> Chris Wilson <chris at chris-wilson.co.uk> writes:
> > +static bool apply_subtest_filter(const char *caller, const char *name)
> > +{
> > +     char *filter, *sep, *tok;
> > +     bool result = true;
> > +
> > +     filter = kstrdup(i915_selftest.filter, GFP_KERNEL);
> 
> Was going to say that bailout if !filter.
> But apparently it is ok this way.

I thought it was nifty, "Look ma, no hands!" :)
-Chris


More information about the Intel-gfx mailing list