]> git.baikalelectronics.ru Git - kernel.git/commit
livepatch: Fix the error message about unresolvable ambiguity
authorPetr Mladek <pmladek@suse.com>
Wed, 9 Mar 2016 14:20:59 +0000 (15:20 +0100)
committerJiri Kosina <jkosina@suse.cz>
Wed, 9 Mar 2016 20:58:41 +0000 (21:58 +0100)
commit4b1253694764b6767277f125d2de5ce1f4d45df5
tree7136e9a763aa7c38d648296ecab9e16702822972
parent08dfe01d2f2d05615a2d7f0b60efe04002cbbd9a
livepatch: Fix the error message about unresolvable ambiguity

klp_find_callback() stops the search when sympos is not defined and
a second symbol of the same name is found. It means that the current
error message about the unresolvable ambiguity always prints "(2 matches)".

Let's remove this information. The total number of occurrences is
not much helpful. The author of the patch still must put a non-trivial
effort into searching the right position in the object file.

[jkosina@suse.cz: fixed grammar as suggested by Josh]
Signed-off-by: Petr Mladek <pmladek@suse.com>
Acked-by: Josh Poimboeuf <jpoimboe@redhat.com>
Acked-by: Chris J Arges <chris.j.arges@canonical.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
kernel/livepatch/core.c