[PATCH] fs/isofs/namei.c: Remove uninitialized local vars warning, was: Re: Arr! Linux 2.6.23-rc7

Previous thread: Mask Issue? by Chris Holvenstot on Wednesday, September 19, 2007 - 6:57 pm. (5 messages)

Next thread: Out of socket memory by Ilya Eremin on Wednesday, September 19, 2007 - 7:26 pm. (1 message)
To: Linux Kernel Mailing List <linux-kernel@...>
Date: Wednesday, September 19, 2007 - 7:17 pm

Ahoy me laddies (and beauties),
time for the traditional "Talk Like a Pirate Day" kernel release!

Now, last year we had a full release (2.6.18 was immortalized on
TLAP-2006), but this year I'm chickening out, and we're just doing what is
hopefully going to be the last -rc release for the 2.6.23 series.

I'm not including the diffstat, because it got blown up by the
resurrection of the sk98lin driver - because skge that is supposed to
supplant it doesn't handle some of the hardware. Oh well.

Apart from that, we had some mips, powerpc and xtense updates, and various
driver tweaks. Things like the USB autosuspend revert should make people
happier, and some more clockevents fixes should help suspend/restore on
i386.

But the shortlog probably tells it best.

Linus

---
Adit Ranadive (1):
[PKTGEN]: srcmac fix

Adrian Bunk (1):
fix SERIAL_CORE_CONSOLE driver dependencies

Al Viro (2):
[VLAN]: Fix net_device leak.
[SUNSAB]: Fix several bugs.

Alan Cox (3):
[patch 1/2] Xtensa: enable arbitary tty speed setting ioctls
USB: oti6858: Remove broken ioctl code in -mm tree and also the broken fixes
[MIPS] tty: add the new ioctls and definitions.

Alan Stern (3):
USB: prevent Thomson card reader from autosuspending
USB: prevent Genesys USB-IDE from autosuspending
USB: disable autosuspend by default for non-hubs

Alexey Dobriyan (3):
Fix select on /proc files without ->poll
Fix UTS corruption during clone(CLONE_NEWUTS)
nfs: fix oops re sysctls and V4 support

Andi Kleen (3):
x86_64: Add missing mask operation to vdso
x86_64: Prevent doing anything from cache_remove_dev() when info setup failed.
i386: Fix leak of ../kernel from top level

Andre Haupt (1):
fix typo in Documentation/SubmittingPatches

Andreas Gruenbacher (1):
afs: mntput called before dput

Andrew Morton (3):
revert "highmem: catch illegal nesting"
Fix "Fix DAC960 driver o...

To: Andrew Morton <akpm@...>
Cc: Linux Kernel Mailing List <linux-kernel@...>, Linus Torvalds <torvalds@...>
Date: Thursday, September 20, 2007 - 1:05 am

Hi Andrew,

since there's no iso9660 maintainer i send this one to you :).
---
From: Borislav Petkov <bbpetkov@yahoo.de>

shut up those:
fs/isofs/namei.c: In function 'isofs_lookup':
fs/isofs/namei.c:161: warning: 'offset' may be used uninitialized in this function
fs/isofs/namei.c:161: warning: 'block' may be used uninitialized in this function

By the way, they get overwritten at the end of isofs_find_entry().

Signed-off-by: Borislav Petkov <bbpetkov@yahoo.de>

fs/isofs/namei.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)

--
--- 23-rc7/fs/isofs/namei.c.orig 2007-09-20 06:34:19.000000000 +0200
+++ 23-rc7/fs/isofs/namei.c 2007-09-20 06:35:23.000000000 +0200
@@ -158,7 +158,8 @@ isofs_find_entry(struct inode *dir, stru
struct dentry *isofs_lookup(struct inode *dir, struct dentry *dentry, struct nameidata *nd)
{
int found;
- unsigned long block, offset;
+ unsigned long uninitialized_var(block);
+ unsigned long uninitialized_var(offset);
struct inode *inode;
struct page *page;

--
Regards/Gruß,
Boris.
-

Previous thread: Mask Issue? by Chris Holvenstot on Wednesday, September 19, 2007 - 6:57 pm. (5 messages)

Next thread: Out of socket memory by Ilya Eremin on Wednesday, September 19, 2007 - 7:26 pm. (1 message)