Tero Kristo
b070f9ca78
ARM: omap2+: hwmod: fix potential NULL pointer access
...
omap_hwmod_get_pwrdm() may access a NULL clk_hw pointer in some failure
cases. Add a check for the case and bail out gracely if this happens.
Reported-by: Dan Murphy <dmurphy@ti.com>
Signed-off-by: Tero Kristo <t-kristo@ti.com>
Cc: stable@vger.kernel.org # v5.10+
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
2021-07-27 11:10:37 +03:00
..
2015-07-25 15:28:16 +01:00
2020-03-25 11:50:48 +01:00
2019-06-19 17:09:55 +02:00
2020-08-19 10:19:13 +03:00
2021-03-24 12:23:58 +02:00
2021-05-18 09:44:42 +03:00
2019-06-19 17:09:55 +02:00
2019-06-19 17:09:55 +02:00
2020-11-19 11:44:46 +02:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2019-06-19 17:09:55 +02:00
2019-06-19 17:09:55 +02:00
2021-01-26 13:43:17 +02:00
2019-06-19 17:09:55 +02:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2020-01-23 09:12:54 -08:00
2020-08-19 10:05:39 +03:00
2019-12-12 09:42:34 -08:00
2020-05-05 11:16:06 -07:00
2020-05-05 11:16:06 -07:00
2020-08-19 10:05:39 +03:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2020-08-19 10:19:13 +03:00
2019-06-19 17:09:55 +02:00
2020-08-19 10:19:13 +03:00
2020-08-19 10:19:13 +03:00
2019-06-19 17:09:55 +02:00
2020-08-19 10:19:13 +03:00
2019-06-19 17:09:55 +02:00
2019-06-19 17:09:55 +02:00
2019-06-19 17:09:55 +02:00
2019-06-19 17:09:55 +02:00
2019-06-19 17:09:55 +02:00
2020-08-19 10:19:13 +03:00
2020-08-19 10:19:13 +03:00
2019-06-19 17:09:55 +02:00
2020-08-19 10:19:13 +03:00
2021-05-21 12:27:59 +03:00
2020-08-19 10:19:13 +03:00
2019-06-19 17:09:55 +02:00
2020-08-19 10:19:13 +03:00
2019-06-19 17:09:55 +02:00
2019-06-19 17:09:55 +02:00
2020-08-19 10:19:13 +03:00
2021-05-21 12:27:59 +03:00
2019-06-19 17:09:55 +02:00
2017-11-02 11:10:55 +01:00
2019-06-19 17:09:55 +02:00
2021-06-11 10:41:35 +03:00
2021-05-21 12:28:47 +03:00
2021-05-21 12:28:47 +03:00
2020-03-09 10:24:01 +01:00
2021-01-15 12:48:07 +02:00
2019-06-19 17:09:55 +02:00
2019-08-12 13:17:39 -03:00
2020-11-19 11:45:42 +02:00
2019-06-19 17:09:07 +02:00
2020-08-19 10:19:13 +03:00
2019-05-30 11:26:35 -07:00
2019-06-19 17:09:55 +02:00
2019-06-05 17:37:07 +02:00
2019-06-05 17:37:07 +02:00
2019-06-05 17:37:07 +02:00
2019-06-05 17:37:07 +02:00
2020-08-23 17:36:59 -05:00
2019-06-19 17:09:55 +02:00
2021-03-12 10:11:24 +02:00
2015-07-16 00:06:05 -07:00
2021-03-10 14:19:20 +02:00
2020-08-19 10:19:13 +03:00
2020-08-19 10:19:13 +03:00
2020-08-19 10:19:13 +03:00
2019-05-30 11:26:32 -07:00
2021-03-12 10:11:24 +02:00
2019-06-19 17:09:55 +02:00
2020-07-13 12:18:26 +02:00
2019-06-05 17:37:07 +02:00
2019-06-19 17:09:55 +02:00
2019-06-19 17:09:55 +02:00
2019-08-13 03:40:10 -07:00
2019-06-19 17:09:55 +02:00
2019-06-19 17:09:55 +02:00
2019-05-30 11:26:35 -07:00
2019-05-30 11:26:35 -07:00
2019-06-19 17:09:55 +02:00
2019-06-19 17:09:55 +02:00
2021-01-15 12:48:43 +02:00
2019-12-30 09:47:21 -08:00
2019-06-19 17:09:55 +02:00
2020-05-19 09:38:04 -07:00
2020-05-19 09:38:04 -07:00
2020-06-29 10:22:47 -07:00
2020-08-19 10:05:43 +03:00
2020-05-19 09:38:04 -07:00
2020-05-19 09:38:04 -07:00
2019-06-19 17:09:55 +02:00
2020-05-19 09:38:04 -07:00
2019-06-19 17:09:55 +02:00
2019-12-17 08:17:47 -08:00
2021-07-27 11:10:37 +03:00
2021-03-12 10:11:24 +02:00
2020-08-19 10:19:13 +03:00
2020-08-19 10:19:13 +03:00
2021-03-31 09:04:22 +03:00
2019-07-19 17:05:08 -07:00
2019-06-19 17:09:55 +02:00
2020-10-24 10:33:08 -07:00
2020-08-07 11:33:26 -07:00
2021-03-17 15:15:52 +02:00
2021-03-17 15:15:52 +02:00
2020-04-10 15:36:22 -07:00
2020-05-12 08:35:56 -07:00
2019-06-19 17:09:55 +02:00
2019-06-19 17:09:55 +02:00
2017-11-02 11:10:55 +01:00
2020-08-19 10:19:13 +03:00
2020-08-19 10:19:13 +03:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2021-04-26 12:11:52 -07:00
2019-12-30 09:46:34 -08:00
2021-06-11 10:43:08 +03:00
2020-10-03 13:15:05 -07:00
2019-10-16 07:51:16 -07:00
2018-07-09 23:01:34 -07:00
2021-03-24 13:27:36 +02:00
2020-09-24 14:26:20 +03:00
2020-09-24 14:26:20 +03:00
2021-03-17 15:15:45 +02:00
2019-06-19 17:09:55 +02:00
2021-03-24 14:11:43 +02:00
2019-06-19 17:09:55 +02:00
2019-06-19 17:09:55 +02:00
2019-06-19 17:09:55 +02:00
2019-06-19 17:09:55 +02:00
2019-06-19 17:09:55 +02:00
2019-06-19 17:09:55 +02:00
2020-08-19 10:19:13 +03:00
2019-06-19 17:09:55 +02:00
2019-06-19 17:09:55 +02:00
2019-06-19 17:09:55 +02:00
2020-08-19 10:19:13 +03:00
2019-06-19 17:09:55 +02:00
2020-08-19 10:19:13 +03:00
2019-06-19 17:09:55 +02:00
2019-06-19 17:09:55 +02:00
2020-08-19 10:19:13 +03:00
2019-06-19 17:09:55 +02:00
2019-06-19 17:09:55 +02:00
2019-06-19 17:09:55 +02:00
2019-06-19 17:09:55 +02:00
2019-06-19 17:09:55 +02:00
2019-06-19 17:09:55 +02:00
2019-06-28 08:37:04 +08:00
2019-06-19 17:09:55 +02:00
2020-08-19 10:05:33 +03:00
2020-08-19 10:05:33 +03:00
2020-08-19 10:05:33 +03:00
2019-06-19 17:09:55 +02:00
2019-10-21 10:36:27 -07:00
2019-06-19 17:09:55 +02:00
2020-08-19 10:05:33 +03:00
2019-06-19 17:09:55 +02:00
2019-06-19 17:09:55 +02:00
2020-08-19 10:05:33 +03:00
2019-06-19 17:09:55 +02:00
2019-06-19 17:09:55 +02:00
2019-06-19 17:09:55 +02:00
2019-06-19 17:09:55 +02:00
2019-06-19 17:09:55 +02:00
2019-06-19 17:09:55 +02:00
2020-08-19 10:19:13 +03:00
2019-06-19 17:09:55 +02:00
2019-06-19 17:09:55 +02:00
2019-06-19 17:09:55 +02:00
2012-10-31 15:37:14 -07:00
2019-05-30 11:26:35 -07:00
2020-08-19 10:19:13 +03:00
2020-04-21 09:41:53 -07:00
2020-08-19 10:19:13 +03:00
2019-07-19 17:05:08 -07:00
2019-06-19 17:09:55 +02:00
2019-05-30 11:26:35 -07:00
2021-04-26 11:48:26 -07:00
2019-05-30 11:26:35 -07:00
2019-05-30 11:26:35 -07:00
2019-06-19 17:09:55 +02:00
2019-06-19 17:09:55 +02:00
2019-06-19 17:09:55 +02:00
2020-08-19 10:19:13 +03:00
2020-06-02 19:14:21 +02:00
2019-06-19 17:09:55 +02:00
2017-11-02 11:10:55 +01:00
2019-06-19 17:09:55 +02:00
2019-06-19 17:09:55 +02:00
2019-10-18 15:09:54 -07:00
2019-10-18 07:56:51 -07:00
2019-06-19 17:09:55 +02:00
2019-06-19 17:09:55 +02:00
2019-06-19 17:09:55 +02:00
2019-06-19 17:09:55 +02:00
2019-06-19 17:09:55 +02:00
2020-08-19 10:19:13 +03:00
2019-06-19 17:09:55 +02:00
2019-06-19 17:09:55 +02:00
2017-11-02 11:10:55 +01:00
2019-06-19 17:09:55 +02:00
2019-05-30 11:26:32 -07:00
2019-05-30 11:26:32 -07:00