Re: [PATCH 2/3] sound: patch_sigmatel.c fix shadowed variable warning

From: Takashi Iwai
Date: Fri Feb 29 2008 - 06:06:59 EST


At Thu, 28 Feb 2008 16:18:10 -0800,
Harvey Harrison wrote:
>
> Temp variable in the loop shadows the second argument (which is otherwise
> unused in this function). Change this to defcfg as it is used to hold
> the default config.
> sound/pci/hda/patch_sigmatel.c:2759:18: warning: symbol 'cfg' shadows an earlier one
> sound/pci/hda/patch_sigmatel.c:2734:26: originally declared here
>
> Signed-off-by: Harvey Harrison <harvey.harrison@xxxxxxxxx>

Thanks, applied to ALSA tree.
(Oh it's using long instead of int - although it's harmless, I'll fix
soon...)


Takashi
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/