From: Daniel Walker Fix some wrong casting from unsigned int to int. Reported by Andreas Mohr. Signed-off-by: Daniel Walker Signed-off-by: Andrew Morton --- 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) _