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-06-04 11:50:39 -06:00
2024-05-20 13:35:03 -06:00
2021-10-29 18:22:32 +09:00
2024-07-22 10:53:05 -06:00
2024-05-20 13:35:03 -06:00
2024-05-20 13:35:03 -06:00
2024-05-20 13:35:03 -06:00
2024-05-20 13:35:03 -06:00
2024-08-19 16:09:06 +09:00
2025-10-10 11:06:00 +08:00
2024-07-22 10:53:05 -06:00
2025-02-03 16:00:42 -06:00
2025-07-24 12:35:38 +08:00
2024-05-20 13:35:03 -06:00
2025-03-13 15:15:50 -03:00
2024-07-22 10:53:05 -06:00
2024-07-22 10:53:05 -06:00
2024-05-20 13:35:03 -06:00
2024-08-19 16:09:06 +09:00
2025-08-13 12:59:36 +03:00
2024-08-19 16:09:06 +09:00
2025-09-01 10:33:09 +08:00
2024-05-20 13:35:03 -06:00
2025-07-17 11:42:46 -06:00
2025-07-17 11:42:46 -06:00
2024-05-20 13:35:03 -06:00
2020-12-13 16:51:09 -07:00
2025-04-11 11:51:04 +08:00
2024-05-20 13:35:03 -06:00
2024-10-11 11:44:48 -06:00
2024-10-11 11:44:48 -06:00
2024-05-20 13:35:03 -06:00
2025-07-24 12:43:31 +08:00
2024-05-20 13:35:03 -06:00
2025-04-23 10:41:11 +08:00
2025-10-10 10:46:40 +08:00
2025-03-17 13:38:17 +00:00
2025-01-30 14:35:14 -06:00
2024-05-20 13:35:03 -06:00
2024-05-20 13:35:03 -06:00
2024-05-20 13:35:03 -06:00
2024-08-19 16:09:06 +09:00
2024-05-20 13:35:03 -06:00
2025-10-13 16:13:21 +02:00
2023-11-16 18:59:58 -05:00
2025-10-08 13:54:59 -06:00
2025-10-28 10:32:59 -06:00
2024-05-20 13:35:03 -06:00
2024-01-29 22:35:02 -05:00
2024-07-22 10:53:05 -06:00
2024-12-11 08:36:24 +01:00
2025-04-23 22:12:05 +08:00
2025-08-30 23:33:32 +08:00
2025-07-02 12:44:44 +08:00
2025-07-24 12:35:35 +08:00
2024-05-20 13:35:03 -06:00
2024-05-20 13:35:03 -06:00
2025-10-10 10:45:56 +08:00
2024-09-05 16:18:38 -06:00
2024-09-05 16:18:38 -06:00
2025-04-24 10:44:52 -06:00
2024-05-20 13:35:03 -06:00
2024-03-02 14:29:36 -05:00
2024-12-18 13:19:15 +08:00
2025-06-02 17:26:16 -06:00
2025-09-30 14:29:55 +08:00
2024-05-20 13:35:03 -06:00
2025-08-25 16:47:39 +02:00
2025-07-27 22:57:35 +01:00
2025-03-27 00:26:35 +00:00
2024-05-20 13:35:03 -06:00
2024-07-22 10:53:05 -06:00
2024-10-11 11:44:48 -06:00
2024-12-11 08:36:24 +01:00
2024-10-11 11:44:48 -06:00
2024-05-20 13:35:03 -06:00
2025-10-09 09:07:03 +02:00