[PATCH 3/3] sound/pci: Eliminate use after free
From: Julia Lawall <julia(a)diku.dk> Use the call to snd_card_free in the error handling code at the end of the function, as in the other error cases. A simplified version of the semantic patch that finds this problem is as follows: (http://coccinelle.lip6.fr/) // <smpl> @@ expression E,E2; @@ snd_card_f... 2 Apr 2010 09:17
readahead: fix NULL filp dereference
On Fri, Apr 2, 2010 at 10:27 AM, Wu Fengguang <fengguang.wu(a)intel.com> wrote: The btrfs relocate_file_extent_cluster() calls us with NULL filp:  [ 4005.426805] BUG: unable to handle kernel NULL pointer dereference at 00000021  [ 4005.426818] IP: [<c109a130>] page_cache_sync_readahead+0x18/0x3e CC: Yan... 2 Apr 2010 09:17
[PATCH 2.6.34] mfd: Clean up after WM83xx AUXADC interrupt if it arrives late
In certain circumstances, especially under heavy load, the AUXADC completion interrupt may be detected after we've timed out waiting for it. That conversion would still succeed but the next conversion will see the completion that was signalled by the interrupt for the previous conversion and therefore not wait for... 2 Apr 2010 08:10
[PATCH 3/3] firewire: ohci: fix nonstandard build without debug facility
CONFIG_FIREWIRE_OHCI_DEBUG is currently a hidden kconfig variable, hence is not going to be switched off by anybody. Still, it can be switched off but then compilation will fail in ohci_enable() at the expression param_debug & OHCI_PARAM_DEBUG_BUSRESETS. Signed-off-by: Stefan Richter <stefanr(a)s5r6.in-berlin.de> ... 2 Apr 2010 08:10
[PATCH 1/3] firewire: ohci: function names cleanup
The ohci_ prefix is only used in function names of fw_card_driver hooks. There are two exceptions which I carelessly added. Signed-off-by: Stefan Richter <stefanr(a)s5r6.in-berlin.de> --- drivers/firewire/ohci.c | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) Index: b/drivers/firewir... 2 Apr 2010 08:10
[patch] cx231xx: improve error handling
Return -EINVAL if we don't find the control id. Signed-off-by: Dan Carpenter <error27(a)gmail.com> diff --git a/drivers/media/video/cx231xx/cx231xx-video.c b/drivers/media/video/cx231xx/cx231xx-video.c index d4f546f..5a74ef8 100644 --- a/drivers/media/video/cx231xx/cx231xx-video.c +++ b/drivers/media/video/cx231... 2 Apr 2010 08:10
[patch v3] infiniband: ulp/iser, fix error retval in iser_create_ib_conn_res
We shouldn't free things here because we free them later. The call tree looks like this: iser_connect() => iser_cma_handler() => iser_route_handler() => iser_create_ib_conn_res() We fail here and return failures back down the tree. iser_connect() => iser_conn_release() ... 2 Apr 2010 08:10
[patch] cx88: improve error handling
Return -EINVAL if we don't find the right query control id. Signed-off-by: Dan Carpenter <error27(a)gmail.com> diff --git a/drivers/media/video/cx88/cx88-video.c b/drivers/media/video/cx88/cx88-video.c index 48c450f..b4c80cb 100644 --- a/drivers/media/video/cx88/cx88-video.c +++ b/drivers/media/video/cx88/cx88-v... 2 Apr 2010 08:10
nilfs2: Remove an uninitialization warning in nilfs_btree_propagate_v()
On Fri, 2 Apr 2010 18:40:39 +0800, Li Hong <lihong.hi(a)gmail.com> wrote: `make CONFIG_NILFS2_FS=m M=fs/nilfs2/` will give the following warnings: fs/nilfs2/btree.c: In function $B!F(Bnilfs_btree_propagate$B!G(B: fs/nilfs2/btree.c:1882: warning: $B!F(Bmaxlevel$B!G(B may be used uninitialized in this ... 2 Apr 2010 08:10
[PATCH] nilfs2: Remove an uninitialization warning in nilfs_btree_propagate_v()
`make CONFIG_NILFS2_FS=m M=fs/nilfs2/` will give the following warnings: fs/nilfs2/btree.c: In function 'nilfs_btree_propagate': fs/nilfs2/btree.c:1882: warning: 'maxlevel' may be used uninitialized in this function fs/nilfs2/btree.c:1882: note: 'maxlevel' was declared here Set maxlevel = 0 to fix it. Signed... 2 Apr 2010 07:06