The patch titled pcmcia/fmvj18x_cs: fix 'shadow variable' warning has been added to the -mm tree. Its filename is pcmcia-fmvj18x_cs-fix-shadow-variable-warning.patch *** Remember to use Documentation/SubmitChecklist when testing your code *** See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find out what to do about this ------------------------------------------------------ Subject: pcmcia/fmvj18x_cs: fix 'shadow variable' warning From: Richard Knutsson <ricknu-0@xxxxxxxxxxxxxx> Fixing: CHECK drivers/net/pcmcia/fmvj18x_cs.c drivers/net/pcmcia/fmvj18x_cs.c:1205:6: warning: symbol 'i' shadows an earlier one drivers/net/pcmcia/fmvj18x_cs.c:1179:9: originally declared here Signed-off-by: Richard Knutsson <ricknu-0@xxxxxxxxxxxxxx> Acked-by: Alan Cox <alan@xxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- drivers/net/pcmcia/fmvj18x_cs.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff -puN drivers/net/pcmcia/fmvj18x_cs.c~pcmcia-fmvj18x_cs-fix-shadow-variable-warning drivers/net/pcmcia/fmvj18x_cs.c --- a/drivers/net/pcmcia/fmvj18x_cs.c~pcmcia-fmvj18x_cs-fix-shadow-variable-warning +++ a/drivers/net/pcmcia/fmvj18x_cs.c @@ -1198,8 +1198,7 @@ static void set_rx_mode(struct net_devic outb(1, ioaddr + RX_MODE); /* Ignore almost all multicasts. */ } else { struct dev_mc_list *mclist; - int i; - + memset(mc_filter, 0, sizeof(mc_filter)); for (i = 0, mclist = dev->mc_list; mclist && i < dev->mc_count; i++, mclist = mclist->next) { _ Patches currently in -mm which might be from ricknu-0@xxxxxxxxxxxxxx are origin.patch kernel-compliment-va_copy-with-va_end.patch git-dvb.patch pcmcia-3c574_cs-fix-dubious-bitfield-warning.patch pcmcia-3c574_cs-fix-shadow-variable-warning.patch pcmcia-axnet_cs-make-functions-static.patch pcmcia-axnet_cs-make-use-of-max-instead-of-handcrafted-one.patch pcmcia-fmvj18x_cs-fix-shadow-variable-warning.patch pcmcia-pcnet_cs-fix-shadow-variable-warning.patch mm-mmap-remove-sparse-warning-null-as-0.patch dio-array_size-cleanup-update.patch dio-array_size-cleanup-update-checkpatch-fixes.patch reiserfs-complement-va_start-with-va_end.patch kernel-paramsc-remove-sparse-warning-different-signedness.patch - To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html