Re: [PATCH] fix some coding style in drivers/staging/iio

2014-03-21 Thread Lars-Peter Clausen
[...] diff --git a/drivers/staging/iio/accel/adis16220_core.c b/drivers/staging/iio/accel/adis16220_core.c index 6f38ca9..31c7a9d 100644 --- a/drivers/staging/iio/accel/adis16220_core.c +++ b/drivers/staging/iio/accel/adis16220_core.c @@ -392,7 +392,8 @@ static const struct iio_info adis16220_in

[PATCH 1/3] staging: gdm72xx: Coding style fixes

2014-03-21 Thread Michalis Pappas
Minor white-space fixes as suggested by checkpatch.pl. Signed-off-by: Michalis Pappas --- drivers/staging/gdm72xx/gdm_qos.c | 2 +- drivers/staging/gdm72xx/gdm_wimax.c | 2 ++ drivers/staging/gdm72xx/usb_boot.c | 1 + 3 files changed, 4 insertions(+), 1 deletion(-) diff --git a/drivers/stag

[PATCH 0/3] staging: gdm72xx: Minor cleanup

2014-03-21 Thread Michalis Pappas
The following patches perform various cleanups on the gdm72xx driver. PATCH 1/3 fixes some small coding style issues PATCH 2/3 removes an already completed item from the TODO list PATCH 3/3 replaces some jiffies comparisons with wrap-safe functions After all patches have been applied, the only re

[PATCH v3] staging: cxt1e1: replace OS_kmalloc/OS_kfree with kmalloc/kfree

2014-03-21 Thread Daeseok Youn
Replace OS_kmalloc/OS_kfree with kmalloc/kfree. And also some allocation doesn't need to use GFP_DMA so just use GFP_KERNEL. c4_new() function is never called, remove it. Signed-off-by: Daeseok Youn --- v3: replace kzalloc with kmalloc. v2: fix subject and comment correctly. I'm not sure what

[PATCH 2/3] staging: gdm72xx: Removed task from TODO list

2014-03-21 Thread Michalis Pappas
Removed task related to replacement of kernel_thread with kthread, as issue was fixed on ff5e4a1d2702582614996f6f6d005e9b5caadeb8. Signed-off-by: Michalis Pappas --- drivers/staging/gdm72xx/TODO | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/staging/gdm72xx/TODO b/drivers/staging/gd

[PATCH 3/3] staging: gdm72xx: Removed direct comparisons on jiffies

2014-03-21 Thread Michalis Pappas
Replaced comparisons on jiffies values with wrap-safe functions. Signed-off-by: Michalis Pappas --- drivers/staging/gdm72xx/gdm_usb.c | 2 +- drivers/staging/gdm72xx/sdio_boot.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/staging/gdm72xx/gdm_usb.c b/drive

Re: [PATCH] staging: cxt1e1: hwprobe: Fix sparse warning

2014-03-21 Thread Matei Oprea
I did it against your master branch of staging.git. I guess that's why doesn't apply at all. I switched branches to staging-next after your e-mail. Thanks and sorry ! On Wed, Mar 19, 2014 at 1:14 AM, Greg KH wrote: > On Wed, Mar 19, 2014 at 12:33:19AM +0200, Matei Oprea wrote: >> This fixes the

Re: [PATCH] staging: octeon-usb: prevent memory corruption

2014-03-21 Thread Thomas Pugliese
On Thu, 20 Mar 2014, Aaro Koskinen wrote: > octeon-hcd will crash the kernel when SLOB is used. This usually happens > after the 18-byte control transfer when a device descriptor is read. > The DMA engine is always transfering full 32-bit words and if the > transfer is shorter, some random garba

[PATCH 2/2] staging: xillybus: XILLYBUS_PCIE depends on PCI_MSI

2014-03-21 Thread Eli Billauer
xillybus_pcie.c will compile and load properly on PCI only, but will do nothing useful without PCI_MSI. PCI_MSI depends on PCI, so depending on PCI_MSI covers both. Signed-off-by: Eli Billauer --- drivers/staging/xillybus/Kconfig |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff

[PATCH 1/2] staging: xillybus: Added "select CRC32" for XILLYBUS in Kconfig

2014-03-21 Thread Eli Billauer
Reason: xillybus_core.c uses crc32_le() Reported-by: Fengguang Wu Signed-off-by: Eli Billauer --- drivers/staging/xillybus/Kconfig |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/drivers/staging/xillybus/Kconfig b/drivers/staging/xillybus/Kconfig index 75c38c8..1b88330

Re: [PATCH RFC 26/46] drivers/base: provide an infrastructure for componentised subsystems

2014-03-21 Thread Russell King - ARM Linux
On Fri, Mar 07, 2014 at 12:24:33AM +0100, Laurent Pinchart wrote: > However, we (as in the V4L2 community, and me personally) would have > appreciated to be CC'ed on the proposal. As you might know we already had a > solution for this problem, albeit V4L2-specific, in drivers/media/v4l2- > core/v

[PATCH V2] fix some coding style in drivers/staging/iio, and a break missing.

2014-03-21 Thread Jimmy Li
Signed-off-by: Jimmy Li --- drivers/staging/iio/accel/sca3000_core.c |3 ++- drivers/staging/iio/adc/ad7192.c |3 ++- drivers/staging/iio/adc/ad7606_core.c|2 +- drivers/staging/iio/adc/ad7816.c |6 +++--- drivers/staging/iio/adc/mxs-lradc.c |6 --

[PATCH] drivers: staging: cxt1e1: hwprobe Fix different address spaces

2014-03-21 Thread Matei Oprea
Fix different address spaces when unmapping IO. hi->addr_mapped[0] and hi->addr_mapped[1] should be tagged __iomem. Signed-off-by: Matei Oprea Cc: ROSEdu Kernel Community --- drivers/staging/cxt1e1/hwprobe.c |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/stag

Re: [PATCH] drivers: staging: cxt1e1: hwprobe Fix different address spaces

2014-03-21 Thread Denis Kirjanov
On 3/21/14, Matei Oprea wrote: > Fix different address spaces when unmapping IO. hi->addr_mapped[0] > and hi->addr_mapped[1] should be tagged __iomem. > > Signed-off-by: Matei Oprea > Cc: ROSEdu Kernel Community > --- > drivers/staging/cxt1e1/hwprobe.c |4 ++-- > 1 file changed, 2 insertion

Re: [PATCH] drivers: staging: cxt1e1: hwprobe Fix different address spaces

2014-03-21 Thread Josh Cartwright
On Fri, Mar 21, 2014 at 03:52:23PM +0200, Matei Oprea wrote: > Fix different address spaces when unmapping IO. hi->addr_mapped[0] > and hi->addr_mapped[1] should be tagged __iomem. > > Signed-off-by: Matei Oprea > Cc: ROSEdu Kernel Community > --- > drivers/staging/cxt1e1/hwprobe.c |4 ++--

[PATCH] staging: rtl8192u: r8192U_wx: Fix sparse warnings

2014-03-21 Thread Matei Oprea
Fix sparse "should be static" warnings. Those structures are only referenced in file scope so they can be marked as static. Signed-off-by: Matei Oprea Cc: ROSEdu Kernel Community --- drivers/staging/rtl8192u/r8192U_wx.c |6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git

[PATCH 00/05] staging: dgap: Digi International dgap driver

2014-03-21 Thread Mark Hounschell
patch 1 removes some unused code in dgap.c patch 2 removes some unneeded comments in dgap.c patch 3 fixes some whitespace warnings by checkpatch in dgap.h patch 4 fixes several 80+ char lines in dgap.h. Note that many of these 80+ char lines are lines using "volatile" which also

[PATCH 01/05] staging: dgap: Remove some unused code in dgap.c

2014-03-21 Thread Mark Hounschell
This patch removes some unused code in dgap.c. Signed-off-by: Mark Hounschell Cc: Greg Kroah-Hartman --- drivers/staging/dgap/dgap.c | 7 --- 1 file changed, 7 deletions(-) diff --git a/drivers/staging/dgap/dgap.c b/drivers/staging/dgap/dgap.c index a5fc3c7..ea66c9f 100644 --- a/drivers/st

[PATCH 04/05] staging: dgap: Fix several 80+ line warnings in dgap.h

2014-03-21 Thread Mark Hounschell
This patch fixes several 80+ char line warnings as reported by checkpatch in dgap.h Signed-off-by: Mark Hounschell Cc: Greg Kroah-Hartman --- drivers/staging/dgap/dgap.h | 244 +++- 1 file changed, 129 insertions(+), 115 deletions(-) diff --git a/drivers

[PATCH 02/05] staging: dgap: Remove some unneeded comments

2014-03-21 Thread Mark Hounschell
This patch removes some unneeded comments from dgap.c Signed-off-by: Mark Hounschell Cc: Greg Kroah-Hartman --- drivers/staging/dgap/dgap.c | 29 - 1 file changed, 29 deletions(-) diff --git a/drivers/staging/dgap/dgap.c b/drivers/staging/dgap/dgap.c index ea66c9f..

[PATCH 05/05] staging:dgap: remove some unused code in dgap.h

2014-03-21 Thread Mark Hounschell
This patch removes some unused code in dgap.h Signed-off-by: Mark Hounschell Cc: Greg Kroah-Hartman --- drivers/staging/dgap/dgap.h | 53 - 1 file changed, 53 deletions(-) diff --git a/drivers/staging/dgap/dgap.h b/drivers/staging/dgap/dgap.h index 2

[PATCH 03/05] staging: dgap: fix some whitespace warnings in dgap.h

2014-03-21 Thread Mark Hounschell
This patch fixes some whitespace warnings as reported by checkpatch in dgap.h. Signed-off-by: Mark Hounschell Cc: Greg Kroah-Hartman --- drivers/staging/dgap/dgap.h | 47 +++-- 1 file changed, 24 insertions(+), 23 deletions(-) diff --git a/drivers/stagin

[PATCH] staging: lustre: Fix typo in lustre/include

2014-03-21 Thread Masanari Iida
Fix spelling typo in comments within lustre/include. Signed-off-by: Masanari Iida --- drivers/staging/lustre/include/linux/libcfs/libcfs_cpu.h| 4 ++-- drivers/staging/lustre/include/linux/libcfs/libcfs_crypto.h | 2 +- drivers/staging/lustre/include/linux/libcfs/libcfs_hash.h | 8

Re: [PATCH net-next,v4] hyperv: Add support for virtual Receive Side Scaling (vRSS)

2014-03-21 Thread David Miller
From: Haiyang Zhang Date: Thu, 20 Mar 2014 15:28:41 -0700 > This feature allows multiple channels to be used by each virtual NIC. > It is available on Hyper-V host 2012 R2. > > Signed-off-by: Haiyang Zhang > Reviewed-by: K. Y. Srinivasan Applied, thanks. __

Re: [PATCH net-next,v4] hyperv: Add support for virtual Receive Side Scaling (vRSS)

2014-03-21 Thread David Miller
From: David Miller Date: Fri, 21 Mar 2014 14:49:57 -0400 (EDT) > From: Haiyang Zhang > Date: Thu, 20 Mar 2014 15:28:41 -0700 > >> This feature allows multiple channels to be used by each virtual NIC. >> It is available on Hyper-V host 2012 R2. >> >> Signed-off-by: Haiyang Zhang >> Reviewed-by

RE: [PATCH net-next,v4] hyperv: Add support for virtual Receive Side Scaling (vRSS)

2014-03-21 Thread Haiyang Zhang
> -Original Message- > From: David Miller [mailto:da...@davemloft.net] > Sent: Friday, March 21, 2014 2:55 PM > To: Haiyang Zhang > Cc: net...@vger.kernel.org; KY Srinivasan; o...@aepfle.de; > jasow...@redhat.com; linux-ker...@vger.kernel.org; driverdev- > de...@linuxdriverproject.org > S

Re: [PATCH net-next,v4] hyperv: Add support for virtual Receive Side Scaling (vRSS)

2014-03-21 Thread David Miller
From: Haiyang Zhang Date: Fri, 21 Mar 2014 19:12:43 + > Could it be merged into net-next tree? You submitted a patch against net-next, that means you are implicitly stating that all dependencies are in place in _that_ tree and that you tested it in _that_ tree. If the situation is otherwise

[PATCH net-next, v4] hyperv: Add support for virtual Receive Side Scaling (vRSS)

2014-03-21 Thread Haiyang Zhang
This feature allows multiple channels to be used by each virtual NIC. It is available on Hyper-V host 2012 R2. (It depends on this commit: Drivers: hv: vmbus: Support per-channel driver state http://git.kernel.org/cgit/linux/kernel/git/next/linux-next.git/commit/?id=8a7206a89f85c8439561b0eff85bb94

RE: [PATCH net-next,v4] hyperv: Add support for virtual Receive Side Scaling (vRSS)

2014-03-21 Thread Haiyang Zhang
> -Original Message- > From: David Miller [mailto:da...@davemloft.net] > Sent: Friday, March 21, 2014 3:33 PM > To: Haiyang Zhang > Cc: net...@vger.kernel.org; KY Srinivasan; o...@aepfle.de; > jasow...@redhat.com; linux-ker...@vger.kernel.org; driverdev- > de...@linuxdriverproject.org > S

Re: [PATCH V2] fix some coding style in drivers/staging/iio, and a break missing.

2014-03-21 Thread Jonathan Cameron
Please separate the missing break fix into its own patch. That will want to go in as a fix. The tree it will go through is therefore different from the rest of this patch which can take a slower path into the kernel tree. Jonathan On March 21, 2014 12:45:51 PM GMT+00:00, Jimmy Li wrote: >Sig

[PATCH] fix a missing break in devivers/staging/iio

2014-03-21 Thread Jimmy Li
fix a missing break. Signed-off-by: Jimmy Li --- drivers/staging/iio/resolver/ad2s1200.c |1 + 1 file changed, 1 insertion(+) diff --git a/drivers/staging/iio/resolver/ad2s1200.c b/drivers/staging/iio/resolver/ad2s1200.c index 36eedd8..e2b4820 100644 --- a/drivers/staging/iio/resolver/ad2s

Re: [PATCH V2] fix some coding style in drivers/staging/iio, and a break missing.

2014-03-21 Thread Jimmy Li
the coding style patch is attached. and the break missing one is https://lkml.org/lkml/2014/3/22/4. sorry for the misspelling subject. Signed-off-by: Jimmy Li --- drivers/staging/iio/accel/sca3000_core.c |3 ++- drivers/staging/iio/adc/ad7192.c |3 ++- drivers/staging/iio/adc/ad76