Mauro Carvalho Chehab
fd901b6e81
media: em28xx: Don't use ops->resume if NULL
...
Changeset be7fd3c3a8c5 ("media: em28xx: Hauppauge DualHD
second tuner functionality") introduced a potential NULL pointer
dereference, as pointed by Coverity:
CID 1434731 (#1 of 1): Dereference after null check (FORWARD_NULL)16. var_deref_op: Dereferencing null pointer ops->resume.
var_compare_op: Comparing ops->resume to null implies that ops->resume might be null.
1174 if (ops->resume)
1175 ops->resume(dev);
1176 if (dev->dev_next)
1177 ops->resume(dev->dev_next);
Fixes: be7fd3c3a8c5 ("media: em28xx: Hauppauge DualHD second tuner functionality")
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Acked-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
2018-05-04 08:59:02 -04:00
..
2018-04-12 11:04:35 -07:00
2018-04-03 17:42:25 -07:00
2018-04-01 19:49:34 -04:00
2018-04-11 10:28:31 -07:00
2018-04-13 15:15:15 -07:00
2018-04-01 21:43:02 +03:00
2018-04-06 18:31:06 -07:00
2018-04-10 10:22:27 -07:00
2018-04-13 15:51:06 -07:00
2018-04-05 21:21:08 -07:00
2018-04-10 08:40:45 +02:00
2018-04-09 11:54:57 +02:00
2018-04-07 19:04:02 +09:00
2018-04-10 10:25:57 -07:00
2018-04-10 12:14:37 -07:00
2018-04-05 14:21:13 -07:00
2018-04-04 20:07:20 -07:00
2018-04-13 16:32:16 -07:00
2018-04-05 21:03:42 -07:00
2018-04-12 20:56:10 -07:00
2018-04-05 11:53:34 -07:00
2018-04-09 11:42:31 -07:00
2018-04-09 19:59:54 -07:00
2018-04-04 20:07:20 -07:00
2018-04-11 23:33:46 +02:00
2018-04-05 14:27:02 -07:00
2018-04-05 09:51:41 -07:00
2018-04-06 17:35:43 -07:00
2018-04-13 16:20:36 -07:00
2018-04-11 18:50:41 -07:00
2018-04-11 18:50:41 -07:00
2018-04-03 14:04:18 -07:00
2018-03-29 17:29:09 -06:00
2018-04-07 12:08:19 -07:00
2018-04-10 10:25:57 -07:00
2018-05-04 08:59:02 -04:00
2018-04-10 22:25:07 -07:00
2018-04-12 10:21:19 -07:00
2018-04-12 10:59:03 -07:00
2018-04-11 16:39:34 -07:00
2018-04-12 11:09:05 -07:00
2018-04-10 10:25:57 -07:00
2018-04-12 09:58:27 -06:00
2018-04-04 20:07:20 -07:00
2018-04-15 17:21:30 -07:00
2018-03-29 15:07:48 -04:00
2018-03-27 18:52:22 +02:00
2018-04-04 20:07:20 -07:00
2018-04-11 08:46:50 -05:00
2018-04-09 09:26:36 -07:00
2018-04-05 21:29:35 -07:00
2018-04-05 21:21:08 -07:00
2018-04-05 09:51:41 -07:00
2018-04-13 16:20:36 -07:00
2018-04-20 10:53:45 -04:00
2018-04-05 21:21:08 -07:00
2018-04-13 15:46:21 -07:00
2018-04-11 10:28:37 -07:00
2018-03-28 10:33:53 +08:00
2018-04-05 22:53:16 -07:00
2018-03-27 21:54:37 -07:00
2018-04-10 10:22:27 -07:00
2018-04-13 09:43:20 -07:00
2018-04-01 20:07:00 -04:00
2018-04-15 17:24:12 -07:00
2018-04-13 15:51:06 -07:00
2018-04-03 12:06:21 -07:00
2018-05-04 06:33:57 -04:00
2018-04-05 14:27:02 -07:00
2018-04-13 14:11:53 +08:00
2018-04-09 09:04:10 -07:00
2018-04-07 11:11:41 -07:00
2018-04-06 19:44:27 -07:00
2018-04-11 10:54:06 -04:00
2018-05-04 08:27:04 -04:00
2018-04-11 18:58:27 -07:00
2018-04-13 15:43:50 -07:00
2018-04-12 11:04:35 -07:00
2018-03-29 13:38:10 +03:00