commit | 6e9e4062823dd3553eef6dc903223ffa07432e3c | [log] [tgz] |
---|---|---|
author | Alexandre Belloni <alexandre.belloni@free-electrons.com> | Tue May 06 17:43:26 2014 +0200 |
committer | Chris Ball <chris@printf.net> | Mon May 12 18:08:23 2014 -0400 |
tree | d8d5dc0087115d727805de66cdf6343e14d7fd49 | |
parent | b677b8850322b210a81b72ffcc7de85a3df395c5 [diff] |
mmc: atmel: don't test host->data Found using smatch: drivers/mmc/host/atmel-mci.c:827 atmci_pdc_complete() warn: variable dereferenced before check 'host->data' (see line 807) Stop testing host->data as it is not NULL at that point. Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com> Acked-by: Ludovic Desroches <ludovic.desroches@atmel.com> Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org> Signed-off-by: Chris Ball <chris@printf.net>