diff --git a/[refs] b/[refs] index 3c2359686531..34379b827371 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 5855fead9cc358adebd6bdeec202d040c623ae38 +refs/heads/master: c842e975520f8ab09e293cc92f51a1f396251fd5 diff --git a/trunk/kernel/trace/ftrace.c b/trunk/kernel/trace/ftrace.c index dcd3a814d39b..a383d6c67bfa 100644 --- a/trunk/kernel/trace/ftrace.c +++ b/trunk/kernel/trace/ftrace.c @@ -1381,7 +1381,7 @@ static void __ftrace_hash_rec_update(struct ftrace_ops *ops, * If the notrace hash has no items, * then there's nothing to do. */ - if (hash && !hash->count) + if (!hash || !hash->count) return; }