diff options
| author | Dan Carpenter <[email protected]> | 2014-11-15 21:56:41 +0300 |
|---|---|---|
| committer | Ulf Hansson <[email protected]> | 2014-11-26 14:31:01 +0100 |
| commit | 9e2a0c96efab30c85367176d1fc2c04906676458 (patch) | |
| tree | df21a221d9b5a7b42cc3142d33ae0e177bc0c337 /scripts/objdiff | |
| parent | ecb89f2f5f3e771108a5595b0b4d1a1a974cc926 (diff) | |
mmc: toshsd: move dereference below check for NULL
We check for NULL pointers after dereferencing so it's too late. Oddly
enough, Smatch misses this code but complains about the caller passing
NULL pointers to this function:
drivers/mmc/host/toshsd.c:389 toshsd_irq()
error: we previously assumed 'host->cmd' could be null (see line 349)
Signed-off-by: Dan Carpenter <[email protected]>
Signed-off-by: Ulf Hansson <[email protected]>
Diffstat (limited to 'scripts/objdiff')
0 files changed, 0 insertions, 0 deletions