+ profile-likely-unlikely-macros_remove-likely-profiling-int-cast.patch added to -mm tree

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

 



The patch titled
     remove likely profiling int cast
has been added to the -mm tree.  Its filename is
     profile-likely-unlikely-macros_remove-likely-profiling-int-cast.patch

See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find
out what to do about this

------------------------------------------------------
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

clocksource-add-usage-of-config_sysfs.patch
clocksource-small-cleanup-2.patch
profile-likely-unlikely-macros.patch
profile_likely-export-do_check_likely.patch
profile-likely-unlikely-macros_remove-likely-profiling-int-cast.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