git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b677b88
)
mmc: atmel: don't test host->data
author
Alexandre Belloni
<alexandre.belloni@free-electrons.com>
Tue, 6 May 2014 15:43:26 +0000
(17:43 +0200)
committer
Chris Ball
<chris@printf.net>
Mon, 12 May 2014 22:08:23 +0000
(18:08 -0400)
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>
drivers/mmc/host/atmel-mci.c
patch
|
blob
|
history
diff --cc
drivers/mmc/host/atmel-mci.c
Simple merge