Re: [PATCH] mmc: sdhci-spear: fix possible null dereference

2013-11-17 Thread Viresh Kumar
On Sun, Nov 17, 2013 at 11:50 PM, Geyslan G. Bem wrote: > Put the 'pdata->card_int_gpio' assignment in inner scope, avoiding > explicit null dereference. > > Signed-off-by: Geyslan G. Bem > --- > drivers/mmc/host/sdhci-spear.c | 3 +-- > 1 file changed, 1 insertion(+), 2 deletions(-) Acked-by:

[PATCH] mmc: sdhci-spear: fix possible null dereference

2013-11-17 Thread Geyslan G. Bem
Put the 'pdata->card_int_gpio' assignment in inner scope, avoiding explicit null dereference. Signed-off-by: Geyslan G. Bem --- drivers/mmc/host/sdhci-spear.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/mmc/host/sdhci-spear.c b/drivers/mmc/host/sdhci-spear.c ind