All of lore.kernel.org
 help / color / mirror / Atom feed
diff for duplicates of <163163037468.489837.4282347782492003960.stgit@devnote2>

diff --git a/a/1.txt b/N1/1.txt
index 22976c9..57ac707 100644
--- a/a/1.txt
+++ b/N1/1.txt
@@ -238,7 +238,7 @@ index 7663c8a51889..ad39eeaa4371 100644
  			int i;
 +
  			for (i = 0; i < slots_per_page(c); i++) {
- 				if (kip->slot_used[i] == SLOT_CLEAN) {
+ 				if (kip->slot_used[i] = SLOT_CLEAN) {
  					kip->slot_used[i] = SLOT_USED;
 @@ -167,11 +176,6 @@ kprobe_opcode_t *__get_insn_slot(struct kprobe_insn_cache *c)
  	if (!kip)
@@ -257,7 +257,7 @@ index 7663c8a51889..ad39eeaa4371 100644
  	list_for_each_entry_safe(kip, next, &c->pages, list) {
  		int i;
 +
- 		if (kip->ngarbage == 0)
+ 		if (kip->ngarbage = 0)
  			continue;
  		kip->ngarbage = 0;	/* we will collect all garbages */
 @@ -313,7 +318,7 @@ int kprobe_cache_get_kallsym(struct kprobe_insn_cache *c, unsigned int *symnum,
@@ -290,7 +290,7 @@ index 7663c8a51889..ad39eeaa4371 100644
 +/* Return true if 'p' is an aggregator */
  static inline int kprobe_aggrprobe(struct kprobe *p)
  {
- 	return p->pre_handler == aggr_pre_handler;
+ 	return p->pre_handler = aggr_pre_handler;
  }
  
 -/* Return true(!0) if the kprobe is unused */
@@ -837,7 +837,7 @@ index 7663c8a51889..ad39eeaa4371 100644
  	struct kprobe *orig_p;
 @@ -1697,7 +1710,7 @@ static struct kprobe *__disable_kprobe(struct kprobe *p)
  		/* Try to disarm and disable this/parent probe */
- 		if (p == orig_p || aggr_kprobe_disabled(orig_p)) {
+ 		if (p = orig_p || aggr_kprobe_disabled(orig_p)) {
  			/*
 -			 * If kprobes_all_disarmed is set, orig_p
 +			 * If 'kprobes_all_disarmed' is set, 'orig_p'
diff --git a/a/content_digest b/N1/content_digest
index 11917b4..aa31b18 100644
--- a/a/content_digest
+++ b/N1/content_digest
@@ -1,7 +1,7 @@
  "ref\0163163030719.489837.2236069935502195491.stgit@devnote2\0"
  "From\0Masami Hiramatsu <mhiramat@kernel.org>\0"
  "Subject\0[PATCH -tip v11 07/27] kprobes: Fix coding style issues\0"
- "Date\0Tue, 14 Sep 2021 23:39:34 +0900\0"
+ "Date\0Tue, 14 Sep 2021 14:39:34 +0000\0"
  "To\0Steven Rostedt <rostedt@goodmis.org>"
   Josh Poimboeuf <jpoimboe@redhat.com>
  " Ingo Molnar <mingo@kernel.org>\0"
@@ -264,7 +264,7 @@
  " \t\t\tint i;\n"
  "+\n"
  " \t\t\tfor (i = 0; i < slots_per_page(c); i++) {\n"
- " \t\t\t\tif (kip->slot_used[i] == SLOT_CLEAN) {\n"
+ " \t\t\t\tif (kip->slot_used[i] = SLOT_CLEAN) {\n"
  " \t\t\t\t\tkip->slot_used[i] = SLOT_USED;\n"
  "@@ -167,11 +176,6 @@ kprobe_opcode_t *__get_insn_slot(struct kprobe_insn_cache *c)\n"
  " \tif (!kip)\n"
@@ -283,7 +283,7 @@
  " \tlist_for_each_entry_safe(kip, next, &c->pages, list) {\n"
  " \t\tint i;\n"
  "+\n"
- " \t\tif (kip->ngarbage == 0)\n"
+ " \t\tif (kip->ngarbage = 0)\n"
  " \t\t\tcontinue;\n"
  " \t\tkip->ngarbage = 0;\t/* we will collect all garbages */\n"
  "@@ -313,7 +318,7 @@ int kprobe_cache_get_kallsym(struct kprobe_insn_cache *c, unsigned int *symnum,\n"
@@ -316,7 +316,7 @@
  "+/* Return true if 'p' is an aggregator */\n"
  " static inline int kprobe_aggrprobe(struct kprobe *p)\n"
  " {\n"
- " \treturn p->pre_handler == aggr_pre_handler;\n"
+ " \treturn p->pre_handler = aggr_pre_handler;\n"
  " }\n"
  " \n"
  "-/* Return true(!0) if the kprobe is unused */\n"
@@ -863,7 +863,7 @@
  " \tstruct kprobe *orig_p;\n"
  "@@ -1697,7 +1710,7 @@ static struct kprobe *__disable_kprobe(struct kprobe *p)\n"
  " \t\t/* Try to disarm and disable this/parent probe */\n"
- " \t\tif (p == orig_p || aggr_kprobe_disabled(orig_p)) {\n"
+ " \t\tif (p = orig_p || aggr_kprobe_disabled(orig_p)) {\n"
  " \t\t\t/*\n"
  "-\t\t\t * If kprobes_all_disarmed is set, orig_p\n"
  "+\t\t\t * If 'kprobes_all_disarmed' is set, 'orig_p'\n"
@@ -995,4 +995,4 @@
  " \t */\n"
  " \tif (!kallsyms_show_value(m->file->f_cred))"
 
-1868b10e5aebada0b141a9369359849a6680d361a4305066d3a1325cdc7f390c
+469ab20219e18947981a71f5bafa1eab64f963e26e9094d76f7eb40c79fe959d

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.