i915: build warning in i915_hangcheck_elapsed

2013-08-10 Thread Kees Cook
9107e9d227e3b0893829baee4ac59feb874d4c23 introduced score, and while it's actually not possible for it to be uninitialized (given the return values of ring_stuck()), the warning should be suppressed. It probably just needs a default: added to the switch statement.

i915: build warning in i915_hangcheck_elapsed

2013-08-09 Thread Kees Cook
9107e9d227e3b0893829baee4ac59feb874d4c23 introduced "score", and while it's actually not possible for it to be uninitialized (given the return values of ring_stuck()), the warning should be suppressed. It probably just needs a "default:" added to the switch statement.