]> git.baikalelectronics.ru Git - kernel.git/commit
[media] mantis: fix silly crash case
authorAlan Cox <alan@linux.intel.com>
Thu, 9 Aug 2012 15:33:52 +0000 (12:33 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Sun, 12 Aug 2012 15:22:43 +0000 (12:22 -0300)
commit1ff0f906ad6bcb8207cc9234cbf4abe0ec06a4fb
tree233b04be392f94701ce5f3593efa15da51e0a58f
parentbdc982f7495756103723901e02a575ceef883218
[media] mantis: fix silly crash case

If we set mantis->fe to NULL on an error its not a good idea to then try
passing NULL to the unregister paths and oopsing really.

Resolves-bug: https://bugzilla.kernel.org/show_bug.cgi?id=16473

Signed-off-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/dvb/mantis/mantis_dvb.c