Commit b2dfc3fe authored by Petr Mladek's avatar Petr Mladek
Browse files

Merge branch 'for-5.17/kallsyms' into for-linus

parents 50a0f3f5 f5bdb34b
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -223,6 +223,7 @@ int kallsyms_on_each_symbol(int (*fn)(void *, const char *, struct module *,
		ret = fn(data, namebuf, NULL, kallsyms_sym_address(i));
		if (ret != 0)
			return ret;
		cond_resched();
	}
	return 0;
}
+2 −0
Original line number Diff line number Diff line
@@ -4462,6 +4462,8 @@ int module_kallsyms_on_each_symbol(int (*fn)(void *, const char *,
				 mod, kallsyms_symbol_value(sym));
			if (ret != 0)
				goto out;

			cond_resched();
		}
	}
out: