diff -urN linux-2.6.17-rc4-mm1.orig/fs/bio.c linux-2.6.17-rc4-mm1.diff/fs/bio.c --- linux-2.6.17-rc4-mm1.orig/fs/bio.c 2006-05-15 19:48:30.256802000 +0000 +++ linux-2.6.17-rc4-mm1.diff/fs/bio.c 2006-05-16 16:32:37.053935250 +0000 @@ -25,6 +25,7 @@ #include #include #include +#include #include #include /* for struct sg_iovec */ @@ -166,7 +167,7 @@ bio_init(bio); if (likely(nr_iovecs)) { - unsigned long idx; + unsigned long uninit_var(idx); bvl = bvec_alloc_bs(gfp_mask, nr_iovecs, &idx, bs); if (unlikely(!bvl)) { diff -urN linux-2.6.17-rc4-mm1.orig/fs/eventpoll.c linux-2.6.17-rc4-mm1.diff/fs/eventpoll.c --- linux-2.6.17-rc4-mm1.orig/fs/eventpoll.c 2006-05-15 19:48:30.464815000 +0000 +++ linux-2.6.17-rc4-mm1.diff/fs/eventpoll.c 2006-05-16 16:32:17.664723500 +0000 @@ -35,6 +35,7 @@ #include #include #include +#include #include #include #include @@ -497,7 +498,7 @@ */ asmlinkage long sys_epoll_create(int size) { - int error, fd; + int error, uninit_var(fd); struct eventpoll *ep; struct inode *inode; struct file *file; diff -urN linux-2.6.17-rc4-mm1.orig/fs/isofs/namei.c linux-2.6.17-rc4-mm1.diff/fs/isofs/namei.c --- linux-2.6.17-rc4-mm1.orig/fs/isofs/namei.c 2006-05-15 15:47:42.000000000 +0000 +++ linux-2.6.17-rc4-mm1.diff/fs/isofs/namei.c 2006-05-16 16:32:17.716726750 +0000 @@ -8,6 +8,7 @@ #include /* Joliet? */ #include +#include #include "isofs.h" /* @@ -159,7 +160,7 @@ struct dentry *isofs_lookup(struct inode * dir, struct dentry * dentry, struct nameidata *nd) { int found; - unsigned long block, offset; + unsigned long uninit_var(block), uninit_var(offset); struct inode *inode; struct page *page; diff -urN linux-2.6.17-rc4-mm1.orig/fs/reiserfs/item_ops.c linux-2.6.17-rc4-mm1.diff/fs/reiserfs/item_ops.c --- linux-2.6.17-rc4-mm1.orig/fs/reiserfs/item_ops.c 2006-05-15 15:47:42.000000000 +0000 +++ linux-2.6.17-rc4-mm1.diff/fs/reiserfs/item_ops.c 2006-05-16 16:33:11.300075500 +0000 @@ -4,6 +4,7 @@ #include #include +#include // this contains item handlers for old item types: sd, direct, // indirect, directory @@ -274,8 +275,8 @@ { int j; __le32 *unp; - __u32 prev = INT_MAX; - int num = 0; + __u32 prev = INT_MAX; + int uninit_var(num); unp = (__le32 *) item; diff -urN linux-2.6.17-rc4-mm1.orig/fs/xfs/xfs_alloc_btree.c linux-2.6.17-rc4-mm1.diff/fs/xfs/xfs_alloc_btree.c --- linux-2.6.17-rc4-mm1.orig/fs/xfs/xfs_alloc_btree.c 2006-05-15 15:47:42.000000000 +0000 +++ linux-2.6.17-rc4-mm1.diff/fs/xfs/xfs_alloc_btree.c 2006-05-16 16:32:17.792731500 +0000 @@ -15,6 +15,7 @@ * along with this program; if not, write the Free Software Foundation, * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ +#include #include "xfs.h" #include "xfs_fs.h" #include "xfs_types.h" @@ -608,7 +609,7 @@ xfs_alloc_key_t *kp; /* pointer to btree keys */ xfs_agblock_t nbno; /* block number of allocated block */ xfs_btree_cur_t *ncur; /* new cursor to be used at next lvl */ - xfs_alloc_key_t nkey; /* new key value, from split */ + xfs_alloc_key_t uninit_var(nkey); /* new key value, from split */ xfs_alloc_rec_t nrec; /* new record value, for caller */ int optr; /* old ptr value */ xfs_alloc_ptr_t *pp; /* pointer to btree addresses */ diff -urN linux-2.6.17-rc4-mm1.orig/fs/xfs/xfs_bmap.c linux-2.6.17-rc4-mm1.diff/fs/xfs/xfs_bmap.c --- linux-2.6.17-rc4-mm1.orig/fs/xfs/xfs_bmap.c 2006-05-15 15:47:42.000000000 +0000 +++ linux-2.6.17-rc4-mm1.diff/fs/xfs/xfs_bmap.c 2006-05-16 16:33:54.854797500 +0000 @@ -15,6 +15,7 @@ * along with this program; if not, write the Free Software Foundation, * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ +#include #include "xfs.h" #include "xfs_fs.h" #include "xfs_types.h" @@ -2453,7 +2454,7 @@ xfs_extlen_t prod = 0; /* product factor for allocators */ xfs_extlen_t ralen = 0; /* realtime allocation length */ xfs_extlen_t align; /* minimum allocation alignment */ - xfs_rtblock_t rtx; /* realtime extent number */ + xfs_rtblock_t uninit_var(rtx); xfs_rtblock_t rtb; mp = ap->ip->i_mount; diff -urN linux-2.6.17-rc4-mm1.orig/fs/xfs/xfs_bmap_btree.c linux-2.6.17-rc4-mm1.diff/fs/xfs/xfs_bmap_btree.c --- linux-2.6.17-rc4-mm1.orig/fs/xfs/xfs_bmap_btree.c 2006-05-15 15:47:42.000000000 +0000 +++ linux-2.6.17-rc4-mm1.diff/fs/xfs/xfs_bmap_btree.c 2006-05-16 16:32:17.804732250 +0000 @@ -15,6 +15,7 @@ * along with this program; if not, write the Free Software Foundation, * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ +#include #include "xfs.h" #include "xfs_fs.h" #include "xfs_types.h" @@ -750,7 +751,7 @@ int logflags; /* inode logging flags */ xfs_fsblock_t nbno; /* new block number */ struct xfs_btree_cur *ncur; /* new btree cursor */ - xfs_bmbt_key_t nkey; /* new btree key value */ + xfs_bmbt_key_t uninit_var(nkey); /* new btree key value */ xfs_bmbt_rec_t nrec; /* new record count */ int optr; /* old key/record index */ xfs_bmbt_ptr_t *pp; /* pointer to bmap block addr */ diff -urN linux-2.6.17-rc4-mm1.orig/fs/xfs/xfs_da_btree.c linux-2.6.17-rc4-mm1.diff/fs/xfs/xfs_da_btree.c --- linux-2.6.17-rc4-mm1.orig/fs/xfs/xfs_da_btree.c 2006-05-15 15:47:42.000000000 +0000 +++ linux-2.6.17-rc4-mm1.diff/fs/xfs/xfs_da_btree.c 2006-05-16 16:32:17.812732750 +0000 @@ -15,6 +15,7 @@ * along with this program; if not, write the Free Software Foundation, * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ +#include #include "xfs.h" #include "xfs_fs.h" #include "xfs_types.h" @@ -148,7 +149,7 @@ xfs_da_state_blk_t *oldblk, *newblk, *addblk; xfs_da_intnode_t *node; xfs_dabuf_t *bp; - int max, action, error, i; + int max, uninit_var(action), error, i; /* * Walk back up the tree splitting/inserting/adjusting as necessary. diff -urN linux-2.6.17-rc4-mm1.orig/fs/xfs/xfs_dir.c linux-2.6.17-rc4-mm1.diff/fs/xfs/xfs_dir.c --- linux-2.6.17-rc4-mm1.orig/fs/xfs/xfs_dir.c 2006-05-15 15:47:42.000000000 +0000 +++ linux-2.6.17-rc4-mm1.diff/fs/xfs/xfs_dir.c 2006-05-16 16:32:17.824733500 +0000 @@ -15,6 +15,7 @@ * along with this program; if not, write the Free Software Foundation, * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ +#include #include "xfs.h" #include "xfs_fs.h" #include "xfs_types.h" @@ -360,7 +361,7 @@ xfs_bmap_free_t *flist, xfs_extlen_t total) { xfs_da_args_t args; - int count, totallen, newsize, retval; + int uninit_var(count), uninit_var(totallen), newsize, retval; ASSERT((dp->i_d.di_mode & S_IFMT) == S_IFDIR); XFS_STATS_INC(xs_dir_remove); diff -urN linux-2.6.17-rc4-mm1.orig/fs/xfs/xfs_ialloc_btree.c linux-2.6.17-rc4-mm1.diff/fs/xfs/xfs_ialloc_btree.c --- linux-2.6.17-rc4-mm1.orig/fs/xfs/xfs_ialloc_btree.c 2006-05-15 15:47:42.000000000 +0000 +++ linux-2.6.17-rc4-mm1.diff/fs/xfs/xfs_ialloc_btree.c 2006-05-16 16:32:17.832734000 +0000 @@ -15,6 +15,7 @@ * along with this program; if not, write the Free Software Foundation, * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ +#include #include "xfs.h" #include "xfs_fs.h" #include "xfs_types.h" @@ -542,7 +543,7 @@ xfs_inobt_key_t *kp=NULL; /* pointer to btree keys */ xfs_agblock_t nbno; /* block number of allocated block */ xfs_btree_cur_t *ncur; /* new cursor to be used at next lvl */ - xfs_inobt_key_t nkey; /* new key value, from split */ + xfs_inobt_key_t uninit_var(nkey); /* new key value, from split */ xfs_inobt_rec_t nrec; /* new record value, for caller */ int numrecs; int optr; /* old ptr value */ diff -urN linux-2.6.17-rc4-mm1.orig/fs/xfs/xfs_inode.c linux-2.6.17-rc4-mm1.diff/fs/xfs/xfs_inode.c --- linux-2.6.17-rc4-mm1.orig/fs/xfs/xfs_inode.c 2006-05-15 15:47:42.000000000 +0000 +++ linux-2.6.17-rc4-mm1.diff/fs/xfs/xfs_inode.c 2006-05-16 16:32:17.852735250 +0000 @@ -1957,7 +1957,7 @@ xfs_buf_t *last_ibp; xfs_dinode_t *last_dip; short bucket_index; - int offset, last_offset; + int offset, uninit_var(last_offset); int error; int agi_ok; diff -urN linux-2.6.17-rc4-mm1.orig/ipc/msg.c linux-2.6.17-rc4-mm1.diff/ipc/msg.c --- linux-2.6.17-rc4-mm1.orig/ipc/msg.c 2006-05-15 15:47:42.000000000 +0000 +++ linux-2.6.17-rc4-mm1.diff/ipc/msg.c 2006-05-16 16:32:17.876736750 +0000 @@ -32,6 +32,7 @@ #include #include #include +#include #include #include @@ -335,7 +336,7 @@ { int err, version; struct msg_queue *msq; - struct msq_setbuf setbuf; + struct msq_setbuf uninit_var(setbuf); struct kern_ipc_perm *ipcp; if (msqid < 0 || cmd < 0) diff -urN linux-2.6.17-rc4-mm1.orig/ipc/sem.c linux-2.6.17-rc4-mm1.diff/ipc/sem.c --- linux-2.6.17-rc4-mm1.orig/ipc/sem.c 2006-05-15 15:47:42.000000000 +0000 +++ linux-2.6.17-rc4-mm1.diff/ipc/sem.c 2006-05-16 16:32:17.900738250 +0000 @@ -79,6 +79,7 @@ #include #include #include +#include #include #include "util.h" @@ -807,7 +808,7 @@ { struct sem_array *sma; int err; - struct sem_setbuf setbuf; + struct sem_setbuf uninit_var(setbuf); struct kern_ipc_perm *ipcp; if(cmd == IPC_SET) {