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
---
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
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