diff options
| author | Andrew Goodbody <[email protected]> | 2025-07-31 12:11:47 +0100 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2025-10-28 10:32:59 -0600 |
| commit | 6e382d8fc5ee6876ade500222cb0ade9cdc597ed (patch) | |
| tree | bc235402fb86b509fd4a474585b67aa6019d8f02 /include/linux | |
| parent | e8fd262fb3e2c2516610fac6389764e0dbfd98d7 (diff) | |
mmc: owl_mmc: Do not dereference data before NULL check
In owl_mmc_prepare_data there is a NULL check for the pointer data but
it happens after data has already been dereferenced. Refactor the code
so that the NULL check happens before any code dereferences data.
This issue was found by Smatch.
Signed-off-by: Andrew Goodbody <[email protected]>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions
