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

From: Viresh Kumar
Date: Sun Nov 17 2013 - 23:23:33 EST


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

Acked-by: Viresh Kumar <viresh.kumar@xxxxxxxxxx>

Thanks.
--
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/