diff options
| author | Andrew Goodbody <[email protected]> | 2025-07-29 17:16:17 +0100 |
|---|---|---|
| committer | Eugen Hristev <[email protected]> | 2025-08-13 12:59:36 +0300 |
| commit | c1168f99387b40f5e3323ff16c670427c2c8a66e (patch) | |
| tree | 674bb210c1e1f952614eacce2285d2bc641b3ef4 /scripts/basic | |
| 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 <[email protected]>
Reviewed-by: Peng Fan <[email protected]>
Diffstat (limited to 'scripts/basic')
0 files changed, 0 insertions, 0 deletions
