login
Login
/
Register
Search
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2008
»
February
»
15
Re: [PATCH] befs: fix sparse warning in linuxvfs.c
view
thread
!MAILaRCHIVE_VOTE_RePLACE
Previous message: [
thread
] [
date
] [
author
]
Next message: [thread] [
date
] [
author
]
[view in full thread]
From:
Harvey Harrison <harvey.harrison@...>
To: Andrew Morton <akpm@...>
Cc: <rathamahata@...>, <linux-kernel@...>
Subject:
Re: [PATCH] befs: fix sparse warning in linuxvfs.c
Date: Friday, February 15, 2008 - 5:23 pm
On Fri, 2008-02-15 at 13:19 -0800, Andrew Morton wrote:
quoted text
> On Fri, 15 Feb 2008 10:46:04 -0800 > Harvey Harrison <harvey.harrison@gmail.com> wrote: > > > Use link as the variable name to avoid shadowing the arg. > > > > fs/befs/linuxvfs.c:492:8: warning: symbol 'p' shadows an earlier one > > fs/befs/linuxvfs.c:488:77: originally declared here > > > > Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com> > > --- > > This should be checked in case there is a latent bug here. Should it > > be the arg *p getting freed, or the local var *p that was shadowing > > it? > > > > The code looks OK - the name was allocated in befs_follow_link() and was > saved away with nd_set_link().
OK, that's as far as I got as well, but don't know the area well enough to be sure, hence the caveat. Harvey --
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] befs: fix sparse warning in linuxvfs.c
, Harvey Harrison
, (Fri Feb 15, 2:46 pm)
Re: [PATCH] befs: fix sparse warning in linuxvfs.c
, Andrew Morton
, (Fri Feb 15, 5:19 pm)
Re: [PATCH] befs: fix sparse warning in linuxvfs.c
, Harvey Harrison
, (Fri Feb 15, 5:23 pm)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Al Boldi
Re: [ck] Re: [ANNOUNCE] RSDL completely fair starvation free interactive cpu sched...
Ingo Molnar
Re: [patch] sched_clock(): cleanups
Greg KH
[GIT PATCH] driver core patches against 2.6.24
Amit K. Arora
[RFC] Heads up on sys_fallocate()
git
:
linux-netdev
:
Jarek Poplawski
[PATCH] pkt_sched: Destroy gen estimators under rtnl_lock().
David Miller
[GIT]: Networking
Gerrit Renker
[PATCH 18/37] dccp: Support for Mandatory options
Denys Vlasenko
[PATCH 1/2] bnx2: factor out gzip unpacker
openbsd-misc
:
Colocation donated by:
Who's online
There are currently
1 user
and
955 guests
online.
Online users
zeekec
Syndicate