Bartosz Golaszewski
6cb9215bae
gpio: mockup: fix a potential crash when creating debugfs entries
...
If we failed to create the top debugfs directory, we must not try to
create the child nodes. We currently only check if gpio_mockup_dbg_dir
is not NULL, but it can also contain an errno if debugfs is disabled
in build options. Use IS_ERR_OR_NULL() instead.
Signed-off-by: Bartosz Golaszewski <brgl@bgdev.pl>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
2018-03-27 15:18:20 +02:00
..
2018-02-15 12:02:42 +01:00
2018-02-16 11:16:38 +01:00
2018-02-06 09:59:40 -08:00
2018-02-08 15:05:16 -05:00
2018-02-15 14:50:32 -08:00
2018-01-19 22:59:33 -05:00
2018-03-09 08:36:36 -07:00
2018-02-25 21:08:28 +01:00
2018-02-15 09:18:55 -08:00
2018-02-26 15:43:46 -08:00
2018-02-07 11:22:44 -08:00
2018-03-09 11:11:58 +01:00
2018-03-02 10:44:44 +01:00
2018-02-02 10:01:04 -08:00
2018-02-26 09:28:35 -08:00
2018-02-26 12:32:29 -08:00
2018-03-11 20:33:27 +05:30
2018-02-11 14:34:03 -08:00
2018-02-23 12:05:37 +01:00
2018-01-23 09:04:10 +01:00
2018-02-14 06:37:33 +09:00
2018-02-11 14:34:03 -08:00
2018-02-08 10:44:25 -08:00
2018-03-27 15:18:20 +02:00
2018-03-09 09:23:02 +10:00
2018-02-15 18:44:03 +01:00
2018-02-11 14:34:03 -08:00
2018-02-11 14:34:03 -08:00
2018-02-15 14:31:28 -08:00
2018-02-01 10:31:17 -08:00
2018-03-02 11:11:15 +01:00
2018-02-26 09:48:42 -07:00
2018-03-18 17:48:59 +01:00
2018-03-09 18:10:48 -05:00
2018-03-07 17:37:32 -08:00
2018-02-22 10:59:33 +01:00
2018-02-16 14:22:16 +00:00
2018-02-11 14:34:03 -08:00
2018-02-11 14:34:03 -08:00
2018-02-13 08:58:53 -08:00
2018-02-11 14:34:03 -08:00
2018-03-10 08:48:01 -08:00
2018-02-26 11:39:04 -05:00
2018-02-23 10:56:59 -08:00
2018-01-30 21:32:06 -05:00
2018-02-11 14:34:03 -08:00
2018-03-09 09:33:48 -08:00
2018-02-27 15:12:37 +01:00
2018-02-12 10:57:20 +01:00
2018-02-01 10:31:17 -08:00
2018-03-10 08:38:01 -08:00
2018-01-28 22:17:24 -05:00
2018-01-16 16:47:29 +01:00
2018-03-02 19:31:40 -08:00
2018-03-08 10:39:58 -07:00
2018-02-12 10:41:11 +01:00
2018-02-12 15:07:46 +05:30
2018-03-09 13:31:08 -08:00
2018-02-08 11:48:49 -08:00
2018-02-28 14:59:47 +00:00
2018-02-01 09:40:49 -08:00
2018-02-12 10:47:36 +01:00
2018-03-10 08:35:29 -08:00
2018-01-31 12:55:31 -08:00
2018-01-17 12:56:24 +01:00
2018-02-11 14:34:03 -08:00
2018-02-11 14:34:03 -08:00
2018-02-11 14:34:03 -08:00
2018-01-23 12:17:42 -06:00
2018-03-07 14:39:07 +00:00
2018-02-05 10:07:40 -08:00
2018-02-11 14:34:03 -08:00
2018-02-11 14:34:03 -08:00
2018-03-07 10:59:23 -08:00
2018-02-06 09:59:40 -08:00
2018-03-07 10:50:15 -08:00
2018-02-08 10:21:39 +01:00
2018-02-28 16:11:04 -08:00
2018-01-22 16:45:26 +01:00
2018-01-26 17:57:34 +00:00
2018-02-01 10:37:39 +02:00
2018-02-22 12:05:43 -08:00
2018-02-09 14:49:46 -08:00
2018-02-06 15:04:58 -08:00
2018-02-11 14:34:03 -08:00
2018-02-11 14:34:03 -08:00
2018-02-22 12:13:01 -08:00
2018-03-02 18:00:04 -08:00
2018-02-11 14:34:03 -08:00
2018-03-07 14:00:34 +01:00
2018-02-11 14:34:03 -08:00
2018-03-01 18:53:38 +02:00
2018-01-31 19:25:25 -08:00
2018-03-18 17:48:59 +01:00
2018-03-09 16:54:18 -08:00
2018-02-01 10:31:17 -08:00
2018-02-06 09:59:40 -08:00