Re: zram: fix invalid memory references during disk write

2012-12-18 Thread Nitin Gupta
On 12/18/2012 07:49 PM, Greg KH wrote: > On Tue, Dec 18, 2012 at 01:12:05PM -0800, Nitin Gupta wrote: >> On Tue, Dec 11, 2012 at 10:27 AM, Greg KH wrote: >>> On Thu, Nov 29, 2012 at 10:45:09PM -0800, Nitin Gupta wrote: Fixes a bug introduced by commit c8f2f0db1 ("zram: Fix handling of in

Re: [PATCH] staging: iio: cleanup ring_sw.c

2012-12-18 Thread Joe Perches
On Wed, 2012-12-19 at 07:13 +, Jonathan Cameron wrote: > Err. This whole file is going away in the coming cycle anyway so I am > not going to take cleanup patches for it. That's the best kind of staging cleanup. ___ devel mailing list devel@linuxdr

Re: [PATCH] staging: iio: cleanup ring_sw.c

2012-12-18 Thread Joe Perches
On Wed, 2012-12-19 at 09:42 +0300, Dan Carpenter wrote: > On Wed, Dec 19, 2012 at 12:39:59AM +0100, Cong Ding wrote: > > clean the checkpatch warnings in ring_sw.c. mostly are 80 characters per > > line > > issue. [] > > diff --git a/drivers/staging/iio/ring_sw.c b/drivers/staging/iio/ring_sw.c []

Re: [PATCH] staging: iio: cleanup ring_sw.c

2012-12-18 Thread Dan Carpenter
On Wed, Dec 19, 2012 at 12:39:59AM +0100, Cong Ding wrote: > clean the checkpatch warnings in ring_sw.c. mostly are 80 characters per line > issue. > > Signed-off-by: Cong Ding > --- > drivers/staging/iio/ring_sw.c | 25 ++--- > 1 file changed, 14 insertions(+), 11 deletion

Re: zram: fix invalid memory references during disk write

2012-12-18 Thread Greg KH
On Tue, Dec 18, 2012 at 01:12:05PM -0800, Nitin Gupta wrote: > On Tue, Dec 11, 2012 at 10:27 AM, Greg KH wrote: > > On Thu, Nov 29, 2012 at 10:45:09PM -0800, Nitin Gupta wrote: > >> Fixes a bug introduced by commit c8f2f0db1 ("zram: Fix handling > >> of incompressible pages") which caused invalid

[PATCH] staging: iio: cleanup ring_sw.c

2012-12-18 Thread Cong Ding
clean the checkpatch warnings in ring_sw.c. mostly are 80 characters per line issue. Signed-off-by: Cong Ding --- drivers/staging/iio/ring_sw.c | 25 ++--- 1 file changed, 14 insertions(+), 11 deletions(-) diff --git a/drivers/staging/iio/ring_sw.c b/drivers/staging/iio/ri

[PATCH 1/3] wlan-ng/prism2mgmt.c: added parenthesis to macro

2012-12-18 Thread Sebastian Ehrenfels
From: Sebastian Wankerl Here the hopefully fixed version. Signed-off-by: Sebastian Wankerl Signed-off-by: Sebastian Ehrenfels --- drivers/staging/wlan-ng/prism2mgmt.c | 25 +++-- 1 file changed, 15 insertions(+), 10 deletions(-) diff --git a/drivers/staging/wlan-ng/p

Re: zram: fix invalid memory references during disk write

2012-12-18 Thread Nitin Gupta
On Tue, Dec 11, 2012 at 10:27 AM, Greg KH wrote: > On Thu, Nov 29, 2012 at 10:45:09PM -0800, Nitin Gupta wrote: >> Fixes a bug introduced by commit c8f2f0db1 ("zram: Fix handling >> of incompressible pages") which caused invalid memory references >> during disk write. Invalid references could occu

Re: [PATCH 1/3] tools/hv: Fix for long file names from readdir

2012-12-18 Thread Ben Hutchings
On Tue, 2012-12-18 at 03:06 -0500, Tomas Hozza wrote: > - Original Message - > > > This is just for sanity. The value PATH_MAX was chosen after > > > discussion > > > with K. Y. Srinivasan and Olaf Hering instead of some "magic" > > > number like > > > 256 or 512. > > > > PATH_MAX is a mag

Re: [PATCH 1/3] tools/hv: Fix for long file names from readdir

2012-12-18 Thread Tomas Hozza
- Original Message - > > This is just for sanity. The value PATH_MAX was chosen after > > discussion > > with K. Y. Srinivasan and Olaf Hering instead of some "magic" > > number like > > 256 or 512. > > PATH_MAX is a magic name. It is defined in "limits.h". I would welcome some more const