mirror of
https://github.com/dynup/kpatch
synced 2024-12-22 13:12:06 +00:00
create-diff-object: improve jump label warnings
Improve logging of Jump label warnings with a new line between warnings. Signed-off-by: Kamalesh Babulal <kamalesh@linux.vnet.ibm.com>
This commit is contained in:
parent
ae64019237
commit
514acc32e9
@ -2168,7 +2168,7 @@ static bool should_keep_jump_label(struct lookup_table *lookup,
|
|||||||
* This will be upgraded to an error after all jump labels have
|
* This will be upgraded to an error after all jump labels have
|
||||||
* been reported.
|
* been reported.
|
||||||
*/
|
*/
|
||||||
log_normal("Found a jump label at %s()+0x%lx, using key %s. Jump labels aren't supported with this kernel. Use static_key_enabled() instead.",
|
log_normal("Found a jump label at %s()+0x%lx, using key %s. Jump labels aren't supported with this kernel. Use static_key_enabled() instead.\n",
|
||||||
code->sym->name, code->addend, key->sym->name);
|
code->sym->name, code->addend, key->sym->name);
|
||||||
(*jump_labels_found)++;
|
(*jump_labels_found)++;
|
||||||
return false;
|
return false;
|
||||||
@ -2198,7 +2198,7 @@ static bool should_keep_jump_label(struct lookup_table *lookup,
|
|||||||
* This will be upgraded to an error after all jump labels have
|
* This will be upgraded to an error after all jump labels have
|
||||||
* been reported.
|
* been reported.
|
||||||
*/
|
*/
|
||||||
log_normal("Found a jump label at %s()+0x%lx, using key %s, which is defined in a module. Use static_key_enabled() instead.",
|
log_normal("Found a jump label at %s()+0x%lx, using key %s, which is defined in a module. Use static_key_enabled() instead.\n",
|
||||||
code->sym->name, code->addend, key->sym->name);
|
code->sym->name, code->addend, key->sym->name);
|
||||||
(*jump_labels_found)++;
|
(*jump_labels_found)++;
|
||||||
return false;
|
return false;
|
||||||
|
Loading…
Reference in New Issue
Block a user