[PATCH] loop device: Fix wrong return check from idr_pre_get in loop.c

2012-07-15 Thread Paulo da Silva
idr_pre_get always returns 0 (no memory) or 1 (OK). Never a negative value. So, it must be checked accordingly. Signed-off-by: Paulo da Silva ---  drivers/block/loop.c |    5 +++--  1 file changed, 3 insertions(+), 2 deletions(-) --- linux-3.5-rc6/drivers/block/loop.c.orig    2012-07-08 01:23

[PATCH] loop device: Fix wrong return check from idr_pre_get in loop.c

2012-07-15 Thread Paulo da Silva
idr_pre_get always returns 0 (no memory) or 1 (OK). Never a negative value. So, it must be checked accordingly. Signed-off-by: Paulo da Silva psdasi...@yahoo.com ---  drivers/block/loop.c |    5 +++--  1 file changed, 3 insertions(+), 2 deletions(-) --- linux-3.5-rc6/drivers/block/loop.c.orig

USB subsystem (part of it) hangs

2007-07-26 Thread Paulo da Silva
This is a bug report. Any further information you may need, please let me know. I have a separate partition for tests and can generate a special kernel to obtain any data you may need. Thanks. 1. USB subsystem (part of it) hangs 2. Symptoms (main): 1. My USB wireless card stops working (led

USB subsystem (part of it) hangs

2007-07-26 Thread Paulo da Silva
This is a bug report. Any further information you may need, please let me know. I have a separate partition for tests and can generate a special kernel to obtain any data you may need. Thanks. 1. USB subsystem (part of it) hangs 2. Symptoms (main): 1. My USB wireless card stops working (led