Re: [Intel-gfx] [PATCH] drm/i915/perf: Reverse a ternary to make sparse happy

2019-11-01 Thread Umesh Nerlige Ramappa
On Fri, Nov 01, 2019 at 06:18:20PM +, Chris Wilson wrote: Avoid drivers/gpu/drm/i915/i915_perf.c:2442:85: warning: dubious: x | !y simply by inverting the predicate and reversing the ternary. Signed-off-by: Chris Wilson Cc: Umesh Nerlige Ramappa Cc: Lionel Landwerlin ---

Re: [Intel-gfx] [PATCH] drm/i915/perf: Reverse a ternary to make sparse happy

2019-11-01 Thread Lionel Landwerlin
On 01/11/2019 20:18, Chris Wilson wrote: Avoid drivers/gpu/drm/i915/i915_perf.c:2442:85: warning: dubious: x | !y simply by inverting the predicate and reversing the ternary. Signed-off-by: Chris Wilson Cc: Umesh Nerlige Ramappa Cc: Lionel Landwerlin Reviewed-by: Lionel Landwerlin

[Intel-gfx] [PATCH] drm/i915/perf: Reverse a ternary to make sparse happy

2019-11-01 Thread Chris Wilson
Avoid drivers/gpu/drm/i915/i915_perf.c:2442:85: warning: dubious: x | !y simply by inverting the predicate and reversing the ternary. Signed-off-by: Chris Wilson Cc: Umesh Nerlige Ramappa Cc: Lionel Landwerlin --- drivers/gpu/drm/i915/i915_perf.c | 10 +- 1 file changed, 5