[Intel-gfx] [PATCH] drm/i915: mark expected switch fall-through

Gustavo A. R. Silva gustavo at embeddedor.com
Thu Jun 28 22:32:08 UTC 2018


> 
> Right. That's because we've used MISSING_CASE() also in if-ladders in
> addition to the switch default case. From our POV the usage is similar.
> 

Yep.

> *shrug*
> 
> I guess I like /* fall through */ annotations next to MISSING_CASE()
> better than having two different macros depending on where they're being
> used.
> 

OK. I'll send a patch for the whole i915 subsystem, shortly.

Thanks for the feedback.
--
Gustavo


More information about the Intel-gfx mailing list