On Tue, Nov 7, 2017 at 6:54 PM, Luc Van Oostenryck <luc.vanoostenryck@xxxxxxxxx> wrote: > Signed-off-by: Luc Van Oostenryck <luc.vanoostenryck@xxxxxxxxx> > --- > graph.c | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/graph.c b/graph.c > index 8cbc22027..c9af9a580 100644 > --- a/graph.c > +++ b/graph.c > @@ -130,6 +130,8 @@ static void graph_calls(struct entrypoint *ep, int internal) > continue; > > FOR_EACH_PTR(bb->insns, insn) { > + if (!insn->bb) > + continue; Looks good to me. Chris -- To unsubscribe from this list: send the line "unsubscribe linux-sparse" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html