OpenCloudOS-Kernel/drivers/media/pci/ddbridge
Alexey Khoroshilov f4e4a67a37 [media] ddbridge: fix error handling in module_init_ddbridge()
If pci_register_driver() failed, resources allocated in
ddb_class_create() are leaked. The patch fixes it
as well as it replaces -1 with correct error code
in ddb_class_create().

Found by Linux Driver Verification project (linuxtesting.org).

Signed-off-by: Alexey Khoroshilov <khoroshilov@ispras.ru>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2012-09-11 15:29:00 -03:00
..
Kconfig [media] Kconfig: merge all customise options into just one 2012-08-21 08:05:06 -03:00
Makefile [media] common: move media/common/tuners to media/tuners 2012-08-13 23:40:28 -03:00
ddbridge-core.c [media] ddbridge: fix error handling in module_init_ddbridge() 2012-09-11 15:29:00 -03:00
ddbridge-regs.h
ddbridge.h