mm-commits.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [folded-merged] kcov-collect-coverage-from-interrupts-v4.patch removed from -mm tree
@ 2020-04-07  1:52 akpm
  0 siblings, 0 replies; only message in thread
From: akpm @ 2020-04-07  1:52 UTC (permalink / raw)
  To: andreyknvl, andreyknvl, elver, glider, gregkh, mm-commits, stern


The patch titled
     Subject: kcov-collect-coverage-from-interrupts-v4
has been removed from the -mm tree.  Its filename was
     kcov-collect-coverage-from-interrupts-v4.patch

This patch was dropped because it was folded into kcov-collect-coverage-from-interrupts.patch

------------------------------------------------------
From: Andrey Konovalov <andreyknvl@google.com>
Subject: kcov-collect-coverage-from-interrupts-v4

turn current->kcov_softirq into unsigned int to fix objtool warning

Link: http://lkml.kernel.org/r/841c778aa3849c5cb8c3761f56b87ce653a88671.1585233617.git.andreyknvl@google.com
Signed-off-by: Andrey Konovalov <andreyknvl@google.com>
Cc: Alan Stern <stern@rowland.harvard.edu>
Cc: Alexander Potapenko <glider@google.com>
Cc: Andrey Konovalov <andreyknvl@gmail.com>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: Marco Elver <elver@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---

 include/linux/sched.h |    2 +-
 kernel/kcov.c         |    4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

--- a/include/linux/sched.h~kcov-collect-coverage-from-interrupts-v4
+++ a/include/linux/sched.h
@@ -1240,7 +1240,7 @@ struct task_struct {
 	int				kcov_sequence;
 
 	/* Collect coverage from softirq context: */
-	bool				kcov_softirq;
+	unsigned int			kcov_softirq;
 #endif
 
 #ifdef CONFIG_MEMCG
--- a/kernel/kcov.c~kcov-collect-coverage-from-interrupts-v4
+++ a/kernel/kcov.c
@@ -886,7 +886,7 @@ void kcov_remote_start(u64 handle)
 
 	if (in_serving_softirq()) {
 		kcov_remote_softirq_start(t);
-		t->kcov_softirq = true;
+		t->kcov_softirq = 1;
 	}
 	kcov_start(t, kcov, size, area, mode, sequence);
 
@@ -984,7 +984,7 @@ void kcov_remote_stop(void)
 
 	kcov_stop(t);
 	if (in_serving_softirq()) {
-		t->kcov_softirq = false;
+		t->kcov_softirq = 0;
 		kcov_remote_softirq_stop(t);
 	}
 
_

Patches currently in -mm which might be from andreyknvl@google.com are

kcov-cleanup-debug-messages.patch
kcov-fix-potential-use-after-free-in-kcov_remote_start.patch
kcov-move-t-kcov-assignments-into-kcov_start-stop.patch
kcov-move-t-kcov_sequence-assignment.patch
kcov-use-t-kcov_mode-as-enabled-indicator.patch
kcov-collect-coverage-from-interrupts.patch
usb-core-kcov-collect-coverage-from-usb-complete-callback.patch

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-04-07  1:52 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-07  1:52 [folded-merged] kcov-collect-coverage-from-interrupts-v4.patch removed from -mm tree akpm

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).