Andrew Goodbody
6c98e6014b
power: regulator: Fix incorrect use of binary and
...
In regulator_list_autoset there is a test for ret being non-zero and
error being zero but it uses the binary '&' instead of the logical '&&'
which could well lead to unexpected results. Correct this to use the
logical '&&' instead.
This issue found by Smatch.
Signed-off-by: Andrew Goodbody <andrew.goodbody@linaro.org>
Reviewed-by: Peng Fan <peng.fan@nxp.com>
Signed-off-by: Peng Fan <peng.fan@nxp.com>
2025-09-25 00:04:02 +08:00
..
2025-06-14 09:09:39 -06:00
2024-05-20 13:35:03 -06:00
2024-05-20 13:35:03 -06:00
2025-04-28 12:45:43 -06:00
2025-07-27 22:57:35 +01:00
2023-04-28 01:29:40 +01:00
2024-05-20 13:35:03 -06:00
2025-04-12 09:44:02 +03:00
2024-05-20 13:35:03 -06:00
2024-05-20 13:35:03 -06:00
2024-09-05 21:06:17 -06:00
2024-05-20 13:35:03 -06:00
2025-06-06 17:21:54 +08:00
2025-08-29 16:45:19 -06:00
2025-08-29 16:45:19 -06:00
2025-05-08 08:30:53 +03:00
2025-05-08 08:30:53 +03:00
2023-11-03 12:37:15 -04:00
2024-05-20 13:35:03 -06:00
2024-05-20 13:35:03 -06:00
2025-08-29 16:45:19 -06:00
2024-05-20 13:35:03 -06:00
2025-09-01 10:33:05 +08:00
2025-09-20 17:47:08 -03:00
2024-05-20 13:35:03 -06:00
2025-06-02 18:20:00 +02:00
2025-04-10 15:43:09 +02:00
2025-09-20 17:46:15 -03:00
2025-09-20 17:46:15 -03:00
2025-09-25 00:04:02 +08:00
2025-06-06 17:21:54 +08:00
2025-08-29 16:45:19 -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
2025-05-03 16:55:32 -03:00
2024-05-20 13:35:03 -06:00
2024-05-20 13:35:03 -06:00
2024-09-05 21:06:17 -06:00
2024-05-20 13:35:03 -06:00
2024-05-20 13:35:03 -06:00
2025-01-14 07:44:42 +09:00
2024-05-20 13:35:03 -06:00
2023-11-03 12:37:15 -04:00
2025-08-29 16:45:19 -06:00
2023-11-03 12:37:15 -04:00