Re: [PATCH] drm/i915: Add a default case in gen7 hwsp switch-case

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 29/08/17 12:18, Chris Wilson wrote:
Quoting Michel Thierry (2017-08-29 19:55:45)
Gen7 won't get any new engines, and we already added VCS2 there to just
silence gcc's not-handled-in-switch warnings.

Use a default case instead, otherwise we will need to keep adding extra
cases if changes happen in the future.

Signed-off-by: Michel Thierry <michel.thierry@xxxxxxxxx>

Left spray paint behind, so
Reviewed-by: Chris Wilson <chris@xxxxxxxxxxxxxxxxxx>

(Not really a case of MISSING_CASE, as it is completely impossible, so
GEM_BUG?)

True, GEM_BUG makes more sense here.
_______________________________________________
Intel-gfx mailing list
Intel-gfx@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/intel-gfx




[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux