[PATCH v2 7/7] staging: cxt1e1: remove unneeded a value

2014-03-06 Thread Daeseok Youn
It doesn't need to assign name array address to np pointer. Signed-off-by: Daeseok Youn --- v2: replace sprintf() with snprintf() and remove memset() call because snprintf() adds a terminating '\0' drivers/staging/cxt1e1/linux.c |8 +++- 1 files changed, 3 insertions(+), 5 deletions(-)

Re: [PATCH v2 1/2] Staging: comedi: convert while loops to timeouts in s626.c

2014-03-06 Thread Chase Southwood
>On Wednesday, March 5, 2014 6:10 AM, Ian Abbott wrote: >>On 2014-03-04 08:43, Chase Southwood wrote: >>This patch changes a handful of while loops to timeouts to prevent >>infinite looping on hardware failure.  A couple such loops are in a >>function (s626_debi_transfer()) which is called from c

Re: [PATCH v2 1/2] Staging: comedi: range: tidy up comedi_check_chanlist()

2014-03-06 Thread Ian Abbott
On 06/03/14 06:57, Fred Akers wrote: Refactor this function to remove an extra indent level Signed-off-by: Fred Akers Reviewed-by: Ian Abbott -- -=( Ian Abbott @ MEV Ltd.E-mail: )=- -=( Tel: +44 (0)161 477 1898 FAX: +44 (0)161 718 3587 )=- _

Re: [PATCH v2 2/2] Staging: comedi: range: remove unnecessary sanity check

2014-03-06 Thread Ian Abbott
On 06/03/14 06:57, Fred Akers wrote: This check is unnecessary because range_table will always be initialized to range_unknown by comedi_device_postconfig() for drivers that do not initialize range_table or range_table_list Signed-off-by: Fred Akers --- drivers/staging/comedi/range.c | 4

Re: [PATCH v2 2/2] Staging: comedi: range: remove unnecessary sanity check

2014-03-06 Thread Dan Carpenter
On Thu, Mar 06, 2014 at 01:57:19AM -0500, Fred Akers wrote: > This check is unnecessary because range_table will always be > initialized to range_unknown by comedi_device_postconfig() for > drivers that do not initialize range_table or range_table_list > > Signed-off-by: Fred Akers Just merge th

[PATCH 0/6] Drivers: net: hyperv: Enable various offloads

2014-03-06 Thread K. Y. Srinivasan
This patch set enables both checksum as well as segmentation offload. As part of this effort I have enabled scatter gather I/O a well. K. Y. Srinivasan (6): Drivers: net: hyperv: Enable scatter gather I/O Drivers: net: hyperv: Cleanup the send path Drivers: net: hyperv: Enable offloads on th

[PATCH 2/6] Drivers: net: hyperv: Cleanup the send path

2014-03-06 Thread K. Y. Srinivasan
In preparation for enabling offloads, cleanup the send path. Signed-off-by: K. Y. Srinivasan Reviewed-by: Haiyang Zhang --- drivers/net/hyperv/hyperv_net.h |7 +--- drivers/net/hyperv/netvsc_drv.c | 87 +--- drivers/net/hyperv/rndis_filter.c | 66

[PATCH 6/6] Drivers: net: hyperv: Enable large send offload

2014-03-06 Thread K. Y. Srinivasan
Enable segmentation offload. Signed-off-by: K. Y. Srinivasan Reviewed-by: Haiyang Zhang --- drivers/net/hyperv/hyperv_net.h | 40 +++ drivers/net/hyperv/netvsc_drv.c | 38 +--- 2 files changed, 74 insertions(+), 4 deletions

[PATCH 1/6] Drivers: net: hyperv: Enable scatter gather I/O

2014-03-06 Thread K. Y. Srinivasan
Cleanup the code and enable scatter gather I/O. Signed-off-by: K. Y. Srinivasan Reviewed-by: Haiyang Zhang --- drivers/net/hyperv/netvsc_drv.c | 155 +-- 1 files changed, 116 insertions(+), 39 deletions(-) diff --git a/drivers/net/hyperv/netvsc_drv.c b/driv

[PATCH 5/6] Drivers: net: hyperv: Enable send side checksum offload

2014-03-06 Thread K. Y. Srinivasan
Enable send side checksum offload. Signed-off-by: K. Y. Srinivasan Reviewed-by: Haiyang Zhang --- drivers/net/hyperv/netvsc_drv.c | 70 +- 1 files changed, 68 insertions(+), 2 deletions(-) diff --git a/drivers/net/hyperv/netvsc_drv.c b/drivers/net/hyperv/n

[PATCH 4/6] Drivers: net: hyperv: Enable receive side IP checksum offload

2014-03-06 Thread K. Y. Srinivasan
Enable receive side checksum offload. Signed-off-by: K. Y. Srinivasan Reviewed-by: Haiyang Zhang --- drivers/net/hyperv/hyperv_net.h | 33 - drivers/net/hyperv/netvsc_drv.c | 20 drivers/net/hyperv/rndis_filter.c |4 +++- 3 files

[PATCH 3/6] Drivers: net: hyperv: Enable offloads on the host

2014-03-06 Thread K. Y. Srinivasan
Prior to enabling guest side offloads, enable the offloads on the host. Signed-off-by: K. Y. Srinivasan Reviewed-by: Haiyang Zhang --- drivers/net/hyperv/hyperv_net.h | 55 drivers/net/hyperv/rndis_filter.c | 83 + 2 files chang

Re: [PATCH v2] [media] v4l: omap4iss: Add DEBUG compiler flag

2014-03-06 Thread Paul Bolle
On Wed, 2014-03-05 at 20:45 -0800, Greg Kroah-Hartman wrote: > On Thu, Mar 06, 2014 at 01:48:29AM +0100, Laurent Pinchart wrote: > > Would you recommend to drop driver-specific Kconfig options related to > > debugging and use CONFIG_DYNAMIC_DEBUG instead ? > > Yes, please do that, no one wants to

Re: [PATCH v2] [media] v4l: omap4iss: Add DEBUG compiler flag

2014-03-06 Thread Laurent Pinchart
Hi Joe, On Wednesday 05 March 2014 19:25:47 Joe Perches wrote: > On Thu, 2014-03-06 at 02:52 +0100, Laurent Pinchart wrote: > > I've thought about that, but it would require iss.h to be included before > > all other headers. I've also thought about creating an iss-debug.h header > > to be included

Re: [PATCH v2] [media] v4l: omap4iss: Add DEBUG compiler flag

2014-03-06 Thread Laurent Pinchart
Hi Greg, On Wednesday 05 March 2014 20:45:29 Greg Kroah-Hartman wrote: > On Thu, Mar 06, 2014 at 01:48:29AM +0100, Laurent Pinchart wrote: > > On Wednesday 05 March 2014 16:28:03 Joe Perches wrote: > > > On Thu, 2014-03-06 at 00:50 +0100, Laurent Pinchart wrote: > > > > Please note that -DDEBUG is

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

2014-03-06 Thread Guennadi Liakhovetski
Hi Russell, Sorry for a long delay. On Wed, 26 Feb 2014, Russell King - ARM Linux wrote: [snip] > Better bindings for imx-drm are currently being worked on. Philipp > Zabel of Pengutronix is currently looking at it, and has posted many > RFC patches on this very subject, including moving the V

Re: [PATCH v2] [media] v4l: omap4iss: Add DEBUG compiler flag

2014-03-06 Thread Mauro Carvalho Chehab
Em Thu, 06 Mar 2014 12:00:30 +0100 Laurent Pinchart escreveu: > Hi Greg, > > On Wednesday 05 March 2014 20:45:29 Greg Kroah-Hartman wrote: > > On Thu, Mar 06, 2014 at 01:48:29AM +0100, Laurent Pinchart wrote: > > > On Wednesday 05 March 2014 16:28:03 Joe Perches wrote: > > > > On Thu, 2014-03-06

Re: [PATCH] staging: dgap: remove useless cast on kzalloc()

2014-03-06 Thread Mark Hounschell
On 03/06/2014 01:17 AM, Daeseok Youn wrote: coccinelle warning: drivers/staging/dgap/dgap.c:782:3-7: WARNING: casting value returned by k[cmz]alloc to (char *) is useless. drivers/staging/dgap/dgap.c:776:2-16: WARNING: casting value returned by k[cmz]alloc to (struct board_t *) is useless.

Re: [PATCH v5 06/11] imx-drm: imx-tve: Fix DDC I2C bus property

2014-03-06 Thread Russell King - ARM Linux
On Wed, Mar 05, 2014 at 10:20:57AM +0100, Philipp Zabel wrote: > This patch fixes the TV Encoder DDC I2C bus property to use the common > 'ddc-i2c-bus' property name instead of 'ddc'. Looking at both hdmi and tve, the ddc part is very similar. The difference is how the probe is handled: imx-hdmi

Re: [PATCH v5 06/11] imx-drm: imx-tve: Fix DDC I2C bus property

2014-03-06 Thread Philipp Zabel
Hi Russell, Am Donnerstag, den 06.03.2014, 13:03 + schrieb Russell King - ARM Linux: > On Wed, Mar 05, 2014 at 10:20:57AM +0100, Philipp Zabel wrote: > > This patch fixes the TV Encoder DDC I2C bus property to use the common > > 'ddc-i2c-bus' property name instead of 'ddc'. > > Looking at bot

[PATCH 1/2] imx-drm: imx-ldb: Add drm_panel support

2014-03-06 Thread Philipp Zabel
This patch allows to optionally attach the lvds-channel to a panel supported by a drm_panel driver instead of supplying the modes via device tree. Before: ldb { ... lvds-channel@0 { ... display-timings {

[PATCH 2/2] imx-drm: imx-ldb: Use OF graph to find connected panel

2014-03-06 Thread Philipp Zabel
This patch depends on the OF graph parsing helper and imx-drm-dt series. It allows to connect the panel to the output port (port@1 on i.MX53, port@4 on i.MX6) via the OF graph bindings. Signed-off-by: Philipp Zabel --- drivers/staging/imx-drm/imx-ldb.c | 19 ++- 1 file changed, 1

Re: [PATCH 2/2] imx-drm: imx-ldb: Use OF graph to find connected panel

2014-03-06 Thread Philipp Zabel
Am Donnerstag, den 06.03.2014, 14:54 +0100 schrieb Philipp Zabel: > This patch depends on the OF graph parsing helper and imx-drm-dt series. > It allows to connect the panel to the output port (port@1 on i.MX53, port@4 > on i.MX6) via the OF graph bindings. If we postpone this until the imx-drm-dt

Re: [PATCH 01/03] staging: dgap: fix a few more 80+ lines as reported by checkpatch

2014-03-06 Thread Mark Hounschell
On 03/05/2014 04:39 PM, Dan Carpenter wrote: Btw, if you don't get any messages from me that means I have given your patch the stamp of approval. So good job on your previous patchset. :) On Wed, Mar 05, 2014 at 03:54:49PM -0500, Mark Hounschell wrote: @@ -1613,7 +1616,8 @@ static void dgap_t

Re: [PATCH 3/3] staging: unisys: Fix MAINTAINERS and TODO

2014-03-06 Thread Ken Cox
On 03/05/2014 10:40 PM, Greg KH wrote: On Wed, Mar 05, 2014 at 02:52:26PM -0600, Ken Cox wrote: Add the Unisys s-Par maintainer entry to the MAINTAINERS file. Add Greg Kroah-Hartman to the list of patch recipients in the TODO file Signed-off-by: Ken Cox --- MAINTAINERS

Re: [PATCH 01/03] staging: dgap: fix a few more 80+ lines as reported by checkpatch

2014-03-06 Thread Dan Carpenter
On Thu, Mar 06, 2014 at 09:19:08AM -0500, Mark Hounschell wrote: > >Function arguments line up: > > > > memcpy(ch->ch_sniff_buf + ch->ch_sniff_in, p, > >r); > > > > As you say below, "Breaking the lines up like this isn't ideal". > Th

Re: usb driver

2014-03-06 Thread Greg KH
On Wed, Mar 05, 2014 at 10:36:53PM -0800, Kalyan Kodamagula wrote: > Hi, > >   Iam new to this ML,I need info regarding Usb device drivers.I had learned > Lnx device drivers and having >  knowledge on USB Host driver(highlevel). > >   I had seen probe/read/write functions of a driver.As there is

Re: [PATCH 02/03] staging: dgap: fix a few more 80+ lines as reported by checkpatch

2014-03-06 Thread Mark Hounschell
On 03/05/2014 04:47 PM, Dan Carpenter wrote: On Wed, Mar 05, 2014 at 03:54:50PM -0500, Mark Hounschell wrote: @@ -2953,7 +2955,8 @@ static int dgap_tty_write(struct tty_struct *tty, const unsigned char *buf, int if (down_interruptible(&dgap_TmpWriteSem))

Re: [PATCH 02/03] staging: dgap: fix a few more 80+ lines as reported by checkpatch

2014-03-06 Thread Dan Carpenter
On Thu, Mar 06, 2014 at 09:56:29AM -0500, Mark Hounschell wrote: > On 03/05/2014 04:47 PM, Dan Carpenter wrote: > >On Wed, Mar 05, 2014 at 03:54:50PM -0500, Mark Hounschell wrote: > >>@@ -2953,7 +2955,8 @@ static int dgap_tty_write(struct tty_struct *tty, > >>const unsigned char *buf, int > >>

[PATCH] staging: cxt1e1: removed version string declaration

2014-03-06 Thread Shaun Laing
Removed the unneeded pmcc4_OSSI_release version string, as well as the now unused 'release' element of the sbe_card_info struct. This also resolves a sparse "should it be static" warning. Signed-off-by: Shaun Laing --- V2: changed to remove the version string entirely. Compiles, but I can't test

Re: [PATCH v2] staging: usbip: claim ports used by shared devices

2014-03-06 Thread Alan Stern
On Thu, 6 Mar 2014, Valentina Manea wrote: > A device should not be able to be used concurrently both by > the server and the client. Claiming the port used by the > shared device ensures no interface drivers bind to it and > that it is not usable from the server. > > Signed-off-by: Valentina Man

Re: [PATCH 02/03] staging: dgap: fix a few more 80+ lines as reported by checkpatch

2014-03-06 Thread Mark Hounschell
On 03/06/2014 10:11 AM, Dan Carpenter wrote: On Thu, Mar 06, 2014 at 09:56:29AM -0500, Mark Hounschell wrote: On 03/05/2014 04:47 PM, Dan Carpenter wrote: On Wed, Mar 05, 2014 at 03:54:50PM -0500, Mark Hounschell wrote: @@ -2953,7 +2955,8 @@ static int dgap_tty_write(struct tty_struct *tty, co

[PATCH 1/1] staging: unisys: Fix MAINTAINERS

2014-03-06 Thread Romer, Benjamin M
This patch updates the MAINTAINERS file to add the maintainer for the Unisys s-Par driver set. Signed-off-by: Ken Cox signed-off-by: Ben Romer diff --git a/MAINTAINERS b/MAINTAINERS index c3ff623..06dc169 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -9031,6 +9031,11 @@ F: include/linux/cd

Re: [PATCH 3/3] staging: unisys: Fix MAINTAINERS and TODO

2014-03-06 Thread Romer, Benjamin M
On Thu, 2014-03-06 at 08:47 -0600, Ken Cox wrote: > On 03/05/2014 10:40 PM, Greg KH wrote: > > On Wed, Mar 05, 2014 at 02:52:26PM -0600, Ken Cox wrote: > >> Add the Unisys s-Par maintainer entry to the MAINTAINERS file. > >> Add Greg Kroah-Hartman to the list of patch recipients in the TODO file >

[PATCH v9][ 1/8] [media] v4l2: add new V4L2_PIX_FMT_RGB666 pixel format.

2014-03-06 Thread Denis Carikli
That new macro is needed by the imx_drm staging driver for supporting the QVGA display of the eukrea-cpuimx51 board. Signed-off-by: Denis Carikli Acked-by: Mauro Carvalho Chehab Acked-by: Laurent Pinchart --- ChangeLog v8->v9: - Removed the Cc. They are now set in git-send-email directly. Ch

[PATCH v9][ 2/8] staging: imx-drm: Add RGB666 support for parallel display.

2014-03-06 Thread Denis Carikli
Signed-off-by: Denis Carikli --- ChangeLog v8->v9: - Removed the Cc. They are now set in git-send-email directly. - Rebased. ChangeLog v7->v8: - Shrinked even more the Cc list. ChangeLog v6->v7: - Shrinked even more the Cc list. ChangeLog v5->v6: - Remove people not concerned by this patch from

[PATCH v9][ 3/8] staging: imx-drm: Correct BGR666 and the board's dts that use them.

2014-03-06 Thread Denis Carikli
The current BGR666 is not consistent with the other color mapings like BGR24. BGR666 should be in the same byte order than BGR24. Signed-off-by: Denis Carikli --- ChangeLog v8->v9: - Removed the Cc. They are now set in git-send-email directly. ChangeLog v7->v8: - Shrinked even more the Cc list.

[PATCH v9][ 7/8] ARM: dts: mbimx51sd: Add display support.

2014-03-06 Thread Denis Carikli
The CMO-QVGA, DVI-SVGA and DVI-VGA are added. Signed-off-by: Denis Carikli --- ChangeLog v8->v9: - Removed the Cc. They are now set in git-send-email directly. - updated pixelclk-active after the following patch: "imx-drm: Match ipu_di_signal_cfg's clk_pol with its description." ChangeLog v7->

[PATCH v9][ 5/8] staging: imx-drm: Use de-active and pixelclk-active display-timings.

2014-03-06 Thread Denis Carikli
If de-active and/or pixelclk-active properties were set in the display-timings DT node, they were not used. Instead the data-enable and the pixel data clock polarity were hardcoded. The dts were updated to keep the former behaviour. Signed-off-by: Denis Carikli --- ChangeLog v8->v9: - Removed t

[PATCH v9][ 8/8] ARM: dts: mbimx51sd: Add CMO-QVGA backlight support.

2014-03-06 Thread Denis Carikli
Signed-off-by: Denis Carikli --- ChangeLog v8->v9: - Removed the Cc. They are now set in git-send-email directly. - The backlight is now on at boot. ChangeLog v6->v7: - Shrinked even more the Cc list. ChangeLog v5->v6: - Reordered the Cc list. ChangeLog v3->v5: - Updated to the new GPIO defines

[PATCH v9][ 4/8] imx-drm: Match ipu_di_signal_cfg's clk_pol with its description.

2014-03-06 Thread Denis Carikli
According to the datasheet, setting the di0_polarity_disp_clk field in the GENERAL di register sets the output clock polarity to active high. Signed-off-by: Denis Carikli --- ChangeLog v8->v9: - New patch that is now needed by the "staging: imx-drm: Use de-active and pixelclk-active" patch. ---

[PATCH v9][ 6/8] staging: imx-drm: parallel display: add regulator support.

2014-03-06 Thread Denis Carikli
Signed-off-by: Denis Carikli --- ChangeLog v8->v9: - Removed the Cc. They are now set in git-send-email directly. - Rebased. ChangeLog v7->v8: - Shrinked even more the Cc list. - Rebased. ChangeLog v6->v7: - Shrinked even more the Cc list. - Rebased the patch and included video/of_display_timing

Re: [PATCH 01/12] staging: usbip: userspace: migrate usbip_bind to libudev

2014-03-06 Thread Shuah Khan
On 03/04/2014 12:10 PM, Valentina Manea wrote: This patch adds autoconf check for libudev and migrates usbip_bind to the new library. libsysfs will still be used until all userspace is modified. Signed-off-by: Valentina Manea --- drivers/staging/usbip/userspace/configure.ac | 6 + .

Re: [PATCH] staging: usbip: userspace: increase version to 2.0

2014-03-06 Thread Greg KH
On Wed, Mar 05, 2014 at 11:30:06PM -0800, Andrew Grover wrote: > On Wed, Mar 5, 2014 at 10:14 PM, Valentina Manea > wrote: > > On Tue, Mar 4, 2014 at 9:20 PM, Greg KH wrote: > >> On Tue, Mar 04, 2014 at 09:16:39PM +0200, Valentina Manea wrote: > >>> -AC_INIT([usbip-utils], [1.1.1], [linux-...@vge

Re: [PATCH v9][ 7/8] ARM: dts: mbimx51sd: Add display support.

2014-03-06 Thread Philipp Zabel
Hi Denis, Am Donnerstag, den 06.03.2014, 17:04 +0100 schrieb Denis Carikli: [...] > +&display { > + status = "okay"; > + display-timings { > + model = "DVI-SVGA"; Does this board really have a DVI connector and no I2C bus routed to the DDC pins? > + bits-per-pixel

Re: [PATCH v9][ 6/8] staging: imx-drm: parallel display: add regulator support.

2014-03-06 Thread Philipp Zabel
Hi Denis, Am Donnerstag, den 06.03.2014, 17:04 +0100 schrieb Denis Carikli: > diff --git > a/Documentation/devicetree/bindings/staging/imx-drm/fsl-imx-drm.txt > b/Documentation/devicetree/bindings/staging/imx-drm/fsl-imx-drm.txt > index 2d24425..4dd7ce5 100644 > --- a/Documentation/devicetree/bi

Re: [PATCH v9][ 3/8] staging: imx-drm: Correct BGR666 and the board's dts that use them.

2014-03-06 Thread Philipp Zabel
Hi Denis, Am Donnerstag, den 06.03.2014, 17:01 +0100 schrieb Denis Carikli: > The current BGR666 is not consistent with the other color mapings like BGR24. > BGR666 should be in the same byte order than BGR24. > > Signed-off-by: Denis Carikli patches 1 to 3 Acked-by: Philipp Zabel You should a

Re: [PATCH 03/12] staging: usbip: userspace: migrate usbip_unbind to libudev

2014-03-06 Thread Shuah Khan
On 03/04/2014 12:10 PM, Valentina Manea wrote: This patch modifies usbip_unbind to use libudev. Signed-off-by: Valentina Manea --- drivers/staging/usbip/userspace/src/usbip_unbind.c | 92 +++--- 1 file changed, 29 insertions(+), 63 deletions(-) diff --git a/drivers/staging/u

Re: [PATCH v9][ 6/8] staging: imx-drm: parallel display: add regulator support.

2014-03-06 Thread Alexander Shiyan
Четверг, 6 марта 2014, 17:29 +01:00 от Philipp Zabel : > Hi Denis, > > Am Donnerstag, den 06.03.2014, 17:04 +0100 schrieb Denis Carikli: > > diff --git > > a/Documentation/devicetree/bindings/staging/imx-drm/fsl-imx-drm.txt > > b/Documentation/devicetree/bindings/staging/imx-drm/fsl-imx-drm.txt

RE: [PATCH v2 1/2] Staging: comedi: range: tidy up comedi_check_chanlist()

2014-03-06 Thread Hartley Sweeten
On Wednesday, March 05, 2014 11:57 PM, Fred Akers wrote: > > Refactor this function to remove an extra indent level > > Signed-off-by: Fred Akers Reviewed-by: H Hartley Sweeten Thanks ___ devel mailing list de...@linuxdriverproject.org http://driverde

RE: [PATCH v2 2/2] Staging: comedi: range: remove unnecessary sanity check

2014-03-06 Thread Hartley Sweeten
On Wednesday, March 05, 2014 11:57 PM, Fred Akers wrote: > This check is unnecessary because range_table will always be > initialized to range_unknown by comedi_device_postconfig() for > drivers that do not initialize range_table or range_table_list > > Signed-off-by: Fred Akers Reviewed-by: H Ha

Re: [PATCH v2] [media] v4l: omap4iss: Add DEBUG compiler flag

2014-03-06 Thread Joe Perches
On Thu, 2014-03-06 at 11:55 +0100, Laurent Pinchart wrote: > We thus need the #define DEBUG it appear before the first time device.h is > included, either directly or indirectly. Adding #define DEBUG to iss.h won't > work now as iss.h is included after all system includes (which is the usual > p

RE: [PATCH 1/5] Staging: comedi: addi-data: tidy up digital input register map defines in hwdrv_apci1564.c

2014-03-06 Thread Hartley Sweeten
On Thursday, March 06, 2014 12:25 AM, Chase Southwood wrote: > This patch for hwdrv_apci1564.c fixes the register map defines for the > digital input registers such that they are all the real offsets to each > register, rather than a mix of real offsets and adders to those offsets. > Additionally,

RE: [PATCH 2/5] Staging: comedi: addi-data: tidy up digital output register map defines in hwdrv_apci1564.c

2014-03-06 Thread Hartley Sweeten
On Thursday, March 06, 2014 12:26 AM, Chase Southwood wrote: > This patch for hwdrv_apci1564.c fixes the register map defines for the > digital output registers such that they are all the real offsets to each > register, rather than a mix of real offsets and adders to those offsets. > Additionally,

RE: [PATCH 4/5] Staging: comedi: addi-data: tidy up timer register map defines in hwdrv_apci1564.c

2014-03-06 Thread Hartley Sweeten
On Thursday, March 06, 2014 12:26 AM, Chase Southwood wrote: > This patch for hwdrv_apci1564.c fixes the register map defines for the > timer registers such that they are all the real offsets to each register, > rather than a mix of real offsets and adders to those offsets. > Additionally, the defi

RE: [PATCH 3/5] Staging: comedi: addi-data: tidy up watchdog register map defines in hwdrv_apci1564.c

2014-03-06 Thread Hartley Sweeten
On Thursday, March 06, 2014 12:26 AM, Chase Southwood wrote: > This patch for hwdrv_apci1564.c fixes the register map defines for the > watchdog registers such that they are all the real offsets to each > register, rather than a mix of real offsets and adders to those offsets. > Additionally, the d

RE: [PATCH 5/5] Staging: comedi: addi-data: tidy up counter register map defines in hwdrv_apci1564.c

2014-03-06 Thread Hartley Sweeten
On Thursday, March 06, 2014 12:26 AM, Chase Southwood wrote: > This patch for hwdrv_apci1564.c fixes the register map defines for the > digital input registers such that they are all the real offsets to each > register, rather than a mix of real offsets and adders to those offsets. > > Signed-off-b

[PATCH 01/03 v2] staging: dgap: fix a few more 80+ lines as reported by checkpatch

2014-03-06 Thread Mark Hounschell
This patch fixes a few 80+ char lines as reported by checkpatch Signed-off-by: Mark Hounschell Cc: Greg Kroah-Hartman --- drivers/staging/dgap/dgap.c | 52 + 1 file changed, 34 insertions(+), 18 deletions(-) diff --git a/drivers/staging/dgap/dgap.c b

[PATCH 04/04] staging: dgap: Remove some dead code

2014-03-06 Thread Mark Hounschell
This patch removes more dead code and code associated with that dead code. The from_user variable in the dgap_tty_write function was never true. The code under its test was never being executed. So variables and functions supporting only that code are also dead. Signed-off-by: Mark Hounschell C

Re: [PATCH 01/12] staging: usbip: userspace: migrate usbip_bind to libudev

2014-03-06 Thread Dan Carpenter
On Thu, Mar 06, 2014 at 09:15:01AM -0700, Shuah Khan wrote: > >--- a/drivers/staging/usbip/userspace/libsrc/usbip_common.h > >+++ b/drivers/staging/usbip/userspace/libsrc/usbip_common.h > >@@ -29,6 +29,15 @@ > > #define USBIP_HOST_DRV_NAME"usbip-host" > > #define USBIP_VHCI_DRV_NAME

[PATCH] Staging: unisys: virthba: Add dependency on SCSI

2014-03-06 Thread Ken Cox
If CONFIG_SCSI is not enabled, compiling virthba.c goes horribly wrong with undefined symbols. Signed-off-by: Ken Cox --- drivers/staging/unisys/virthba/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/unisys/virthba/Kconfig b/drivers/staging/unisys/vi

[PATCH 05/05] staging: dgap: Remove printks associated with sysfile creation

2014-03-06 Thread Mark Hounschell
This patch removes printks associated with sysfile creation and changes the dgap_create_driver_sysfiles function to return an int so we can check for errors in the sysfile creation process. The printk's were flagged by checkpatch but then driver_create_file was flagged by checkpatch for not chec

[PATCH 0/2] staging: comedi: tidy up the COMEDI_CMD{TEST} ioctls

2014-03-06 Thread H Hartley Sweeten
Introduce some helper functions to handle the user space to kernel space copying of the comedi_cmd and chanlist data for the COMEDI_CMD and COMEDI_CMDTEST ioctls. This gets all the dev_dbg() into one place and clarifies the functions a bit. H Hartley Sweeten (2): staging: comedi: comedi_fops: i

[PATCH 2/2] staging: comedi: comedi_fops: introduce __comedi_get_user_chanlist()

2014-03-06 Thread H Hartley Sweeten
The COMEDI_CMD and COMEDI_CMDTEST ioctl functions both copy the chanlist passed by the user from __user memory space to kernel memory space. They then do some sanity checking of the chanlist with comedi_check_chanlist() before the subdevice (*do_cmdtest) and (*do_cmd) operations are called. Introd

[PATCH 1/2] staging: comedi: comedi_fops: introduce __comedi_get_user_cmd()

2014-03-06 Thread H Hartley Sweeten
The COMEDI_CMD and COMEDI_CMDTEST ioctl functions both copy the comedi_cmd passed by the user from __user memory space to kernel memory space. They then do some basic sanity checking of the cmd before the subdevice (*do_cmdtest) and (*do_cmd) operations are called. Introduce a helper function to h

Re: [PATCH] Staging: unisys: virthba: Add dependency on SCSI

2014-03-06 Thread Greg KH
On Thu, Mar 06, 2014 at 12:57:00PM -0600, Ken Cox wrote: > If CONFIG_SCSI is not enabled, compiling virthba.c goes horribly wrong with > undefined symbols. > > Signed-off-by: Ken Cox > --- You forgot a "Reported-by:" line saying how you found out about this issue... _

Re: [PATCH 02/03] staging: dgap: fix a few more 80+ lines as reported by checkpatch

2014-03-06 Thread Mark Hounschell
On 03/05/2014 04:47 PM, Dan Carpenter wrote: On Wed, Mar 05, 2014 at 03:54:50PM -0500, Mark Hounschell wrote: @@ -2953,7 +2955,8 @@ static int dgap_tty_write(struct tty_struct *tty, const unsigned char *buf, int if (down_interruptible(&dgap_TmpWriteSem))

Re: [PATCH 1/6] Drivers: net: hyperv: Enable scatter gather I/O

2014-03-06 Thread David Miller
From: "K. Y. Srinivasan" Date: Thu, 6 Mar 2014 03:13:05 -0800 > @@ -140,21 +140,125 @@ static void netvsc_xmit_completion(void *context) > dev_kfree_skb_any(skb); > } > > +static u32 fill_pg_buf(struct page *page, u32 offset, u32 len, > + struct hv_page_buffe

Re: [PATCH 05/05] staging: dgap: Remove printks associated with sysfile creation

2014-03-06 Thread Dan Carpenter
On Thu, Mar 06, 2014 at 01:57:55PM -0500, Mark Hounschell wrote: > This patch removes printks associated with sysfile creation > and changes the dgap_create_driver_sysfiles function to return > an int so we can check for errors in the sysfile creation > process. > > The printk's were flagged by

Re: [PATCH 2/6] Drivers: net: hyperv: Cleanup the send path

2014-03-06 Thread David Miller
From: "K. Y. Srinivasan" Date: Thu, 6 Mar 2014 03:13:06 -0800 > In preparation for enabling offloads, cleanup the send path. > > Signed-off-by: K. Y. Srinivasan > Reviewed-by: Haiyang Zhang > --- > drivers/net/hyperv/hyperv_net.h |7 +--- > drivers/net/hyperv/netvsc_drv.c | 87

Re: [PATCH 4/6] Drivers: net: hyperv: Enable receive side IP checksum offload

2014-03-06 Thread David Miller
From: "K. Y. Srinivasan" Date: Thu, 6 Mar 2014 03:13:08 -0800 > + /* > + * We only look at the IP checksum here. > + * Should we be dropping the packet if checksum > + * failed? How do we deal with other checksums - TCP/UDP? > + */

Re: [PATCH 3/6] Drivers: net: hyperv: Enable offloads on the host

2014-03-06 Thread David Miller
From: "K. Y. Srinivasan" Date: Thu, 6 Mar 2014 03:13:07 -0800 > + /* > + * can't put_rndis_request, since we may still receive a > + * send-completion. > + */ Please fix the formatting of this comment. > + /* > + * Turn on the offload

Re: [PATCH 02/03] staging: dgap: fix a few more 80+ lines as reported by checkpatch

2014-03-06 Thread Dan Carpenter
On Thu, Mar 06, 2014 at 02:26:17PM -0500, Mark Hounschell wrote: > On 03/05/2014 04:47 PM, Dan Carpenter wrote: > >On Wed, Mar 05, 2014 at 03:54:50PM -0500, Mark Hounschell wrote: > >>@@ -2953,7 +2955,8 @@ static int dgap_tty_write(struct tty_struct *tty, > >>const unsigned char *buf, int > >>

Re: [PATCH 5/6] Drivers: net: hyperv: Enable send side checksum offload

2014-03-06 Thread David Miller
From: "K. Y. Srinivasan" Date: Thu, 6 Mar 2014 03:13:09 -0800 > +bool get_net_transport_info(struct sk_buff *skb, bool *is_v4, > + bool *is_tcp, bool *is_udp, u32 *trans_off) > +{ Returning so many values like this is awkward, at best. Why not return a well defined

Re: [PATCH 6/6] Drivers: net: hyperv: Enable large send offload

2014-03-06 Thread David Miller
From: "K. Y. Srinivasan" Date: Thu, 6 Mar 2014 03:13:10 -0800 > + ppi = init_ppi_data(rndis_msg, NDIS_LSO_PPI_SIZE, > + TCP_LARGESEND_PKTINFO); This is not indented properly, "TCP_LARGESEND_PKTINFO);" should start at the first column after the openning parenthesi

Re: [PATCH 3/6] Drivers: net: hyperv: Enable offloads on the host

2014-03-06 Thread Dan Carpenter
On Thu, Mar 06, 2014 at 03:13:07AM -0800, K. Y. Srinivasan wrote: > + offload_params = (struct ndis_offload_params *)((ulong)set + > + set->info_buf_offset); It's a bit simpler to do pointer math like this: offload_params = (void *)set + set->info_buf_offse

[Patch V2] Staging: unisys: virthba: Add dependency on SCSI

2014-03-06 Thread Ken Cox
If CONFIG_SCSI is not enabled, compiling virthba.c goes horribly wrong with undefined symbols. Reported-by: kbuild test robot Signed-off-by: Ken Cox --- drivers/staging/unisys/virthba/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/unisys/virthba/Kcon

Re: [PATCH 05/05] staging: dgap: Remove printks associated with sysfile creation

2014-03-06 Thread Mark Hounschell
On 03/06/2014 02:29 PM, Dan Carpenter wrote: On Thu, Mar 06, 2014 at 01:57:55PM -0500, Mark Hounschell wrote: This patch removes printks associated with sysfile creation and changes the dgap_create_driver_sysfiles function to return an int so we can check for errors in the sysfile creation proce

Re: [PATCH 1/2] lustre/mdc_lib: fix possible null pointer dereference

2014-03-06 Thread Greg KH
On Wed, Mar 05, 2014 at 09:53:06PM +0300, Dan Carpenter wrote: > On Wed, Mar 05, 2014 at 02:04:35PM +0100, Maxin B. John wrote: > > From: "Maxin B. John" > > > > cppcheck reported possible null pointer dereference in mdc_lib.c > > > > [lustre/lustre/mdc/mdc_lib.c:233]: (error) Possible null poin

Re: [PATCH 2/2] lustre/lov_obd: fix possible null pointer dereference

2014-03-06 Thread Greg KH
On Wed, Mar 05, 2014 at 02:04:36PM +0100, Maxin B. John wrote: > From: "Maxin B. John" > > osc_obd can be NULL. cppcheck reported this: > [lustre/lustre/lov/lov_obd.c:283]: (error) Possible null pointer dereference: > osc_obd - otherwise it is redundant to check if osc_obd is null at line 295 Sa

Re: [PATCH 05/05] staging: dgap: Remove printks associated with sysfile creation

2014-03-06 Thread Dan Carpenter
On Thu, Mar 06, 2014 at 02:48:13PM -0500, Mark Hounschell wrote: > > want me to do this is in a separate patch or redo this one? > Separate patch is fine. regards, dan carpenter ___ devel mailing list de...@linuxdriverproject.org http://driverdev.lin

Re: [firefly] [PATCH 06/12] staging: usbip: userspace: add new list API

2014-03-06 Thread Greg KH
On Thu, Mar 06, 2014 at 07:45:27AM +0200, Valentina Manea wrote: > > > > On Wed, Mar 5, 2014 at 12:16 PM, Dan Carpenter > wrote: > > On Tue, Mar 04, 2014 at 10:35:39PM -0800, Greg KH wrote: > > On Tue, Mar 04, 2014 at 09:10:46PM +0200, Valentina Manea wrote: > > > Add a new list AP

Re: [PATCH 4/7 v3] staging: cxt1e1: fix checkpatch error 'assignment in if condition'

2014-03-06 Thread Greg KH
On Wed, Mar 05, 2014 at 10:21:01AM +0900, Daeseok Youn wrote: > > checkpatch.pl error in linux.c: > ERROR: do not use assignment in if condition > > Signed-off-by: Daeseok Youn > --- > drivers/staging/cxt1e1/linux.c | 31 +++ > 1 files changed, 19 insertions(+), 1

Re: [PATCH v2 7/7] staging: cxt1e1: remove unneeded a value

2014-03-06 Thread Greg KH
On Thu, Mar 06, 2014 at 05:12:48PM +0900, Daeseok Youn wrote: > > It doesn't need to assign name array address to np pointer. > > Signed-off-by: Daeseok Youn > --- > v2: replace sprintf() with snprintf() and remove memset() call > because snprintf() adds a terminating '\0' Your Subject: does no

Re: [PATCH 1/1] staging: unisys: Fix MAINTAINERS

2014-03-06 Thread gre...@linuxfoundation.org
On Thu, Mar 06, 2014 at 10:01:04AM -0600, Romer, Benjamin M wrote: > This patch updates the MAINTAINERS file to add the maintainer for the > Unisys s-Par driver set. > > Signed-off-by: Ken Cox > signed-off-by: Ben Romer Please capitalize things properly. And your From: address does not match y

[PATCH 06/06] staging: dgap: Simplify and cleanup dgap_init_module function

2014-03-06 Thread Mark Hounschell
This patch simplifies and cleans up the dgap_init_module function. It also fixes a possible double free condition as a result pci_unregister_driver possibly being called twice. Signed-off-by: Mark Hounschell Cc: Greg Kroah-Hartman --- drivers/staging/dgap/dgap.c | 38 +--

RE: [PATCH 5/6] Drivers: net: hyperv: Enable send side checksum offload

2014-03-06 Thread KY Srinivasan
> -Original Message- > From: David Miller [mailto:da...@davemloft.net] > Sent: Friday, March 7, 2014 1:04 AM > To: KY Srinivasan > Cc: net...@vger.kernel.org; linux-ker...@vger.kernel.org; > de...@linuxdriverproject.org; o...@aepfle.de; a...@canonical.com; > jasow...@redhat.com > Subject:

Re: [PATCH 5/6] Drivers: net: hyperv: Enable send side checksum offload

2014-03-06 Thread David Miller
From: KY Srinivasan Date: Thu, 6 Mar 2014 20:29:13 + > > >> -Original Message- >> From: David Miller [mailto:da...@davemloft.net] >> Sent: Friday, March 7, 2014 1:04 AM >> To: KY Srinivasan >> Cc: net...@vger.kernel.org; linux-ker...@vger.kernel.org; >> de...@linuxdriverproject.org;

Re: [PATCH 04/12] staging: usbip: userspace: migrate usbip_list to libudev

2014-03-06 Thread Shuah Khan
On 03/04/2014 12:10 PM, Valentina Manea wrote: This patch modifies usbip_list to use libudev. Signed-off-by: Valentina Manea --- drivers/staging/usbip/userspace/src/usbip_list.c | 137 +-- 1 file changed, 51 insertions(+), 86 deletions(-) diff --git a/drivers/staging/usb

RE: [PATCH 5/6] Drivers: net: hyperv: Enable send side checksum offload

2014-03-06 Thread KY Srinivasan
> -Original Message- > From: David Miller [mailto:da...@davemloft.net] > Sent: Friday, March 7, 2014 2:19 AM > To: KY Srinivasan > Cc: net...@vger.kernel.org; linux-ker...@vger.kernel.org; > de...@linuxdriverproject.org; o...@aepfle.de; a...@canonical.com; > jasow...@redhat.com > Subject:

re: staging: virthba driver to access shared SCSI hba

2014-03-06 Thread Dan Carpenter
Hello Ken Cox, The patch dc95086172db: "staging: virthba driver to access shared SCSI hba" from Mar 4, 2014, leads to the following Sparse warning: drivers/staging/unisys/virthba/virthba.c:1442:24: warning: Variable length array is used. drivers/staging/unisys/virthba/virthba.c

Re: [PATCH 05/12] staging: usbip: userspace: re-add interface information listing

2014-03-06 Thread Shuah Khan
On 03/04/2014 12:10 PM, Valentina Manea wrote: This was deleted in the driver conversion patch. It didn't need to be deleted; showing more information is ok. Signed-off-by: Valentina Manea --- drivers/staging/usbip/userspace/src/usbip_list.c | 20 +++- drivers/staging/usbip/u

Re: staging: virthba driver to access shared SCSI hba

2014-03-06 Thread Greg KH
On Fri, Mar 07, 2014 at 12:11:10AM +0300, Dan Carpenter wrote: > Hello Ken Cox, > > The patch dc95086172db: "staging: virthba driver to access shared > SCSI hba" from Mar 4, 2014, leads to the following Sparse warning: > > drivers/staging/unisys/virthba/virthba.c:1442:24: warning: > V

re: staging: visoruislib driver used to handle requests from virtpci

2014-03-06 Thread Dan Carpenter
Hello Ken Cox, The patch bac8a4d5d29b: "staging: visoruislib driver used to handle requests from virtpci" from Mar 4, 2014, leads to the following Smatch warning (but you need to run with --spammy to see it): drivers/staging/unisys/uislib/uislib.c:1688 info_proc_read_helper() warn

Re: [PATCH 1/2] lustre/mdc_lib: fix possible null pointer dereference

2014-03-06 Thread Maxin B. John
Hi, On Thu, Mar 6, 2014 at 8:51 PM, Greg KH wrote: > On Wed, Mar 05, 2014 at 09:53:06PM +0300, Dan Carpenter wrote: >> On Wed, Mar 05, 2014 at 02:04:35PM +0100, Maxin B. John wrote: >> > From: "Maxin B. John" >> > >> > cppcheck reported possible null pointer dereference in mdc_lib.c >> > >> > [l

Re: [PATCH 08/12] staging: usbip: userspace: migrate usbip_host_driver to libudev

2014-03-06 Thread Shuah Khan
On 03/04/2014 12:10 PM, Valentina Manea wrote: This patch modifies usbip_host_driver to use libudev. Signed-off-by: Valentina Manea --- .../staging/usbip/userspace/libsrc/usbip_common.c | 74 ++ .../staging/usbip/userspace/libsrc/usbip_common.h | 5 +- .../usbip/userspace/libsrc/us

Re: [PATCH 09/12] staging: usbip: userspace: remove class device infrastructure in vhci_driver

2014-03-06 Thread Shuah Khan
On 03/04/2014 12:10 PM, Valentina Manea wrote: The class device lists were used only when being initialized, being populated and being destroyed. They had no real meaning and thus the code was useless. Signed-off-by: Valentina Manea --- .../staging/usbip/userspace/libsrc/vhci_driver.c | 178

Re: [PATCH 10/12] staging: usbip: userspace: migrate vhci_driver to libudev

2014-03-06 Thread Shuah Khan
On 03/04/2014 12:10 PM, Valentina Manea wrote: This patch migrates vhci_driver to libudev. Signed-off-by: Valentina Manea --- .../staging/usbip/userspace/libsrc/usbip_common.h | 1 - .../staging/usbip/userspace/libsrc/vhci_driver.c | 154 ++--- .../staging/usbip/userspa

Re: [PATCH 1/3] staging: dgap: remove unneeded status variables

2014-03-06 Thread Greg Kroah-Hartman
On Mon, Mar 03, 2014 at 01:08:06AM +0400, Alexey Khoroshilov wrote: > dgap_driver_start and dgap_Major_Control_Registered are used > to keep status of initialization of the driver as a whole and its "Major > Control". > But the code that checks them is executed once on module init/unload. > That m

Re: [PATCH 4/7 v3] staging: cxt1e1: fix checkpatch error 'assignment in if condition'

2014-03-06 Thread DaeSeok Youn
Sorry for confusing you. Actually 1-3 patches already merged to staging-next branch. And then I had a request resending the rest of the series. So I just sent 4-7 again. Sorry, I should rebase these patches and make a series newly. I will send patches again properly. I think this patches need to

  1   2   >