Christophe Jaillet
74007ae631
hwmon: (xgene) Fix up error handling path mixup in 'xgene_hwmon_probe()'
...
Commit 2ca492e22cb7 has moved the call to 'kfifo_alloc()' from after the
main 'if' statement to before it.
But it has not updated the error handling paths accordingly.
Fix all that:
- if 'kfifo_alloc()' fails we can return directly
- direct returns after 'kfifo_alloc()' must now go to 'out_mbox_free'
- 'goto out_mbox_free' must be replaced by 'goto out', otherwise the
'[pcc_]mbox_free_channel()' call will be missed.
Fixes: 2ca492e22cb7 ("hwmon: (xgene) Fix crash when alarm occurs before driver probe")
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
2017-10-01 08:46:54 -07:00
..
2017-08-30 18:01:08 -07:00
2014-10-03 08:19:02 -07:00
2014-10-20 16:20:36 +02:00
2014-10-20 16:20:36 +02:00
2015-10-14 07:57:14 -07:00
2013-04-16 18:27:52 -07:00
2017-09-14 11:59:30 +02:00
2016-06-27 18:58:03 -07:00
2017-04-02 07:01:53 -07:00
2014-08-04 07:01:35 -07:00
2017-08-13 08:24:38 -07:00
2015-10-28 10:30:17 +09:00
2017-01-02 10:19:45 -08:00
2017-01-02 10:19:45 -08:00
2017-01-02 10:19:45 -08:00
2014-08-04 07:01:35 -07:00
2017-01-02 10:19:45 -08:00
2017-01-02 10:19:45 -08:00
2017-08-13 08:24:38 -07:00
2017-04-02 07:01:53 -07:00
2016-06-27 18:58:03 -07:00
2017-01-02 10:19:45 -08:00
2013-04-07 21:16:38 -07:00
2015-10-28 10:30:17 +09:00
2013-04-07 21:16:38 -07:00
2017-01-02 10:19:45 -08:00
2016-12-09 21:54:31 -08:00
2017-01-02 10:19:45 -08:00
2017-08-13 08:24:38 -07:00
2016-12-02 13:28:04 -08:00
2017-09-14 11:59:30 +02:00
2017-01-02 10:19:45 -08:00
2017-08-30 06:31:49 -07:00
2017-08-13 08:24:38 -07:00
2017-03-23 12:01:57 -07:00
2017-01-02 10:19:45 -08:00
2017-05-14 07:49:32 -07:00
2017-08-22 08:45:02 +01:00
2014-10-20 16:20:36 +02:00
2017-09-14 11:59:30 +02:00
2017-01-10 08:57:55 -08:00
2017-06-11 17:08:19 -07:00
2017-01-02 10:19:45 -08:00
2016-12-12 11:33:44 -08:00
2014-08-04 07:01:35 -07:00
2017-01-02 10:19:45 -08:00
2017-01-02 10:19:45 -08:00
2017-01-02 10:19:45 -08:00
2013-10-13 16:16:27 -07:00
2017-01-02 10:19:45 -08:00
2017-01-02 10:19:45 -08:00
2017-08-29 17:44:23 -07:00
2017-01-02 10:19:45 -08:00
2017-02-27 18:43:47 -08:00
2017-01-10 08:58:36 -08:00
2017-01-10 08:59:35 -08:00
2017-01-02 10:19:45 -08:00
2014-08-05 19:40:27 -07:00
2013-09-10 06:28:17 -07:00
2017-08-13 08:24:38 -07:00
2017-08-13 08:24:38 -07:00
2017-01-02 10:19:45 -08:00
2016-01-04 08:56:22 -08:00
2015-03-09 09:59:35 -07:00
2017-06-20 13:52:19 -07:00
2016-09-08 21:34:17 -07:00
2017-04-02 07:01:53 -07:00
2017-04-21 12:30:09 -07:00
2016-06-27 18:58:04 -07:00
2017-08-13 08:24:38 -07:00
2017-08-13 08:24:38 -07:00
2017-01-02 10:19:45 -08:00
2017-01-02 10:19:45 -08:00
2017-01-02 10:19:45 -08:00
2017-09-01 07:24:14 -07:00
2014-08-04 07:01:37 -07:00
2017-04-02 07:01:53 -07:00
2017-01-21 12:26:38 -08:00
2013-10-13 16:16:28 -07:00
2017-04-02 07:01:53 -07:00
2013-03-18 21:19:49 +01:00
2014-07-31 09:41:46 -07:00
2017-01-02 10:19:45 -08:00
2017-01-02 10:19:45 -08:00
2017-01-02 10:19:45 -08:00
2017-04-02 07:01:53 -07:00
2017-04-13 06:09:26 -07:00
2017-04-02 07:01:53 -07:00
2017-01-02 10:19:45 -08:00
2017-01-02 10:19:45 -08:00
2017-01-02 10:19:45 -08:00
2016-09-13 07:28:01 -07:00
2017-04-02 07:01:53 -07:00
2014-08-04 07:01:35 -07:00
2016-03-05 06:25:34 -08:00
2017-01-21 08:57:41 -08:00
2014-03-03 08:01:05 -08:00
2014-08-04 07:01:35 -07:00
2017-06-11 17:08:19 -07:00
2014-08-04 07:01:35 -07:00
2013-10-18 09:12:00 -07:00
2017-09-01 07:24:14 -07:00
2017-09-01 07:24:14 -07:00
2017-01-02 10:19:45 -08:00
2017-01-02 10:19:45 -08:00
2017-01-02 10:19:45 -08:00
2014-08-04 07:01:39 -07:00
2017-06-11 17:08:19 -07:00
2014-01-29 20:40:08 +01:00
2017-01-02 10:19:45 -08:00
2017-04-02 07:01:53 -07:00
2014-08-04 07:01:38 -07:00
2016-04-19 06:32:34 -07:00
2017-03-22 00:18:20 -07:00
2017-01-02 10:19:45 -08:00
2017-01-02 10:19:45 -08:00
2014-11-03 19:53:56 -08:00
2017-01-02 10:19:45 -08:00
2017-06-11 17:08:19 -07:00
2017-08-13 08:24:38 -07:00
2016-09-08 21:34:18 -07:00
2017-01-02 10:19:45 -08:00
2016-09-08 21:34:15 -07:00
2017-01-02 10:19:45 -08:00
2017-01-02 10:19:45 -08:00
2017-01-02 10:19:45 -08:00
2014-08-04 07:01:33 -07:00
2017-06-11 17:08:19 -07:00
2014-10-20 16:20:36 +02:00
2017-01-02 10:19:45 -08:00
2012-05-30 07:55:38 +02:00
2017-01-02 10:19:45 -08:00
2016-04-25 07:26:29 -07:00
2017-08-13 08:24:38 -07:00
2016-07-31 14:56:36 -07:00
2017-02-16 06:49:05 -08:00
2017-01-02 10:19:45 -08:00
2014-06-12 08:36:48 -07:00
2017-01-02 10:19:45 -08:00
2014-08-04 07:01:37 -07:00
2014-10-20 16:20:36 +02:00
2017-01-02 10:19:45 -08:00
2017-01-02 10:19:45 -08:00
2017-08-13 08:24:08 -07:00
2015-06-21 22:54:53 -07:00
2016-12-02 13:28:05 -08:00
2014-08-04 07:01:39 -07:00
2017-04-02 07:01:53 -07:00
2017-04-24 06:30:41 -07:00
2016-12-09 21:54:25 -08:00
2017-01-10 09:01:32 -08:00
2017-04-02 07:01:53 -07:00
2014-10-20 16:20:36 +02:00
2016-03-05 06:25:33 -08:00
2017-01-02 10:19:45 -08:00
2017-01-02 10:19:45 -08:00
2014-10-20 16:20:36 +02:00
2017-01-02 10:19:45 -08:00
2014-04-04 18:01:34 +02:00
2014-08-04 07:01:34 -07:00
2017-04-02 07:01:53 -07:00
2017-01-02 10:19:45 -08:00
2017-01-02 10:19:45 -08:00
2017-01-02 10:19:45 -08:00
2017-01-02 10:19:45 -08:00
2017-01-02 10:19:45 -08:00
2015-04-17 09:03:55 -04:00
2014-10-20 16:20:36 +02:00
2014-10-20 16:20:36 +02:00
2017-10-01 08:46:54 -07:00