diff options
author | Andrew Goodbody <andrew.goodbody@linaro.org> | 2025-07-29 17:16:17 +0100 |
---|---|---|
committer | Eugen Hristev <eugen.hristev@linaro.org> | 2025-08-13 12:59:36 +0300 |
commit | c1168f99387b40f5e3323ff16c670427c2c8a66e (patch) | |
tree | 674bb210c1e1f952614eacce2285d2bc641b3ef4 /drivers/fpga/ACEX1K.c | |
parent | 4fb189a58eacd8bac267f2f330b41e7700bcfa12 (diff) |
mmc: gen_atmel_mci: NULL check variable before use
In mci_send_cmd the pointer 'data' is optional so guard its use with a
NULL check to prevent any attempt to dereference it when not provided.
This issue was found by Smatch.
Signed-off-by: Andrew Goodbody <andrew.goodbody@linaro.org>
Reviewed-by: Peng Fan <peng.fan@nxp.com>
Diffstat (limited to 'drivers/fpga/ACEX1K.c')
0 files changed, 0 insertions, 0 deletions