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

Jaehoon Chung jh80.chung at samsung.com
Mon Nov 27 07:38:13 UTC 2017


On 11/20/2017 06:36 PM, Bin Meng wrote:
> 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>

Applied to u-boot-mmc. Sorry for late.

Best Regards,
Jaehoon Chung

> 
> 
> 



More information about the U-Boot mailing list