Quoting Ville Syrjala (2019-06-19 19:03:11) > From: Ville Syrjälä <ville.syrjala@xxxxxxxxxxxxxxx> > > The strings we want to print to the on stack buffers should > be no more than > 8 * 3 + strlen("(GET_SCALED_HDTV_RESOLUTION_SUPPORT)") + 1 = 61 > bytes. So let's shrink the buffers down to 64 bytes. > max args_len does seem to 8, and it gets padded out to 8. > Also switch the BUG_ON()s to WARN_ON()s if I made a mistake in > my arithmentic. With the command name macro, could it not do some thing like BUILD_BUG_ON(sizeof(#cmd) > DBG_LEN) ? -Chris _______________________________________________ Intel-gfx mailing list Intel-gfx@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/intel-gfx