commit | 9b980d950e5bcdce6dbc15a9c00ff960beeea28b | [log] [tgz] |
---|---|---|
author | tcharding <me@tobin.cc> | Wed Mar 15 19:48:03 2017 +1100 |
committer | Ulf Hansson <ulf.hansson@linaro.org> | Mon Apr 24 21:41:23 2017 +0200 |
tree | 258ea93d39f242f658c27dc0b4d022a1304502f8 | |
parent | ce473d5b49d6ef76d35e6d00daa8c5a8fed85943 [diff] |
mmc: core: guard dereference of optional parameter Various functions take as parameter an optional pointer. Pointer should be guarded with non-NULL check before dereferencing. Add non-NULL check before dereference of pointer. Signed-off-by: Tobin C. Harding <me@tobin.cc> Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>