Quoting Ville Syrjala (2018-08-28 14:37:23) > From: Ville Syrjälä <ville.syrjala@xxxxxxxxxxxxxxx> > > gcc is too smart for us and doesn't evaluate BUILD_BUG_ON()s in > unused static inlines. Collect them up in one static inline and > actually call it to make sure gcc sees it. > > Cc: Chris Wilson <chris@xxxxxxxxxxxxxxxxxx> > Suggested-by: Chris Wilson <chris@xxxxxxxxxxxxxxxxxx> > Signed-off-by: Ville Syrjälä <ville.syrjala@xxxxxxxxxxxxxxx> Reviewed-by: Chris Wilson <chris@xxxxxxxxxxxxxxxxxx> -Chris _______________________________________________ Intel-gfx mailing list Intel-gfx@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/intel-gfx