Andrew Goodbody 6e382d8fc5 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 <andrew.goodbody@linaro.org>
2025-10-28 10:32:59 -06:00
..
2025-09-16 13:44:07 -06:00
2025-10-10 10:46:40 +08:00
2024-01-29 22:35:02 -05:00
2025-06-02 17:26:16 -06:00
2024-12-11 08:36:24 +01:00