From: Alexandre Belloni Date: Tue, 6 May 2014 15:43:26 +0000 (+0200) Subject: mmc: atmel: don't test host->data X-Git-Tag: omap-for-v3.16/fixes-against-rc1~65^2~56 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6e9e4062823dd3553eef6dc903223ffa07432e3c;p=pandora-kernel.git 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 Acked-by: Ludovic Desroches Signed-off-by: Ulf Hansson Signed-off-by: Chris Ball --- Reading git-diff-tree failed