|
@@ -190,9 +190,13 @@ static int __dead_end_function(struct objtool_file *file, struct symbol *func,
|
|
|
continue;
|
|
|
|
|
|
if (recursion == 5) {
|
|
|
- WARN_FUNC("infinite recursion (objtool bug!)",
|
|
|
- dest->sec, dest->offset);
|
|
|
- return -1;
|
|
|
+ /*
|
|
|
+ * Infinite recursion: two functions
|
|
|
+ * have sibling calls to each other.
|
|
|
+ * This is a very rare case. It means
|
|
|
+ * they aren't dead ends.
|
|
|
+ */
|
|
|
+ return 0;
|
|
|
}
|
|
|
|
|
|
return __dead_end_function(file, dest_func,
|