On 25/02/2020 13:25, Julien Grall wrote: > One of the warning message in gnttab_grow_table() refers to a function > was removed in commit 6425f91c72 "xen/gnttab: Fold grant_table_{create, > set_limits}() into grant_table_init()". > > Since the commit, gt->active will be allocated while initializing the > grant table at domain creation. Therefore gt-active will always be > valid. > > Rather than replacing the warning by another one, we can now downgrade > the check to an ASSERT(). > > Signed-off-by: Julien Grall <jgr...@amazon.com>
TBH, I'd drop the assert. As you identify, its not helpful, and there is no chance we're moving back to a semi-not-initialised-yet world. Either way, Acked-by: Andrew Cooper <andrew.coop...@citrix.com> _______________________________________________ Xen-devel mailing list Xen-devel@lists.xenproject.org https://lists.xenproject.org/mailman/listinfo/xen-devel