[U-Boot] [PATCH 1/1] mmc: sdhci: do not compare pointer to 0

Bin Meng bmeng.cn at gmail.com
Mon Nov 20 09:36:21 UTC 2017


On Sat, Nov 11, 2017 at 4:13 AM, Heinrich Schuchardt <xypron.glpk at gmx.de> wrote:
> data is defined as struct mmc_data *data.
> So it should not be compared to 0.
>
> Problem identified with Coccinelle.
>
> Signed-off-by: Heinrich Schuchardt <xypron.glpk at gmx.de>
> ---
>  drivers/mmc/sdhci.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
>

Reviewed-by: Bin Meng <bmeng.cn at gmail.com>


More information about the U-Boot mailing list