summaryrefslogtreecommitdiffstats
path: root/drivers/mmc/host/mxcmmc.c
diff options
context:
space:
mode:
authorAlexandre Belloni <alexandre.belloni@free-electrons.com>2014-05-06 17:43:26 +0200
committerChris Ball <chris@printf.net>2014-05-12 18:08:23 -0400
commit6e9e4062823dd3553eef6dc903223ffa07432e3c (patch)
treed8d5dc0087115d727805de66cdf6343e14d7fd49 /drivers/mmc/host/mxcmmc.c
parentb677b8850322b210a81b72ffcc7de85a3df395c5 (diff)
downloadop-kernel-dev-6e9e4062823dd3553eef6dc903223ffa07432e3c.zip
op-kernel-dev-6e9e4062823dd3553eef6dc903223ffa07432e3c.tar.gz
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>
Diffstat (limited to 'drivers/mmc/host/mxcmmc.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud