[PATCH] perf: fix use_browser infinite loop bug in annotate
This patch fixes an infinite loop problem with perf annotate when the TUI is not used. When the perfconfig file is not found use_browser remains at -1, when found and tui is disabled use_browser = 0. Thus the correct test for TUI is use_browser > 0. Signed-off-by: Stephane Eranian <eranian(a)google.com> diff --g... 27 May 2010 09:15
[PATCH 6/11] drivers/net: Eliminate a NULL pointer dereference
From: Julia Lawall <julia(a)diku.dk> At the point of the print, dev is NULL. A simplified version of the semantic match that finds this problem is as follows: (http://coccinelle.lip6.fr/) // <smpl> @r exists@ expression E,E1; identifier f; statement S1,S2,S3; @@ if ((E == NULL && ...) || ...) { ... ... 27 May 2010 09:15
[PATCH 2/11] drivers/watchdog: Eliminate a NULL pointer dereference
From: Julia Lawall <julia(a)diku.dk> At the point of the call to dev_err, wm8350 is NULL. A simplified version of the semantic match that finds this problem is as follows: (http://coccinelle.lip6.fr/) // <smpl> @r exists@ expression E,E1; identifier f; statement S1,S2,S3; @@ if ((E == NULL && ...) || ..... 27 May 2010 09:15
[PATCH 3/11] arch/sparc/kernel: Eliminate what looks like a NULL pointer dereference
From: Julia Lawall <julia(a)diku.dk> At the point of the test, action cannot be NULL, as it has been dereferenced in the code just above. A simplified version of the semantic match that finds this problem is as follows: (http://coccinelle.lip6.fr/) // <smpl> @r exists@ expression E,E1; identifier f; statem... 27 May 2010 09:15
[PATCH 9/11] drivers/platform/x86: Eliminate a NULL pointer dereference
From: Julia Lawall <julia(a)diku.dk> Give different error messages if device_enum is NULL or if its type field has the wrong value. A simplified version of the semantic match that finds this problem is as follows: (http://coccinelle.lip6.fr/) // <smpl> @r exists@ expression E,E1; identifier f; statement S1... 27 May 2010 09:15
[PATCH 11/11] drivers/usb/serial: Eliminate a NULL pointer dereference
From: Julia Lawall <julia(a)diku.dk> The assignment seems completely unnecessary if mos7840_port is NULL. A simplified version of the semantic match that finds this problem is as follows: (http://coccinelle.lip6.fr/) // <smpl> @r exists@ expression E,E1; identifier f; statement S1,S2,S3; @@ if ((E == NU... 27 May 2010 09:15
vfs: sanitize __d_path()
On Thu, May 27, 2010 at 1:29 PM, Miklos Szeredi <miklos(a)szeredi.hu> wrote: From: Miklos Szeredi <mszeredi(a)suse.cz> __d_path() no longer appends " (deleted)" to unlinked paths. �This is moved into d_path() which is the only caller that cares. d_path() or equivalent should get "int *deleted" argument to di... 4 Jun 2010 11:26
[PATCH 4/11] drivers/net/hamradio: Eliminate a NULL pointer dereference
From: Julia Lawall <julia(a)diku.dk> At the point of the print, dev is NULL. A simplified version of the semantic match that finds this problem is as follows: (http://coccinelle.lip6.fr/) // <smpl> @r exists@ expression E,E1; identifier f; statement S1,S2,S3; @@ if ((E == NULL && ...) || ...) { ... ... 27 May 2010 09:15
[PATCH V2] i2c-imx: do not allow interruptions when waiting for I2C to complete
The i2c_imx_trx_complete() function is using wait_event_interruptible_timeout() to wait for the I2C controller to signal that it has completed an I2C bus operation. If the process that causes the I2C operation receives a signal, the wait will be interrupted, returning an error. It is better to let the I2C operation... 27 May 2010 09:15
i2c-imx: do not allow interruptions when waiting for I2C to complete
On Thu, May 27, 2010 at 01:36:27PM +0200, Marc Kleine-Budde wrote: The i2c_imx_trx_complete() function is using wait_event_interruptible_timeout() to wait for the I2C controller to signal that it has completed an I2C bus operation. If the process that causes the I2C operation receives a signal, the wait wil... 27 May 2010 08:09