First  |  Prev |  Next  |  Last
Pages: 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587
[PATCH v2 7/12] wm8940: fix a memory leak if wm8940_register return error
This patch adds checking for wm8940_register return value, and does kfree(wm8940) if wm8940_register() fail. Signed-off-by: Axel Lin <axel.lin(a)gmail.com> --- sound/soc/codecs/wm8940.c | 7 ++++++- 1 files changed, 6 insertions(+), 1 deletions(-) diff --git a/sound/soc/codecs/wm8940.c b/sound/soc/codecs/wm... 15 Jul 2010 04:28
wm8940: fix resource reclaim in wm8940_register error path
Hi Axel On Thu, 15 Jul 2010, Axel Lin wrote: From 44c93254e5158e3086c4707148d24746067f6b14 Mon Sep 17 00:00:00 2001 From: Axel Lin <axel.lin(a)gmail.com> Date: Thu, 15 Jul 2010 10:13:34 +0800 Subject: [PATCH] wm8940: fix resource reclaim in wm8940_register error path This patch fixes the error p... 15 Jul 2010 03:24
[PATCH] x86: fix x2apic preenabled system with kexec
Found one x2apic system kexec loop test failed when CONFIG_NMI_WATCHDOG=y (old) or CONFIG_LOCKUP_DETECTOR=y (current tip) first kernel can kexec second kernel, but second kernel can not kexec third one. it can be duplicated on another system with BIOS preenabled x2apic. First kernel can not kexec second kern... 15 Jul 2010 03:24
[PATCH 09/11] staging: comedi: formatting of pointers in printk()
Use %p instead of %08x in printk(). Signed-off-by: Kulikov Vasiliy <segooon(a)gmail.com> --- drivers/staging/comedi/drivers/quatech_daqp_cs.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/staging/comedi/drivers/quatech_daqp_cs.c b/drivers/staging/comedi/drivers/quatech_daqp_cs... 15 Jul 2010 03:24
staging: comedi: formatting of pointers in printk()
On 07/15/2010 08:42 AM, Kulikov Vasiliy wrote: Use %p instead of %08x in printk(). Signed-off-by: Kulikov Vasiliy <segooon(a)gmail.com> --- drivers/staging/comedi/drivers/quatech_daqp_cs.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/staging/comedi/drivers/qu... 15 Jul 2010 03:24
ak4642: fix a memory leak if failed to initialise AK4642
Hi Kuninori, 2010/7/15 Kuninori Morimoto <kuninori.morimoto.gx(a)renesas.com>: Dear Axel Thanks about this patch --- a/sound/soc/codecs/ak4642.c +++ b/sound/soc/codecs/ak4642.c @@ -491,8 +491,10 @@ static int ak4642_i2c_probe(struct i2c_client *i2c, � � � codec->control_data = i2c; ... 15 Jul 2010 02:20
[PATCH 4/4] omfs: sanity check cluster size
A corrupt filesystem could have a bad cluster size; this could result in the filesystem allocating too much space for files if too large, or getting stuck in omfs_allocate_block if too small. The proper range is 1-8 blocks. Reported-by: Eric Sesterhenn <snakebyte(a)gmx.de> Signed-off-by: Bob Copeland <me(a)bobcopel... 15 Jul 2010 00:10
[PATCH 3/4] omfs: refuse to mount if bitmap pointer is obviously wrong
If the free space bitmap pointer is corrupted such that it lies outside of the number of blocks in the filesystem, print a message and fail the mount so the user can fix it offline. Signed-off-by: Bob Copeland <me(a)bobcopeland.com> --- fs/omfs/inode.c | 9 +++++++++ 1 files changed, 9 insertions(+), 0 deleti... 15 Jul 2010 00:10
[PATCH 2/4] omfs: check bounds on block numbers before passing to sb_bread
In case of filesystem corruption, passing unchecked block numbers into sb_bread can result in an infinite loop in __getblk(). Introduce a wrapper function omfs_sbread() to check the block numbers and to also perform the clus_to_blk() scaling. Signed-off-by: Bob Copeland <me(a)bobcopeland.com> --- fs/omfs/dir.c ... 15 Jul 2010 00:10
[PATCH 12/12] wm9081: fix resource reclaim in wm9081_register error path
This patch fixes the error path in wm9081_register to properly free resources. Signed-off-by: Axel Lin <axel.lin(a)gmail.com> --- sound/soc/codecs/wm9081.c | 11 ++++++----- 1 files changed, 6 insertions(+), 5 deletions(-) diff --git a/sound/soc/codecs/wm9081.c b/sound/soc/codecs/wm9081.c index 13186fb..76b3... 15 Jul 2010 00:10
First  |  Prev |  Next  |  Last
Pages: 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587