login
Login
/
Register
Search
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2007
»
July
»
22
Re: [PATCH] Remove unused variable 'start'.
view
thread
!MAILaRCHIVE_VOTE_RePLACE
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From:
Andrew Morton <akpm@...>
To: Charlie Shepherd <masterdriverz@...>
Cc: <linux-kernel@...>, <trivial@...>, <torvalds@...>
Subject:
Re: [PATCH] Remove unused variable 'start'.
Date: Sunday, July 22, 2007 - 2:04 am
On Sat, 21 Jul 2007 20:26:47 +0200 Charlie Shepherd <masterdriverz@gentoo.org> wrote:
quoted text
> diff --git a/mm/vmalloc.c b/mm/vmalloc.c > index 3cee76a..5e7daea 100644 > --- a/mm/vmalloc.c > +++ b/mm/vmalloc.c > @@ -72,7 +72,6 @@ void unmap_kernel_range(unsigned long addr, unsigned long size) > { > pgd_t *pgd; > unsigned long next; > - unsigned long start = addr; > unsigned long end = addr + size; > > BUG_ON(addr >= end); > @@ -84,7 +83,7 @@ void unmap_kernel_range(unsigned long addr, unsigned long size) > continue; > vunmap_pud_range(pgd, addr, next); > } while (pgd++, addr = next, addr != end); > - flush_tlb_kernel_range(start, end); > + flush_tlb_kernel_range(addr, end); > } > > static void unmap_vm_area(struct vm_struct *area)
err, no. addr has a different value here. There's a patch in Andi's tree which fixes the compile warning. -
unsubscribe notice
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to
majordomo@vger.kernel.org
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
http://www.tux.org/lkml/
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
Messages in current thread:
[PATCH] Remove unused variable 'start'.
, Charlie Shepherd
, (Sat Jul 21, 2:26 pm)
Re: [PATCH] Remove unused variable 'start'.
, Andrew Morton
, (Sun Jul 22, 2:04 am)
[PATCH] Remove 'isdn_* is defined but unused' warnings
, Charlie Shepherd
, (Sat Jul 21, 2:26 pm)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
KOSAKI Motohiro
[bug?] tg3: Failed to load firmware "tigon/tg3_tso.bin"
Faik Uygur
Re: Linux 2.6.21-rc1
Greg KH
[GIT PATCH] driver core patches against 2.6.24
Trent Piepho
[PATCH] [POWERPC] Improve (in|out)_beXX() asm code
git
:
linux-netdev
:
Jarek Poplawski
[PATCH] pkt_sched: Destroy gen estimators under rtnl_lock().
David Miller
[GIT]: Networking
Gerrit Renker
[PATCH 27/37] dccp: Integration of dynamic feature activation - part 2 (server side)
Jens Axboe
Re: [BUG] New Kernel Bugs
openbsd-misc
:
Colocation donated by:
Who's online
There are currently
2 users
and
795 guests
online.
Online users
zeekec
mikulasring
Syndicate