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
:
Jan Engelhardt
intel iommu (Re: -mm merge plans for 2.6.23)
Greg KH
[GIT PATCH] driver core patches against 2.6.24
Jeff Garzik
Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3
Chuck Ebbert
Why do so many machines need "noapic"?
git
:
linux-netdev
:
David Miller
Re: [GIT]: Networking
Gerrit Renker
[PATCH 34/37] dccp: Auto-load (when supported) CCID plugins for negotiation
Herbert Xu
Re: [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock().
David Miller
Re: [PATCH 20/31]: pkt_sched: Perform bulk of qdisc destruction in RCU.
openbsd-misc
:
Colocation donated by:
Who's online
There are currently
3 users
and
591 guests
online.
Online users
be15ulib
cocinagourmet
weddingspeech
Syndicate