[PATCH] V4L/DVB: ir: fix memory leak

2010-01-09 Thread Alexander Beregalov
Free ir_dev before exit. Found by cppcheck. Signed-off-by: Alexander Beregalov a.berega...@gmail.com --- drivers/media/IR/ir-keytable.c |4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/drivers/media/IR/ir-keytable.c b/drivers/media/IR/ir-keytable.c index bff7a53

[PATCH] V4L/DVB: pms: KERNEL_VERSION requires version.h

2009-12-03 Thread Alexander Beregalov
Fix this build error: drivers/media/video/pms.c:682: error: implicit declaration of function 'KERNEL_VERSION' Signed-off-by: Alexander Beregalov a.berega...@gmail.com --- drivers/media/video/pms.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/drivers/media/video/pms.c

Re: [BUILD FAILURE 04/04] Next April 14 : x86_64 randconfig [drivers/media/video/cx231xx/cx231xx-alsa.ko]

2009-04-14 Thread Alexander Beregalov
2009/4/14 Subrata Modak subr...@linux.vnet.ibm.com: Observed the following build error: --- Kernel: arch/x86/boot/bzImage is ready  (#1)  Building modules, stage 2.  MODPOST 578 modules ERROR: snd_pcm_period_elapsed [drivers/media/video/cx231xx/cx231xx-alsa.ko] undefined! ERROR:

[PATCH] cx231xx: fix wrong usage of select in kconfig

2009-03-31 Thread Alexander Beregalov
: select should be used with care. select will force a symbol to a value without visiting the dependencies. By abusing select you are able to select a symbol FOO even if FOO depends on BAR that is not set. Signed-off-by: Alexander Beregalov a.berega...@gmail.com