Mauro Carvalho Chehab
2e81ae3967
media: r820t: don't crash if attach fails
...
As pointed by smatch:
drivers/media/tuners/r820t.c:2374 r820t_attach() error: potential null dereference 'priv'. (kzalloc returns null)
The current function with prints error assumes that the attach
succeeds. So, don't use it in case of failures.
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
2018-04-04 05:36:20 -04:00
..
2018-03-21 12:05:39 -04:00
2017-12-28 13:16:01 -05:00
2017-12-28 13:16:01 -05:00
2017-12-28 13:16:01 -05:00
2017-12-28 13:16:01 -05:00
2018-03-21 12:05:39 -04:00
2017-12-28 13:16:01 -05:00
2017-12-28 13:16:01 -05:00
2017-12-13 08:12:47 -05:00
2017-12-28 13:16:01 -05:00
2017-12-28 13:16:01 -05:00
2017-12-28 13:16:01 -05:00
2017-12-28 13:16:01 -05:00
2018-03-21 12:05:39 -04:00
2017-12-28 13:16:01 -05:00
2017-12-28 13:16:01 -05:00
2018-01-04 13:12:01 -05:00
2017-12-28 13:16:01 -05:00
2017-12-28 13:16:01 -05:00
2017-12-28 13:16:01 -05:00
2017-12-28 13:16:01 -05:00
2018-01-04 13:15:05 -05:00
2017-12-28 13:16:01 -05:00
2017-12-28 13:16:01 -05:00
2017-12-28 13:16:01 -05:00
2017-12-28 13:16:01 -05:00
2018-04-04 05:36:20 -04:00
2017-12-28 13:16:01 -05:00
2018-01-04 13:12:01 -05:00
2017-12-28 13:16:01 -05:00
2018-01-04 13:15:05 -05:00
2017-12-14 12:16:05 -05:00
2017-12-28 13:16:01 -05:00
2018-01-04 13:15:05 -05:00
2017-12-28 13:16:01 -05:00
2017-12-28 13:16:01 -05:00
2017-12-28 13:16:01 -05:00
2017-12-13 08:12:47 -05:00
2017-12-13 08:12:47 -05:00
2017-12-28 13:16:01 -05:00
2017-12-28 13:16:01 -05:00
2017-12-28 13:16:01 -05:00
2017-12-28 13:16:01 -05:00
2017-12-28 13:16:01 -05:00
2018-01-04 13:12:01 -05:00
2018-01-04 13:15:05 -05:00
2017-12-28 13:16:01 -05:00
2018-01-04 13:15:05 -05:00
2018-01-04 13:15:05 -05:00
2017-12-28 13:16:01 -05:00
2017-12-28 13:16:01 -05:00