login
Login
/
Register
Search
Search this site:
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
Previous message: [
thread
] [
date
] [
author
]
Next message: [thread] [
date
] [
author
]
[view in full thread]
From: Harvey Harrison
Subject:
Re: [PATCH] befs: fix sparse warning in linuxvfs.c
Date: Friday, February 15, 2008 - 2: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, 11:46 am)
Re: [PATCH] befs: fix sparse warning in linuxvfs.c
, Andrew Morton
, (Fri Feb 15, 2:19 pm)
Re: [PATCH] befs: fix sparse warning in linuxvfs.c
, Harvey Harrison
, (Fri Feb 15, 2:23 pm)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Greg Kroah-Hartman
[PATCH 20/36] Driver core: Call device_pm_add() after bus_add_device() in device_a...
Boaz Harrosh
how to use KBUILD_EXTRA_SYMBOLS
Brandeburg, Jesse
RE: [regression] e1000e broke e1000 (was: Re: [ANNOUNCE] e1000 toe1000e migration ...
Pekka Enberg
Re: [PATCH] include/linux/slab.h: new KFREE() macro.
Robin Lee Powell
NFS hang + umount -f: better behaviour requested.
git
:
Bill Lear
cpio command not found
Fredrik Kuivinen
Re: fatal: unable to create '.git/index': File exists
Johannes Schindelin
Re: [PATCH 1/3 v2] Implement the patience diff algorithm
Johannes Sixt
Re: How to pull remote branch with specified commit id?
Johannes Schindelin
Re: [PATCH 16/31] rebase -i: support --stat
linux-netdev
:
Paulius Zaleckas
Re: [RFC] Patch to option HSO driver to the kernel
Jamie Lokier
Re: POHMELFS high performance network filesystem. Transactions, failover, performa...
Timo Teräs
ip xfrm policy semantics
Ron Mercer
[net-next PATCH 2/2] qlge: Version change to v1.00.00.27
Maciej W. Rozycki
Re: [PATCH] flush_work_sync vs. flush_scheduled_work Re: [PATCH] PHYLIB: IRQ event...
openbsd-misc
:
Tomas Bodzar
Re: OpenSMTPd actual development and integration
Siju George
This is what Linus Torvalds calls openBSD crowd
Sevan / Venture37
Re: This is what Linus Torvalds calls openBSD crowd
new_guy
Longest Uptime?
Skylar Hawk
Re: asus eee 1201n - acpitz0 critical temperature 255C (5282K), shutting down
git-commits-head
:
Linux Kernel Mailing List
powerpc/fsl_msi: enable msi allocation in all banks
Linux Kernel Mailing List
[ARM] mmp: avengers lite (pxa168) board bring up
Linux Kernel Mailing List
checkpatch: warn on declaration with storage class not at the beginning
Linux Kernel Mailing List
USB: remove duplicate entry in Option driver and Pl2303 driver for Huawei modem
Linux Kernel Mailing List
[ARM] 4852/1: Add timerfd_create, timerfd_settime and timerfd_gettime syscall entr...
Colocation donated by:
Syndicate