RE: [PATCH v3] video: hyperv: hyperv_fb: refresh the VM screen by force on VM panic

2014-07-25 Thread Dexuan Cui
> -Original Message- > From: gre...@linuxfoundation.org [mailto:gre...@linuxfoundation.org] > Sent: Thursday, July 24, 2014 11:53 AM > > So, hi Greg and all, > > If you think the patch itself is OK, may I know if it's OK for the patch to > > go > > into Greg's char-misc.git tree, as some o

[PATCH 04/12] staging: comedi: amplc_pc236: no need to manipulate PCI ref count

2014-07-25 Thread Ian Abbott
Now that this driver no longer supports "manual" attachment of PCI devices in its `attach` hook (`pc236_attach()`), it no longer has code that searches for a suitable PCI device and increments its reference count. Since the driver no longer has any reason for incrementing and decrementing the PCI

[PATCH 01/12] staging: comedi: amplc_pc236: reformat header comments

2014-07-25 Thread Ian Abbott
Use preferred style for copyright and driver description comments. Signed-off-by: Ian Abbott --- drivers/staging/comedi/drivers/amplc_pc236.c | 92 ++-- 1 file changed, 46 insertions(+), 46 deletions(-) diff --git a/drivers/staging/comedi/drivers/amplc_pc236.c b/drivers

[PATCH 12/12] staging: comedi: amplc_pc236: set board_name before common attach

2014-07-25 Thread Ian Abbott
For PCI boards, the `auto_attach` handler, `pc236_auto_attach()`, initializes `dev->board_ptr` to point to a `struct pc236_board`, but leaves `dev->board_name` unchanged. The Comedi core will have initialized `dev->board_name` to the `driver_name` string member of `amplc_pc236_driver`. For consis

[PATCH 07/12] staging: comedi: amplc_pc236: remove 'model' member

2014-07-25 Thread Ian Abbott
The `model` member of `struct pc236_board` is no longer used since the code to remove manual configuration of PCI devices was removed. Get rid of it. Signed-off-by: Ian Abbott --- drivers/staging/comedi/drivers/amplc_pc236.c | 4 1 file changed, 4 deletions(-) diff --git a/drivers/staging

[PATCH 09/12] staging: comedi: amplc_pc236: don't check bus type in attach

2014-07-25 Thread Ian Abbott
Since the legacy attach routine `pc236_attach()` is only called for board names matching an entry in our array of ISA boards `pc236_isa_boards[]`, and it is reasonable to expect all elements of `pc236_isa_boards[]` to have their `bustype` member initialized correctly to `isa_bustype`, don't bother

[PATCH 03/12] staging: comedi: amplc_pc236: remove manual configuration of PCI boards

2014-07-25 Thread Ian Abbott
Remove the code that allows PCI boards to be manually attached by the `COMEDI_DEVCONFIG` ioctl (or the "comedi_config" application). Supported PCI boards (PCI236) will be attached automatically at probe time via `comedi_pci_auto_config()` and the `auto_attach` hook in the `struct comedi_driver`. T

[PATCH 05/12] staging: comedi: amplc_pc236: no need to set hw_dev

2014-07-25 Thread Ian Abbott
The call to `comedi_set_hw_dev()` from `pc236_pci_common_attach()` is now unnecessary since `pc236_pci_common_attach()` is now only called from this driver's `auto_attach` hook `pc236_auto_attach()` and the comedi core now calls `comedi_set_hw_dev()` before calling that. Remove the unnecessary cal

[PATCH 00/12] staging: comedi: amplc_pc236: remove legacy PCI attach and tidy up

2014-07-25 Thread Ian Abbott
The "amplc_pc236" driver supports both ISA cards (Amplicon PC36AT) and PCI cards (PCI236). I plan to split it into separate drivers with a module for common code, but let's reorganise it a bit first. The driver still supports manual attachment of PCI devices via the `COMEDI_DEVCONFIG` ioctl and t

[PATCH 11/12] staging: comedi: amplc_pc236: remove PCI device ID macros

2014-07-25 Thread Ian Abbott
The `PCI_DEVICE_ID_AMPLICON_PCI236` macro is only used once, in the module device table, so remove it and expand the macro in the table. `The `PCI_DEVICE_ID_INVALID` macro is no longer used, so remove it. Signed-off-by: Ian Abbott --- drivers/staging/comedi/drivers/amplc_pc236.c | 8 ++-- 1

[PATCH 08/12] staging: comedi: amplc_pc236: split pc236_boards[] into ISA & PCI

2014-07-25 Thread Ian Abbott
Split `pc236_boards[]` into `pc236_isa_boards[]` for ISA cards and `pc236_pci_boards[]` for PCI cards (there is only one of each). Only initialize the board name look-up members of `struct comedi_driver amplc_pc236_driver` if the ISA part of the driver is enabled in the kernel config (`CONFIG_COME

[PATCH 02/12] staging: comedi: amplc_pc236: remove some boilerplate comments

2014-07-25 Thread Ian Abbott
Signed-off-by: Ian Abbott --- drivers/staging/comedi/drivers/amplc_pc236.c | 21 - 1 file changed, 21 deletions(-) diff --git a/drivers/staging/comedi/drivers/amplc_pc236.c b/drivers/staging/comedi/drivers/amplc_pc236.c index 9d64e45..7600319 100644 --- a/drivers/staging/com

[PATCH 10/12] staging: comedi: amplc_pc236: Simplify PCI board look-up

2014-07-25 Thread Ian Abbott
Since only a single PCI board is supported by the driver, there is no need to call `pc236_find_pci_board()` to find the a board entry with matching PCI device ID in `pc236_pci_boards[]`. Just point to the entry directly and remove the look-up function. In fact, there is no reason for `pc236_pci_b

[PATCH 06/12] staging: comedi: amplc_pc236: absorb pc236_pci_common_attach()

2014-07-25 Thread Ian Abbott
Absorb `pc236_pci_common_attach()` into `pc236_auto_attach()` since that's the only place it is called from. Signed-off-by: Ian Abbott --- drivers/staging/comedi/drivers/amplc_pc236.c | 26 +- 1 file changed, 9 insertions(+), 17 deletions(-) diff --git a/drivers/staging/

[PATCH] Staging: unisys: Fix code style

2014-07-25 Thread Arjun AK
>From 8e7748dd81cf63c62dbef8f102e97da1d4d5d90a Mon Sep 17 00:00:00 2001 From: Arjun AK Date: Fri, 25 Jul 2014 15:09:11 +0530 Subject: [PATCH] Staging: unisys: Fix code style Fixes code style in multiple files Signed-off-by: Arjun AK --- drivers/staging/unisys/channels/chanstub.c | 2

Re: [PATCH] Staging: unisys: Fix code style

2014-07-25 Thread Dan Carpenter
On Fri, Jul 25, 2014 at 03:37:41PM +0530, Arjun AK wrote: > >From 8e7748dd81cf63c62dbef8f102e97da1d4d5d90a Mon Sep 17 00:00:00 2001 > From: Arjun AK > Date: Fri, 25 Jul 2014 15:09:11 +0530 > Subject: [PATCH] Staging: unisys: Fix code style > > Fixes code style in multiple files > > Signed-off-by

Re: [PATCH 1/3] staging: dgng: Fix Macros with complex values should be enclosed in parenthesis

2014-07-25 Thread Dan Carpenter
On Fri, Jul 25, 2014 at 12:26:51AM +0900, Seunghun Lee wrote: > This patch fixes a checkpatch errors > "Macros with complex values should be enclosed in parenthesis" > > Signed-off-by: Seunghun Lee > --- > drivers/staging/dgnc/dgnc_driver.h | 40 > drivers/staging/dgnc

Re: [PATCH 1/6 v3] staging: unisys: move installer to sysfs and split fields

2014-07-25 Thread Dan Carpenter
On Thu, Jul 24, 2014 at 02:08:42PM -0400, Benjamin Romer wrote: > +static ssize_t error_store(struct device *dev, struct device_attribute *attr, > + const char *buf, size_t count) > +{ > + u32 error; > + > + if (sscanf(buf, "%i\n", &error) == 1) { > + if (visorchanne

Re: [PATCH 5/6 v3] staging: unisys: move parahotplug to sysfs

2014-07-25 Thread Dan Carpenter
On Thu, Jul 24, 2014 at 02:08:46PM -0400, Benjamin Romer wrote: > + if (kstrtouint(buf, 10, &id) != 1) > return -EINVAL; Obviously this doesn't work. Btw, you should update your test suite to prevent this kind of embarassing typo in the future. ;) Also I was reviewing enable_i

Re: [PATCH 00/40] staging: comedi: ni_tio: clean up driver

2014-07-25 Thread Ian Abbott
On 2014-07-24 18:14, H Hartley Sweeten wrote: Start cleaning up this driver by: 1) fix all the checkpatch.pl warnings WARNING: line over 80 characters WARNING: Unnecessary space before function pointer arguments WARNING: Prefer [foo]_err to printk(KERN_ERR ... 2) remove a

Re: [PATCH 00/14] staging: vt6655: Sparse and checkpatch fixes

2014-07-25 Thread Dan Carpenter
On Fri, Jul 25, 2014 at 01:06:14AM +0200, Guillaume Clement wrote: > This patchset fixes a lot of minor checkpatch and sparse warnings. These look nice. regards, dan carpenter ___ devel mailing list de...@linuxdriverproject.org http://driverdev.linuxdr

Re: [PATCH] staging: vt6655: tag data as __user in struct tagSCmdRequest

2014-07-25 Thread Dan Carpenter
On Fri, Jul 25, 2014 at 01:07:40AM +0200, Guillaume Clement wrote: > diff --git a/drivers/staging/vt6655/iwctl.c b/drivers/staging/vt6655/iwctl.c > index 501cd64..9291259 100644 > --- a/drivers/staging/vt6655/iwctl.c > +++ b/drivers/staging/vt6655/iwctl.c > @@ -1621,14 +1621,17 @@ int iwctl_giwauth

Re: [PATCH] staging: vt6655: tag data as __user in struct tagSCmdRequest

2014-07-25 Thread Guillaume CLÉMENT
On Fri, Jul 25, 2014 at 02:52:34PM +0300, Dan Carpenter wrote: > On Fri, Jul 25, 2014 at 01:07:40AM +0200, Guillaume Clement wrote: > > diff --git a/drivers/staging/vt6655/iwctl.c b/drivers/staging/vt6655/iwctl.c > > index 501cd64..9291259 100644 > > --- a/drivers/staging/vt6655/iwctl.c > > +++ b/d

Re: [PATCH] staging: vt6655: tag data as __user in struct tagSCmdRequest

2014-07-25 Thread Dan Carpenter
On Fri, Jul 25, 2014 at 02:25:06PM +0200, Guillaume CLÉMENT wrote: > On Fri, Jul 25, 2014 at 02:52:34PM +0300, Dan Carpenter wrote: > > On Fri, Jul 25, 2014 at 01:07:40AM +0200, Guillaume Clement wrote: > > > diff --git a/drivers/staging/vt6655/iwctl.c > > > b/drivers/staging/vt6655/iwctl.c > > >

[PATCH] staging: vt6655: fix direct dereferencing of user pointer

2014-07-25 Thread Guillaume Clement
Sparse reported that the data from tagSCmdRequest is given by userspace, so it should be tagged as such. Later, we were memcomparing and dereferencing it without first copying it, fix that as well. Signed-off-by: Guillaume Clement --- drivers/staging/vt6655/iocmd.h | 2 +- drivers/staging/vt66

Re: [PATCH 1/6 v3] staging: unisys: move installer to sysfs and split fields

2014-07-25 Thread Romer, Benjamin M
On Fri, 2014-07-25 at 14:05 +0300, Dan Carpenter wrote: > visorchannel_write() returns either 0 or -EFAULT so this condition is > never true. This bug occurs in several places. Thank you for catching my mistake. I'll fix this and change visorchannel_write() to return -EIO as you suggested. > Lo

Re: How to replace control code in gdm72xx?

2014-07-25 Thread Michalis Pappas
On 07/17/2014 01:59 AM, Ben Chan wrote: > > From what I read from the user-space code, the custom ioctl is to read > the following information from the driver: > > enum { > SIOC_DATA_FSM, // Device/Connection State > SIOC_DATA_NETLIST, // Network list > SIOC_DATA_CONNN

[PATCH] staging: bcm: DDRInit.c: fixed coding style: lines over 80 char

2014-07-25 Thread Sudip Mukherjee
Signed-off-by: Sudip Mukherjee --- drivers/staging/bcm/DDRInit.c | 59 --- 1 file changed, 39 insertions(+), 20 deletions(-) diff --git a/drivers/staging/bcm/DDRInit.c b/drivers/staging/bcm/DDRInit.c index 4564f40..4226c93 100644 --- a/drivers/staging/bcm

[PATCHv2] Staging: vt6655: remove redundant comments from card.h

2014-07-25 Thread Igor Bezukh
Removed redundant comments from card.h header file. Signed-off-by: Igor Bezukh --- v2 changes: fixed diffstat output and fixed the diff itself. drivers/staging/vt6655/card.h | 10 +- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/drivers/staging/vt6655/card.h b/driver

[PATCH] Staging: vt6655: removed redundant comments from channel.h

2014-07-25 Thread Igor Bezukh
Removed redundant comments from channel.h header file. Signed-off-by: Igor Bezukh --- drivers/staging/vt6655/channel.h |4 1 file changed, 4 deletions(-) diff --git a/drivers/staging/vt6655/channel.h b/drivers/staging/vt6655/channel.h index c9931d7..4f44c8a 100644 --- a/drivers/staging

[PATCH] Staging: vt6655: removed redundant comments from country.h

2014-07-25 Thread Igor Bezukh
Removed redundant comments from country.h header file Signed-off-by: Igor Bezukh --- drivers/staging/vt6655/country.h |1 - 1 file changed, 1 deletion(-) diff --git a/drivers/staging/vt6655/country.h b/drivers/staging/vt6655/country.h index 415e767..2365fb1 100644 --- a/drivers/staging/vt66

[PATCH] Staging: vt6655: removed redundant comments from datarate.h

2014-07-25 Thread Igor Bezukh
Removed redundant comments from datarate.h header file. Signed-off-by: Igor Bezukh --- drivers/staging/vt6655/datarate.h | 28 +--- 1 file changed, 9 insertions(+), 19 deletions(-) diff --git a/drivers/staging/vt6655/datarate.h b/drivers/staging/vt6655/datarate.h inde

[PATCH] Staging: vt6655: removed redundant comments from desc.h

2014-07-25 Thread Igor Bezukh
Removed redundant comments from desc.h header file. Signed-off-by: Igor Bezukh C99 style comments will be fixed in further patches. --- drivers/staging/vt6655/desc.h | 185 +++-- 1 file changed, 87 insertions(+), 98 deletions(-) diff --git a/drivers/staging/

[PATCH] Staging: vt6655: removed redundant comments from device_cfg.h

2014-07-25 Thread Igor Bezukh
Removed redundant comments from device_cfg.h header file. Signed-off-by: Igor Bezukh --- drivers/staging/vt6655/device_cfg.h |3 --- 1 file changed, 3 deletions(-) diff --git a/drivers/staging/vt6655/device_cfg.h b/drivers/staging/vt6655/device_cfg.h index 1137ade..6adc0dd 100644 --- a/dri

[PATCH] Staging: vt6655: removed redundant comments from device.h

2014-07-25 Thread Igor Bezukh
Removed redundant comments from device.h header file. Signed-off-by: Igor Bezukh --- drivers/staging/vt6655/device.h | 82 ++- 1 file changed, 21 insertions(+), 61 deletions(-) diff --git a/drivers/staging/vt6655/device.h b/drivers/staging/vt6655/device.h i

[PATCH] Staging: vt6655: removed redundant comments from dpc.h

2014-07-25 Thread Igor Bezukh
Removed redundant comments from dpc.h header file. Signed-off-by: Igor Bezukh --- drivers/staging/vt6655/dpc.h |8 1 file changed, 8 deletions(-) diff --git a/drivers/staging/vt6655/dpc.h b/drivers/staging/vt6655/dpc.h index 0ce3155..0c7e0e7 100644 --- a/drivers/staging/vt6655/dpc.

[PATCH] Staging: vt6655: removed redundant comments from hostap.h

2014-07-25 Thread Igor Bezukh
Removed redundant comments from hostap.h header file. Signed-off-by: Igor Bezukh --- drivers/staging/vt6655/hostap.h |8 1 file changed, 8 deletions(-) diff --git a/drivers/staging/vt6655/hostap.h b/drivers/staging/vt6655/hostap.h index f1a4f2ef..6e801a4 100644 --- a/drivers/stagin

[PATCH] Staging: vt6655: removed redundant comments from IEEE11h.h

2014-07-25 Thread Igor Bezukh
Removed redundant comments from IEEE11h.h header file. Signed-off-by: Igor Bezukh --- drivers/staging/vt6655/IEEE11h.h | 10 -- 1 file changed, 10 deletions(-) diff --git a/drivers/staging/vt6655/IEEE11h.h b/drivers/staging/vt6655/IEEE11h.h index 8819fa1..5519220 100644 --- a/drivers/

[PATCH] Staging: vt6655: removed redundant comments from iocmd.h

2014-07-25 Thread Igor Bezukh
Removed redundant comments from iocmd.h header file. Signed-off-by: Igor Bezukh --- drivers/staging/vt6655/iocmd.h | 23 +-- 1 file changed, 1 insertion(+), 22 deletions(-) diff --git a/drivers/staging/vt6655/iocmd.h b/drivers/staging/vt6655/iocmd.h index e499f1b..ae037ec

[PATCH] Staging: vt6655: removed redundant comments from ioctl.h

2014-07-25 Thread Igor Bezukh
Removed redundant comments from ioctl.h header file. Signed-off-by: Igor Bezukh --- drivers/staging/vt6655/ioctl.h |8 1 file changed, 8 deletions(-) diff --git a/drivers/staging/vt6655/ioctl.h b/drivers/staging/vt6655/ioctl.h index 2f0db92..187fc91 100644 --- a/drivers/staging/vt6

[PATCH] Staging: vt6655: removed redundant comments from iowpa.h

2014-07-25 Thread Igor Bezukh
Removed redundant comments from iowpa.h header file. Signed-off-by: Igor Bezukh --- drivers/staging/vt6655/iowpa.h | 10 -- 1 file changed, 10 deletions(-) diff --git a/drivers/staging/vt6655/iowpa.h b/drivers/staging/vt6655/iowpa.h index b7bd190..772bc4c 100644 --- a/drivers/staging/

[PATCH] Staging: vt6655: removed redundant comments from iwctl.h

2014-07-25 Thread Igor Bezukh
Removed redundant comments from iwctl.h header file. Signed-off-by: Igor Bezukh --- drivers/staging/vt6655/iwctl.h | 12 +--- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/drivers/staging/vt6655/iwctl.h b/drivers/staging/vt6655/iwctl.h index 871bd7c..83a5a2d 100644 ---

[PATCH] Staging: vt6655: removed redundant comments from key.h

2014-07-25 Thread Igor Bezukh
Removed redundant comments from key.h header file. Signed-off-by: Igor Bezukh --- drivers/staging/vt6655/key.h | 26 +++--- 1 file changed, 7 insertions(+), 19 deletions(-) diff --git a/drivers/staging/vt6655/key.h b/drivers/staging/vt6655/key.h index 4b8b4b6..f0cbd75 1006

[PATCH] Staging: vt6655: removed redundant comments from mac.h

2014-07-25 Thread Igor Bezukh
Removed redundant comments from mac.h header file. Signed-off-by: Igor Bezukh --- drivers/staging/vt6655/mac.h | 388 -- 1 file changed, 188 insertions(+), 200 deletions(-) diff --git a/drivers/staging/vt6655/mac.h b/drivers/staging/vt6655/mac.h index 73

RE: [PATCH v2 3/3] [SCSI] Make LBP quirk skip lbpme checks tests

2014-07-25 Thread KY Srinivasan
> -Original Message- > From: Martin K. Petersen [mailto:martin.peter...@oracle.com] > Sent: Thursday, July 24, 2014 8:54 AM > To: Sitsofe Wheeler > Cc: Martin K. Petersen; Christoph Hellwig; KY Srinivasan; > gre...@linuxfoundation.org; linux-ker...@vger.kernel.org; > de...@linuxdriverproj

[PATCH] staging: dgnc: remove commented code

2014-07-25 Thread Seunghun Lee
This patch removes commented code in dgnc driver. CC: Lidza Louina CC: Mark Hounschell Signed-off-by: Seunghun Lee --- drivers/staging/dgnc/dgnc_cls.c |5 +- drivers/staging/dgnc/dgnc_trace.c | 123 - drivers/staging/dgnc/dgnc_trace.h | 10 --- driv

[PATCH] Staging: vt6655: removed redundant comments from mib.h

2014-07-25 Thread Igor Bezukh
Removed redundant comments from mib.h header file. Signed-off-by: Igor Bezukh --- drivers/staging/vt6655/mib.h | 45 +++--- 1 file changed, 16 insertions(+), 29 deletions(-) diff --git a/drivers/staging/vt6655/mib.h b/drivers/staging/vt6655/mib.h index c0a5

[PATCH] Staging: vt6655: removed redundant comments from michael.h

2014-07-25 Thread Igor Bezukh
Removed redundant comments from michael.h header file. Signed-off-by: Igor Bezukh --- drivers/staging/vt6655/michael.h |6 -- 1 file changed, 6 deletions(-) diff --git a/drivers/staging/vt6655/michael.h b/drivers/staging/vt6655/michael.h index f6c2c15..86cb140 100644 --- a/drivers/stagi

[PATCH] Staging: vt6655: removed redundant comments from power.h

2014-07-25 Thread Igor Bezukh
Removed redundant comments from power.h header file. Signed-off-by: Igor Bezukh --- drivers/staging/vt6655/power.h |9 - 1 file changed, 9 deletions(-) diff --git a/drivers/staging/vt6655/power.h b/drivers/staging/vt6655/power.h index ce56124..936f171 100644 --- a/drivers/staging/vt

Re: [PATCH v2 3/3] [SCSI] Make LBP quirk skip lbpme checks tests

2014-07-25 Thread Martin K. Petersen
> "KY" == KY Srinivasan writes: KY> For the pass through case, the host validates the request and passes KY> the request to the device. However, not all scsi commands are KY> passed through even though the device it is being passed through may KY> support the command. WRITE_SAME is one such

[PATCH 1/3] staging: comedi: amplc_dio200_common: prevent extra free_irq()

2014-07-25 Thread Ian Abbott
`dio200_detach()` in "amplc_dio200.c" calls `amplc_dio200_common_detach()` in "amplc_dio200_common.c", followed by `comedi_legacy_detach()` in "../drivers.c". Both of those functions call `free_irq()` if `dev->irq` is non-zero. The second call produces a warning message because the handler has al

[PATCH 3/3] staging: comedi: amplc_dio200_pci: no need to test board pointer in dio200_pci_detach()

2014-07-25 Thread Ian Abbott
`dio200_pci_detach()` doesn't need to check if the pointer to constant board data (`thisboard`) and the pointer to private per-device data (`devpriv`) are valid before calling `amplc_dio200_common_detach()`. It has no further need to check `thisboard` so remove the variable altogether. Move the t

[PATCH 0/3] staging: comedi: amplc_dio200 detach cleanups

2014-07-25 Thread Ian Abbott
Fix a double free_irq() and do a bit more cleaning up of the "detach" routines. 1) staging: comedi: amplc_dio200_common: prevent extra free_irq() 2) staging: comedi: amplc_dio200_common: remove some tests from amplc_dio200_common_detach() 3) staging: comedi: amplc_dio200_pci: no need to test bo

[PATCH 2/3] staging: comedi: amplc_dio200_common: remove some tests from amplc_dio200_common_detach()

2014-07-25 Thread Ian Abbott
`amplc_dio200_common_detach()` doesn't do much apart from freeing the IRQ handler that was requested by `amplc_dio200_common_attach()` if `dev->irq` is non-zero. There is no need to check if the pointer to the constant board data or the pointer to private per-device data exist, so remove those tes

Re: [PATCH v2 3/3] [SCSI] Make LBP quirk skip lbpme checks tests

2014-07-25 Thread James Bottomley
On Fri, 2014-07-25 at 16:47 +, KY Srinivasan wrote: > > > -Original Message- > > From: Martin K. Petersen [mailto:martin.peter...@oracle.com] > > Sent: Thursday, July 24, 2014 8:54 AM > > To: Sitsofe Wheeler > > Cc: Martin K. Petersen; Christoph Hellwig; KY Srinivasan; > > gre...@linux

RE: [PATCH 01/12] staging: comedi: amplc_pc236: reformat header comments

2014-07-25 Thread Hartley Sweeten
On Friday, July 25, 2014 2:05 AM, Ian Abbott wrote: > Use preferred style for copyright and driver description comments. > > Signed-off-by: Ian Abbott > --- > drivers/staging/comedi/drivers/amplc_pc236.c | 92 > ++-- > 1 file changed, 46 insertions(+), 46 deletions(-) > >

Re: Anybody working on sep?

2014-07-25 Thread Kristina Martšenko
On 23/06/14 23:32, Kristina Martšenko wrote: > Hi Mark, > > I'm helping Greg do a bit of cleanup in the staging tree. I noticed that > nobody seems to have worked towards moving sep out of staging in over a > year. Are there any plans to clean it up and move it out soon? No response from Mark her

RE: [PATCH 00/12] staging: comedi: amplc_pc236: remove legacy PCI attach and tidy up

2014-07-25 Thread Hartley Sweeten
On Friday, July 25, 2014 2:05 AM, Ian Abbott wrote: > The "amplc_pc236" driver supports both ISA cards (Amplicon PC36AT) and PCI > cards (PCI236). I plan to split it into separate drivers with a module for > common code, but let's reorganise it a bit first. > > The driver still supports manual a

[PATCH] staging: unisys: fix visorchipset sysfs attribute functions

2014-07-25 Thread Benjamin Romer
This patch cleans up the style, error handling, and string handling in the sysfs functions recently added to visorchipset: - Use of sscanf() was changed to type-appropriate kstrto*() functions - error handling was simplified - the error return value of visorchannel_write() was corrected - switch u

Re: [PATCH] staging: unisys: fix visorchipset sysfs attribute functions

2014-07-25 Thread Denis Kirjanov
On 7/25/14, Benjamin Romer wrote: > This patch cleans up the style, error handling, and string handling in the > sysfs > functions recently added to visorchipset: Split your changes and send one logical change per patch > > - Use of sscanf() was changed to type-appropriate kstrto*() functions >

RE: [PATCH 00/12] staging: comedi: amplc_pc236: remove legacy PCI attach and tidy up

2014-07-25 Thread Hartley Sweeten
On Friday, July 25, 2014 10:37 AM, Hartley Sweeten wrote: > On Friday, July 25, 2014 2:05 AM, Ian Abbott wrote: >> The "amplc_pc236" driver supports both ISA cards (Amplicon PC36AT) and PCI >> cards (PCI236). I plan to split it into separate drivers with a module for >> common code, but let's reor

RE: [PATCH 0/3] staging: comedi: amplc_dio200 detach cleanups

2014-07-25 Thread Hartley Sweeten
On Friday, July 25, 2014 10:07 AM, Ian Abbott wrote: > Fix a double free_irq() and do a bit more cleaning up of the "detach" > routines. > > 1) staging: comedi: amplc_dio200_common: prevent extra free_irq() > 2) staging: comedi: amplc_dio200_common: remove some tests from >amplc_dio200_common_d

RE: [PATCH 1/3] staging: comedi: amplc_dio200_common: prevent extra free_irq()

2014-07-25 Thread Hartley Sweeten
On Friday, July 25, 2014 10:07 AM, Ian Abbott wrote: > `dio200_detach()` in "amplc_dio200.c" calls > `amplc_dio200_common_detach()` in "amplc_dio200_common.c", followed by > `comedi_legacy_detach()` in "../drivers.c". Both of those functions > call `free_irq()` if `dev->irq` is non-zero. The seco

Re: Anybody working on sep?

2014-07-25 Thread Alan Cox
On Fri, 2014-07-25 at 20:17 +0300, Kristina Martšenko wrote: > On 23/06/14 23:32, Kristina Martšenko wrote: > > Hi Mark, > > > > I'm helping Greg do a bit of cleanup in the staging tree. I noticed that > > nobody seems to have worked towards moving sep out of staging in over a > > year. Are there

Re: [PATCH] staging: vt6655: fix direct dereferencing of user pointer

2014-07-25 Thread Malcolm Priestley
Hi Guillaume On 25/07/14 13:47, Guillaume Clement wrote: Sparse reported that the data from tagSCmdRequest is given by userspace, so it should be tagged as such. extra is not in user space All Wireless Extensions ioctl extra calls originate from ioctl_standard_iw_point in wext-core. Either

Re: [PATCH] staging: vt6655: fix direct dereferencing of user pointer

2014-07-25 Thread Malcolm Priestley
Hi Guillaume On 25/07/14 13:47, Guillaume Clement wrote: Sparse reported that the data from tagSCmdRequest is given by userspace, so it should be tagged as such. extra is not in user space All Wireless Extensions ioctl extra calls originate from ioctl_standard_iw_point in wext-core. Either

Re: Anybody working on sep?

2014-07-25 Thread Greg KH
On Fri, Jul 25, 2014 at 10:54:47PM +0100, Alan Cox wrote: > On Fri, 2014-07-25 at 20:17 +0300, Kristina Martšenko wrote: > > On 23/06/14 23:32, Kristina Martšenko wrote: > > > Hi Mark, > > > > > > I'm helping Greg do a bit of cleanup in the staging tree. I noticed that > > > nobody seems to have w

Re: [PATCH] staging: unisys: fix visorchipset sysfs attribute functions

2014-07-25 Thread Dan Carpenter
On Fri, Jul 25, 2014 at 10:08:06PM +0400, Denis Kirjanov wrote: > On 7/25/14, Benjamin Romer wrote: > > This patch cleans up the style, error handling, and string handling in the > > sysfs > > functions recently added to visorchipset: > > Split your changes and send one logical change per patch

Re: [PATCH] Staging: unisys: Fix code style

2014-07-25 Thread Greg KH
On Fri, Jul 25, 2014 at 03:37:41PM +0530, Arjun AK wrote: > >From 8e7748dd81cf63c62dbef8f102e97da1d4d5d90a Mon Sep 17 00:00:00 2001 > From: Arjun AK > Date: Fri, 25 Jul 2014 15:09:11 +0530 > Subject: [PATCH] Staging: unisys: Fix code style Why is all of this here in this message? > > Fixes code