On 12/9/19 8:00 AM, Alex Bennée wrote: >> -#ifdef CONFIG_DEBUG_TCG >> - assert(flags == rebuild_hflags_internal(env)); >> -#endif >> + assert_hflags_rebuild_correctly(env); > > I'm trying to recall why we don't just use: > > g_assert_cmphex(flags, =, rebuild_hflags_internal(env)) > > I think it came up in one of the reviews.
checkpatch.pl. Because, I believe, there is an environment variable that causes this to *not* abort on mismatch. r~