- profile-likely-unlikely-macros_remove-likely-profiling-int-cast.patch removed from -mm tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The patch titled
     remove likely profiling int cast
has been removed from the -mm tree.  Its filename was
     profile-likely-unlikely-macros_remove-likely-profiling-int-cast.patch

This patch was dropped because it was folded into profile-likely-unlikely-macros.patch

------------------------------------------------------
Subject: remove likely profiling int cast
From: Daniel Walker <dwalker@xxxxxxxxxx>

Fix some wrong casting from unsigned int to int. Reported by Andreas Mohr.

Signed-off-by: Daniel Walker <dwalker@xxxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxx>
---

 lib/likely_prof.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff -puN lib/likely_prof.c~profile-likely-unlikely-macros_remove-likely-profiling-int-cast lib/likely_prof.c
--- a/lib/likely_prof.c~profile-likely-unlikely-macros_remove-likely-profiling-int-cast
+++ a/lib/likely_prof.c
@@ -86,8 +86,8 @@ static void *lp_seq_next(struct seq_file
 static int lp_seq_show(struct seq_file *out, void *p)
 {
 	struct likeliness *entry = p;
-	int true = entry->count[1];
-	int false = entry->count[0];
+	unsigned int true = entry->count[1];
+	unsigned int false = entry->count[0];
 
 	if (!entry->type) {
 		if (true > false)
_

Patches currently in -mm which might be from dwalker@xxxxxxxxxx are

origin.patch
slim-make-and-config-stuff.patch
profile-likely-unlikely-macros.patch
profile-likely-unlikely-macros_remove-likely-profiling-int-cast.patch
profile-likely-unlikely-macros-x86_64-fix.patch

-
To unsubscribe from this list: send the line "unsubscribe mm-commits" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Kernel Newbies FAQ]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Photo]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux