On June 17, 2016 3:01 PM, Jan Beulich <jbeul...@suse.com> wrote: > And again I don't understand: ASSERT()s are to verify assumed state. If static > code analysis resulted in understanding a function is unreachable when > qi_ctrl->qinval_maddr is zero (because qinval ought to have got disabled if > any > of the table setup failed), then adding ASSERT() would (a) document that and > (b) allow to know quickly if something broke that assumption.
other than enable_qinval() -- yes, I need to convert conditionals of qi_ctrl->qinval_maddr into ASSERT()s.. But in enable_qinval(), I am still not quite sure whether I need to convert these conditionals of qi_ctrl->qinval_maddr into ASSERT()s or not. Quan _______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel