Re: [RFC] ion:change ion_cma_allocate return error value

2015-01-26 Thread Dan Carpenter
On Tue, Jan 27, 2015 at 02:04:21PM +0800, Wang, Yalin wrote: > This patch change the error return value from -1 to -ENOMEM, > so that userspace can get the correct errno, otherwise, > -1 will be -EPERM, userspace will print permission deny for allocation > failure. > > Signed-off-by: Yalin Wang

[RFC] ion:change ion_cma_allocate return error value

2015-01-26 Thread Wang, Yalin
This patch change the error return value from -1 to -ENOMEM, so that userspace can get the correct errno, otherwise, -1 will be -EPERM, userspace will print permission deny for allocation failure. Signed-off-by: Yalin Wang --- drivers/staging/android/ion/ion_cma_heap.c | 6 ++ 1 file changed

Re: make allyesconfig i386 build failure with next-20150122 (caused by fb_agm1264k-fl driver)

2015-01-26 Thread Guenter Roeck
On 01/26/2015 02:46 PM, Greg Kroah-Hartman wrote: On Mon, Jan 26, 2015 at 01:59:59PM -0800, Guenter Roeck wrote: On Thu, Jan 22, 2015 at 12:10:33PM -0700, Jim Davis wrote: make ARCH=i386 allyesconfig fails with drivers/staging/built-in.o: In function `reset': (.text+0x2ae89d): multiple definit

Congratulations to our Super 5 Numbers Winner!!!

2015-01-26 Thread MALTCO LOTTERIES Limited & INTRALOT S.A
Dear Super 5 Winner, The Super 5 is a Lottery game of chance under the supervision of MALTCO LOTTERIES Limited and the Super 5 numbers are randomly drawn from a field of numbers from 1 to 45 and each Super 5 Numbers are attached electronically to recipients email addresses and later entered in

RE: [PATCH v3] Drivers: hv: vmbus: prevent cpu offlining on newer hypervisors

2015-01-26 Thread KY Srinivasan
> -Original Message- > From: Greg Kroah-Hartman [mailto:gre...@linuxfoundation.org] > Sent: Monday, January 26, 2015 2:54 PM > To: Vitaly Kuznetsov > Cc: KY Srinivasan; de...@linuxdriverproject.org; Haiyang Zhang; linux- > ker...@vger.kernel.org; Dexuan Cui > Subject: Re: [PATCH v3] Drive

[PATCH 5/9] staging: comedi: das16: introduce das16_ao_range()

2015-01-26 Thread H Hartley Sweeten
Clarify the (*attach) a bit by introducing a helper function to handle the setup of the analog output 'range_table'. Some of the boards supported by this driver do not have programmable ranges. The analog output subdevice can use optional range information provided by the user during the attach of

[PATCH 2/9] staging: comedi: das16: remove unnecessary das16_ai_disable()

2015-01-26 Thread H Hartley Sweeten
The das16_ai_disable() function disables interrupts and the pacer clock. This function is called by the subdevice (*cancel) operation. The comedi core will not call a subdevice (*insn_read) operation while an async command is running due to the s->busy check in parse_insn(). Since all async comman

[PATCH 9/9] staging: comedi: das16: introduce das16_ai_set_mux_range()

2015-01-26 Thread H Hartley Sweeten
Introduce a helper function to program the mux and gain for analog input single channel (*insn_read) and multi-channel (*do_cmd) operations. Signed-off-by: H Hartley Sweeten Cc: Ian Abbott Cc: Greg Kroah-Hartman --- drivers/staging/comedi/drivers/das16.c | 54 +++---

[PATCH 4/9] staging: comedi: das16: introduce das16_ai_range()

2015-01-26 Thread H Hartley Sweeten
Clarify the (*attach) a bit by introducing a helper function to handle the setup of the analog input 'range_table'. Some of the boards supported by this driver do not have programmable ranges. The analog input subdevice can use optional range information provided by the user during the attach of t

[PATCH 8/9] staging: comedi: das16: fix DMA size for short transfers

2015-01-26 Thread H Hartley Sweeten
Currently this driver alwasy programs the DMA transfer to be the allocated size of the DMA buffer. When the async command 'stop_src' is TRIG_COUNT its possible (likely) for the last transfer to be less than the buffer size. Introduce a helper function, das16_ai_setup_dma(), to calculate the actual

[PATCH 1/9] staging: comedi: das16: absorb das16_ai_enable()

2015-01-26 Thread H Hartley Sweeten
This function is only called by das16_cmd_exec(). Absorb it to clarify code. Signed-off-by: H Hartley Sweeten Cc: Ian Abbott Cc: Greg Kroah-Hartman --- drivers/staging/comedi/drivers/das16.c | 26 -- 1 file changed, 8 insertions(+), 18 deletions(-) diff --git a/drivers

[PATCH 3/9] staging: comedi: das16: absorb das16_ai_disable()

2015-01-26 Thread H Hartley Sweeten
This function is only called by das16_cancel(). Absorb it to clarify code. Signed-off-by: H Hartley Sweeten Cc: Ian Abbott Cc: Greg Kroah-Hartman --- drivers/staging/comedi/drivers/das16.c | 17 + 1 file changed, 5 insertions(+), 12 deletions(-) diff --git a/drivers/staging/co

[PATCH 6/9] staging: comedi: das16: change type of private data 'timer_running'

2015-01-26 Thread H Hartley Sweeten
This member of the private data is a true/false flag. For aesthetics, change the type to an unsigned int bit-field to save a bit of space. Signed-off-by: H Hartley Sweeten Cc: Ian Abbott Cc: Greg Kroah-Hartman --- drivers/staging/comedi/drivers/das16.c | 2 +- 1 file changed, 1 insertion(+), 1

[PATCH 7/9] staging: comedi: das16: use comedi_async 'scans_done' to detect EOA

2015-01-26 Thread H Hartley Sweeten
Refactor das16_interrupt() to use the comedi_async 'scans_done' member to detect the End-of-Acquisition for the async command. Use the helper function comedi_nsamples_left() to determine if DMA needs to be restarted. This allows the removal of the private data 'adc_byte_count' and fixes a possible

[PATCH 0/9] staging: comedi: das16: tidy up driver

2015-01-26 Thread H Hartley Sweeten
This series was originally submitted as: [PATCH 0/5] staging: comedi: das16: tidy up ai command operation Ian Abbott pointed out some issues in that series with my changes to the analog input (*do_cmdtest) and (*do_cmd) functions. This series drops those patches and just does some driver tidyin

Re: [PATCH v3] Drivers: hv: vmbus: prevent cpu offlining on newer hypervisors

2015-01-26 Thread Greg Kroah-Hartman
On Mon, Jan 26, 2015 at 11:38:54AM +0100, Vitaly Kuznetsov wrote: > Greg Kroah-Hartman writes: > > > On Mon, Jan 12, 2015 at 05:50:11PM +0100, Vitaly Kuznetsov wrote: > >> When an SMP Hyper-V guest is running on top of 2012R2 Server and secondary > >> cpus are sent offline (with echo 0 > > >> /s

RE: [PATCH v2] net: hyperv: else branch not necessary

2015-01-26 Thread Haiyang Zhang
> -Original Message- > From: Nicholas Mc Guire [mailto:der.h...@hofr.at] > Sent: Sunday, January 25, 2015 1:09 PM > To: KY Srinivasan > Cc: Haiyang Zhang; de...@linuxdriverproject.org; net...@vger.kernel.org; > linux-ker...@vger.kernel.org; Nicholas Mc Guire > Subject: [PATCH v2] net: hyp

Re: make allyesconfig i386 build failure with next-20150122 (caused by fb_agm1264k-fl driver)

2015-01-26 Thread Greg Kroah-Hartman
On Mon, Jan 26, 2015 at 01:59:59PM -0800, Guenter Roeck wrote: > On Thu, Jan 22, 2015 at 12:10:33PM -0700, Jim Davis wrote: > > make ARCH=i386 allyesconfig fails with > > > > drivers/staging/built-in.o: In function `reset': > > (.text+0x2ae89d): multiple definition of `reset' > > drivers/isdn/buil

[PATCH] staging: comedi: pcl812: fix logic error in pcl812_ai_setup_dma()

2015-01-26 Thread H Hartley Sweeten
commit 92afc2b229038d7b962ae69de5b07bc6c1cf51bf inroduced a logic error in the DMA size calculation. If the 'nsamples' is greater than the 'unread_samples' then DMA needs to be restarted. The current code checks it agains the 'max_samples'. Signed-off-by: H Hartley Sweeten Cc: Ian Abbott Cc: Gr

[PATCH v2 1/1] drivers:hv:vmbus drivers:hv:vmbus Allow for more than one MMIO range for children

2015-01-26 Thread Jake Oshins
This set of changes finds the _CRS object in the ACPI namespace that contains memory address space descriptors, intended to convey to VMBus which ranges of memory-mapped I/O space are available for child devices, and then builds a resource list that contains all those ranges. Without this change,

Re: [PATCH] staging: iio: ad2s1200: Fix sign extension

2015-01-26 Thread Jonathan Cameron
On 23/01/15 08:56, Lars-Peter Clausen wrote: > On 01/23/2015 12:09 AM, Rasmus Villemoes wrote: >> The line above makes vel a 12-bit quantity (st->rx[] is u8). The >> intention is to sign-extend vel using bit 11 as the sign bit. But >> because of C's promotion rules "vel = (vel << 4) >> 4;" is actua

Re: [PATCH v2 0/4] iio: mxs-lradc: fix interactions between the touchscreen and the ADC

2015-01-26 Thread Jonathan Cameron
On 25/01/15 18:47, Marek Vasut wrote: > On Sunday, January 25, 2015 at 05:28:18 PM, Kristina Martšenko wrote: >> These patches fix some issues with using the touchscreen and reading >> other ADC channels at the same time. > > [...] > > Hi! > > Thanks! > > Entire series > > Reviewed-by: Marek V

RE: [PATCH 1/5] staging: comedi: das16: simplify cmd->scan_begin_src validation

2015-01-26 Thread Hartley Sweeten
On Monday, January 26, 2015 3:29 AM, Ian Abbott wrote: > On 23/01/15 23:12, H Hartley Sweeten wrote: >> The analog input (*do_cmdtest) in this driver currently validates that the >> scan_begin_src is TRIG_FOLLOW or, if the board can_burst, TRIG_TIMER or >> TRIG_EXT. >> The rest of the driver is co

RE: [PATCH] staging: comedi: addi_apci_1032: add comedi driver comment

2015-01-26 Thread Hartley Sweeten
On Monday, January 26, 2015 7:29 AM, Ian Abbott wrote: > Add a comedi driver comment in a form suitable for importing into > Comedilib documentation. The information about the change-of-state > subdevice has been pulled from other comments in the driver. > > Signed-off-by: Ian Abbott > --- > dri

RE: [PATCH 0/5] staging: comedi: 8255.[ch]: reformat comments

2015-01-26 Thread Hartley Sweeten
On Monday, January 26, 2015 6:25 AM, Ian Abbott wrote: > Reformat comments to usual style and add kerneldoc to exported > functions. > > 1) staging: comedi: 8255.c: reformat copyright comment > 2) staging: comedi: 8255.c: reformat comedi driver comment > 3) staging: comedi: 8255.c: document subdev_

RE: [PATCH 0/3] staging: comedi: 8253.h: reformat comments

2015-01-26 Thread Hartley Sweeten
On Monday, January 26, 2015 5:06 AM, Ian Abbott wrote: > 1) staging: comedi: 8253.h: reformat copyright comment > 2) staging: comedi: 8253.h: reformat other block comments > 3) staging: comedi: 8253.h: use usual style for single-line comments > > drivers/staging/comedi/drivers/8253.h | 92 > +

[PATCH] staging: lustre: lustre: obdclass: obd_mount.c: Fix NULL dereference

2015-01-26 Thread Kumar Amit Mehta
OBD_ALLOC_PTR(uuid) invokes kmalloc, which may return NULL. This fix adds a check before dereferencing such pointer. Signed-off-by: Kumar Amit Mehta --- drivers/staging/lustre/lustre/obdclass/obd_mount.c | 5 + 1 file changed, 5 insertions(+) diff --git a/drivers/staging/lustre/lustre/obdcl

RE: [PATCH v3] Drivers: hv: vmbus: prevent cpu offlining on newer hypervisors

2015-01-26 Thread KY Srinivasan
> -Original Message- > From: Vitaly Kuznetsov [mailto:vkuzn...@redhat.com] > Sent: Monday, January 26, 2015 2:39 AM > To: Greg Kroah-Hartman > Cc: KY Srinivasan; de...@linuxdriverproject.org; Haiyang Zhang; linux- > ker...@vger.kernel.org; Dexuan Cui > Subject: Re: [PATCH v3] Drivers: hv:

Re: [PATCH] staging: rtl8188eu: core: rtw_wlan_util.c: Fix for NULL dereference

2015-01-26 Thread Julia Lawall
On Mon, 26 Jan 2015, Julia Lawall wrote: > On Mon, 26 Jan 2015, Kumar Amit Mehta wrote: > > > In rtw_check_bcn_info(), check the return value of kzalloc() before > > dereferencing it, to avoid NULL pointer dereference. > > > > Signed-off-by: Kumar Amit Mehta > > --- > > drivers/staging/rtl8188

Re: [PATCH] staging: rtl8188eu: core: rtw_wlan_util.c: Fix for NULL dereference

2015-01-26 Thread Julia Lawall
On Mon, 26 Jan 2015, Kumar Amit Mehta wrote: > In rtw_check_bcn_info(), check the return value of kzalloc() before > dereferencing it, to avoid NULL pointer dereference. > > Signed-off-by: Kumar Amit Mehta > --- > drivers/staging/rtl8188eu/core/rtw_wlan_util.c | 2 ++ > 1 file changed, 2 inserti

[PATCH] staging: lustre: lustre: mdc: lproc_mdc.c: Fix for potential NULL pointer dereference

2015-01-26 Thread Kumar Amit Mehta
In mdc_kuc_write(), OBD_ALLOC(lh, len) may leave 'lh' to NULL as kmalloc may fail to allocate memory. This fix adds a check to avoid, dereferencing a NULL pointer. Signed-off-by: Kumar Amit Mehta --- drivers/staging/lustre/lustre/mdc/lproc_mdc.c | 2 ++ 1 file changed, 2 insertions(+) diff --gi

[PATCH] staging: rtl8188eu: core: rtw_wlan_util.c: Fix for NULL dereference

2015-01-26 Thread Kumar Amit Mehta
In rtw_check_bcn_info(), check the return value of kzalloc() before dereferencing it, to avoid NULL pointer dereference. Signed-off-by: Kumar Amit Mehta --- drivers/staging/rtl8188eu/core/rtw_wlan_util.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/staging/rtl8188eu/core/rtw_wla

Re: [PATCH 3.19.0-rc5 02/03] STAGING: Fix pcl818.c coding style issue: line over 80 characters

2015-01-26 Thread Ian Abbott
On 26/01/15 13:17, Simon Guo wrote: Correct one coding style problem(detected by checkpatch.pl) in pcl818.c. - line over 80 characters Signed-off-by: Simon Guo --- drivers/staging/comedi/drivers/pcl818.c | 15 ++- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/dri

Re: [PATCH 3.19.0-rc5 01/03] STAGING: Fix pcl818.c coding style issue: code indent should use tabs where possible

2015-01-26 Thread Ian Abbott
On 26/01/15 13:16, Simon Guo wrote: Correct one coding style problem(detected by checkpatch.pl) in pcl818.c. - code indent should use tabs where possible It is fixed by reformatting the comment block to usual comment style. Signed-off-by: Simon Guo --- drivers/staging/comedi/drivers/pcl818.c

[PATCH] staging: comedi: addi_apci_1032: add comedi driver comment

2015-01-26 Thread Ian Abbott
Add a comedi driver comment in a form suitable for importing into Comedilib documentation. The information about the change-of-state subdevice has been pulled from other comments in the driver. Signed-off-by: Ian Abbott --- drivers/staging/comedi/drivers/addi_apci_1032.c | 78 +++---

[PATCH 3.19.0-rc5 03/03] STAGING: Fix pcl818.c coding style issue: no space before tabs

2015-01-26 Thread Simon Guo
Correct one coding style problem(detected by checkpatch.pl) in pcl818.c. - please, no space before tabs Signed-off-by: Simon Guo --- drivers/staging/comedi/drivers/pcl818.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/comedi/drivers/pcl818.c b/drivers/stag

[PATCH 3.19.0-rc5 02/03] STAGING: Fix pcl818.c coding style issue: line over 80 characters

2015-01-26 Thread Simon Guo
Correct one coding style problem(detected by checkpatch.pl) in pcl818.c. - line over 80 characters Signed-off-by: Simon Guo --- drivers/staging/comedi/drivers/pcl818.c | 15 ++- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/drivers/staging/comedi/drivers/pcl818.c b/

[PATCH 3.19.0-rc5 01/03] STAGING: Fix pcl818.c coding style issue: code indent should use tabs where possible

2015-01-26 Thread Simon Guo
Correct one coding style problem(detected by checkpatch.pl) in pcl818.c. - code indent should use tabs where possible It is fixed by reformatting the comment block to usual comment style. Signed-off-by: Simon Guo --- drivers/staging/comedi/drivers/pcl818.c | 195

Re: [PATCH 0/3] Drivers: hv: vmbus: fix crashes on hv_vmbus load/unload path

2015-01-26 Thread Vitaly Kuznetsov
Vitaly Kuznetsov writes: > It is possible (since 93e5bd06a953: "Drivers: hv: Make the vmbus driver > unloadable") to unload hv_vmbus driver if no other devices are connected. > 1aec169673d7: "x86: Hyperv: Cleanup the irq mess" fixed doulble interrupt > gate setup. However, if we try to unload hv_

RE: [PATCH 3/3 v2] hyperv: hid-hyperv.c: match wait_for_completion_timeout return type

2015-01-26 Thread Jiri Kosina
On Sun, 25 Jan 2015, KY Srinivasan wrote: > > Subject: [PATCH 3/3 v2] hyperv: hid-hyperv.c: match > > wait_for_completion_timeout return type > > > > Signed-off-by: Nicholas Mc Guire > > Thank you. > Signed-off-by: K. Y. Srinivasan Applied. Nicholas, please make sure that next time you format

[PATCH 5/5] staging: comedi: 8255.h: reformat copyright comment

2015-01-26 Thread Ian Abbott
Use the usual block comment style. Signed-off-by: Ian Abbott --- drivers/staging/comedi/drivers/8255.h | 32 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/drivers/staging/comedi/drivers/8255.h b/drivers/staging/comedi/drivers/8255.h index 5985c

[PATCH 3/5] staging: comedi: 8255.c: document subdev_8255_init() and _mm_init()

2015-01-26 Thread Ian Abbott
Add kerneldoc comments for the subdev_8255_init() and subdev_8255_mm_init() functions and remove the other comment about how to use this module in a comedi driver. Signed-off-by: Ian Abbott --- drivers/staging/comedi/drivers/8255.c | 79 --- 1 file changed, 54 ins

[PATCH 4/5] staging: comedi: 8255.c: reformat remaining block comments

2015-01-26 Thread Ian Abbott
Use the usual block comment formatting style. Signed-off-by: Ian Abbott --- drivers/staging/comedi/drivers/8255.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/staging/comedi/drivers/8255.c b/drivers/staging/comedi/drivers/8255.c index 1476157..c2f15de 100644

[PATCH 2/5] staging: comedi: 8255.c: reformat comedi driver comment

2015-01-26 Thread Ian Abbott
Use the usual block comment style. Signed-off-by: Ian Abbott --- drivers/staging/comedi/drivers/8255.c | 61 +-- 1 file changed, 30 insertions(+), 31 deletions(-) diff --git a/drivers/staging/comedi/drivers/8255.c b/drivers/staging/comedi/drivers/8255.c index ed

[PATCH 0/5] staging: comedi: 8255.[ch]: reformat comments

2015-01-26 Thread Ian Abbott
Reformat comments to usual style and add kerneldoc to exported functions. 1) staging: comedi: 8255.c: reformat copyright comment 2) staging: comedi: 8255.c: reformat comedi driver comment 3) staging: comedi: 8255.c: document subdev_8255_init() and _mm_init() 4) staging: comedi: 8255.c: reformat re

[PATCH 1/5] staging: comedi: 8255.c: reformat copyright comment

2015-01-26 Thread Ian Abbott
Use the usual block comment style. Signed-off-by: Ian Abbott --- drivers/staging/comedi/drivers/8255.c | 31 --- 1 file changed, 16 insertions(+), 15 deletions(-) diff --git a/drivers/staging/comedi/drivers/8255.c b/drivers/staging/comedi/drivers/8255.c index 34d4d8

[PATCH] staging: media: lirc: adjust boolean assignments

2015-01-26 Thread Heba Aamer
This patch adjusts boolean assignments from 0/1 to false/true. And accordingly, it also adjusts the if conditions. Signed-off-by: Heba Aamer --- drivers/staging/media/lirc/lirc_serial.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/staging/media/lirc/l

Re: [PATCH 3.19.0-rc5 01/03] STAGING: Fix pcl818.c coding style issue: code indent should use tabs where possible

2015-01-26 Thread Simon Guo
Ian, At 2015/1/26 19:31, Ian Abbott wrote: Okay, but this comment block really needs reformatting to use the usual block comment style, and with spaces to line up the columns instead of tabs so it still looks okay when the " * " is removed from the start of each line of the block comment. Revi

[PATCH v2] staging: rtl8712: fix Prefer [subsystem eg: netdev]_info([subsystem]dev, ... then dev_info(dev, ... then pr_info(... to printk(KERN_INFO ...

2015-01-26 Thread Heba Aamer
This patch fixes the following checkpatch.pl warning: fix Prefer [subsystem eg: netdev]_info([subsystem]dev, ... then dev_info(dev, ... then pr_info(... to printk(KERN_INFO ... Signed-off-by: Heba Aamer --- v2: changed netdev_info to pr_info drivers/staging/rtl8712/usb_intf.c |2 +- 1 file

Re: [PATCH] staging: rtl8712: fix Prefer [subsystem eg: netdev]_info([subsystem]dev, ... then dev_info(dev, ... then pr_info(... to printk(KERN_INFO ...

2015-01-26 Thread Heba Aamer
On Sun, Jan 25, 2015 at 07:57:55PM +0800, Greg KH wrote: > On Sat, Jan 24, 2015 at 10:20:53PM +0200, Heba Aamer wrote: > > This patch fixes the following checkpatch.pl warning: > > fix Prefer [subsystem eg: netdev]_info([subsystem]dev, ... then > > dev_info(dev, ... then pr_info(... to printk(KERN

Re: [PATCH 2/3 v2] hyperv: hyperv_fb.c: match wait_for_completion_timeout return type

2015-01-26 Thread Tomi Valkeinen
Hi, On 25/01/15 16:47, Nicholas Mc Guire wrote: > Signed-off-by: Nicholas Mc Guire > --- > > v2: fixed subject line > > The return type of wait_for_completion_timeout is unsigned long not > int. This patch fixes up the declarations only. > > Patch was compile tested only for x86_64_defconfig +

[PATCH 3/3] staging: comedi: 8253.h: use usual style for single-line comments

2015-01-26 Thread Ian Abbott
Use one space after the opening and one space before the closing of the comment. Signed-off-by: Ian Abbott --- drivers/staging/comedi/drivers/8253.h | 48 +-- 1 file changed, 24 insertions(+), 24 deletions(-) diff --git a/drivers/staging/comedi/drivers/8253.h b/

[PATCH 2/3] staging: comedi: 8253.h: reformat other block comments

2015-01-26 Thread Ian Abbott
Use the usual block comment style. Signed-off-by: Ian Abbott --- drivers/staging/comedi/drivers/8253.h | 12 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/drivers/staging/comedi/drivers/8253.h b/drivers/staging/comedi/drivers/8253.h index 55f1704..0d9aec0 100644 ---

[PATCH 0/3] staging: comedi: 8253.h: reformat comments

2015-01-26 Thread Ian Abbott
1) staging: comedi: 8253.h: reformat copyright comment 2) staging: comedi: 8253.h: reformat other block comments 3) staging: comedi: 8253.h: use usual style for single-line comments drivers/staging/comedi/drivers/8253.h | 92 ++- 1 file changed, 48 insertions(+), 4

[PATCH 1/3] staging: comedi: 8253.h: reformat copyright comment

2015-01-26 Thread Ian Abbott
Use the usual block comment style. Signed-off-by: Ian Abbott --- drivers/staging/comedi/drivers/8253.h | 32 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/drivers/staging/comedi/drivers/8253.h b/drivers/staging/comedi/drivers/8253.h index 9f4c1

Re: [PATCH 3.19.0-rc5 03/03] STAGING: Fix pcl818.c coding style issue: no space before tabs

2015-01-26 Thread Ian Abbott
On 25/01/15 09:48, Simon Guo wrote: Correct one coding style problem(detected by checkpatch.pl) in pcl818.c. - please, no space before tabs Signed-off-by: Simon Guo --- drivers/staging/comedi/drivers/pcl818.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging

Re: [PATCH 3.19.0-rc5 02/03] STAGING: Fix pcl818.c coding style issue: line over 80 characters

2015-01-26 Thread Ian Abbott
On 25/01/15 09:30, Simon Guo wrote: Correct one coding style problem(detected by checkpatch.pl) in pcl818.c. - line over 80 characters Signed-off-by: Simon Guo --- drivers/staging/comedi/drivers/pcl818.c | 14 ++ 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/driv

Re: [PATCH 3.19.0-rc5 01/03] STAGING: Fix pcl818.c coding style issue: code indent should use tabs where possible

2015-01-26 Thread Ian Abbott
On 25/01/15 09:28, Simon Guo wrote: Correct one coding style problem(detected by checkpatch.pl) in pcl818.c. - code indent should use tabs where possible Signed-off-by: Simon Guo --- drivers/staging/comedi/drivers/pcl818.c | 26 +- 1 file changed, 13 insertions(+), 13

Re: [PATCH v1 2/2] Staging: comedi: fix line over 80 characters warning

2015-01-26 Thread Ian Abbott
On 23/01/15 19:11, jitendra kumar khasdev wrote: This is patch to file jr3_pci.c that fix up warning line over 80 character which is found by checkpatch tool. Made change into signature of struct jr3_pci_poll_delay jr3_pci_poll_subdevice function by giving a newline so that 80 character line over

Re: [PATCH v1 1/2] Staging: comedi: fix line over 80 characters warning

2015-01-26 Thread Ian Abbott
On 23/01/15 19:11, jitendra kumar khasdev wrote: This is patch to file jr3_pci.h that fix up warning line over 80 character which is found by checkpatch tool. Signed-off-by: Jitendra Kumar Khasdev --- drivers/staging/comedi/drivers/jr3_pci.h | 5 +++-- 1 file changed, 3 insertions(+), 2 dele

Re: [PATCH 5/5] staging: comedi: das16: only program pacer when convert_src is TRIG_TIMER

2015-01-26 Thread Ian Abbott
On 23/01/15 23:12, H Hartley Sweeten wrote: The (*do_cmdtest) validates the cmd->convert_src as (TRIG_TIMER | TRIG_EXT | TRIG_NOW). Only the TRIG_TIMER source validates the cmd->convert_arg using the i8253_cascade_ns_to_timer() helper. The (*do_cmd) operation should only program the pacer when th

Re: [PATCH v3] Drivers: hv: vmbus: prevent cpu offlining on newer hypervisors

2015-01-26 Thread Vitaly Kuznetsov
Greg Kroah-Hartman writes: > On Mon, Jan 12, 2015 at 05:50:11PM +0100, Vitaly Kuznetsov wrote: >> When an SMP Hyper-V guest is running on top of 2012R2 Server and secondary >> cpus are sent offline (with echo 0 > /sys/devices/system/cpu/cpu$cpu/online) >> the system freeze is observed. This happe

[PATCH] drivers/staging: use current->state helpers

2015-01-26 Thread Davidlohr Bueso
Call __set_current_state() instead of assigning the new state directly. These interfaces also aid CONFIG_DEBUG_ATOMIC_SLEEP environments, keeping track of who changed the state. Signed-off-by: Davidlohr Bueso --- drivers/staging/comedi/drivers/me_daq.c | 2 +- drivers/staging/dgnc/dgnc_utils.c

Re: [PATCH 1/5] staging: comedi: das16: simplify cmd->scan_begin_src validation

2015-01-26 Thread Ian Abbott
On 23/01/15 23:12, H Hartley Sweeten wrote: The analog input (*do_cmdtest) in this driver currently validates that the scan_begin_src is TRIG_FOLLOW or, if the board can_burst, TRIG_TIMER or TRIG_EXT. The rest of the driver is coded to assume that the scan_begin_src is always TRIG_FOLLOW. I do

[PATCH 3/3] fix space required after that ','

2015-01-26 Thread Mariam Mohamed Fawzy
This patch fixes the following in checkpatch.pl error: space required after that ',' Signed-off-by: Mariam Mohamed Fawzy --- drivers/staging/fbtft/fb_bd663474.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/fbtft/fb_bd663474.c b/drivers/staging/fbtft/fb_bd6

[PATCH 2/3] fix space prohibited after that open parenthesis '('

2015-01-26 Thread Mariam Mohamed Fawzy
This patch fixes the following checkpatch.pl error: space prohibited after that open parenthesis '(' Signed-off-by: Mariam Mohamed Fawzy --- drivers/staging/fbtft/fb_bd663474.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/staging/fbtft/fb_bd663474.c b/driver

[PATCH 1/3] fix space prohibited before that close parenthesis ')'

2015-01-26 Thread Mariam Mohamed Fawzy
This patch fixes the following checkpatch.pl error: space prohibited before that close parenthesis ')' Signed-off-by: Mariam Mohamed Fawzy --- drivers/staging/fbtft/fb_bd663474.c | 98 ++--- 1 file changed, 49 insertions(+), 49 deletions(-) diff --git a/drivers/s

[PATCH 0/3] staging: fbtft: fix coding style errors

2015-01-26 Thread Mariam Mohamed Fawzy
This patchset fixes three coding style errors in the file fb_bd663474.c located in the driver fbtft Mariam Mohamed Fawzy (3): fix space prohibited before that close parenthesis ')' fix space prohibited after that open parenthesis '(' fix space required after that ',' drivers/staging/fbtft

Re: [PATCH RESEND 1/5] Tools: hv: add mising fcopyd to the Makefile

2015-01-26 Thread Vitaly Kuznetsov
Greg KH writes: > On Fri, Jan 09, 2015 at 10:18:51PM -0800, K. Y. Srinivasan wrote: >> From: Vitaly Kuznetsov >> >> fcopyd in missing in the Makefile, add it there. >> >> Signed-off-by: Vitaly Kuznetsov >> Signed-off-by: K. Y. Srinivasan >> --- >> tools/hv/Makefile |4 ++-- >> 1 files c

[PATCH v2] staging: vt6655: fix that open brace { should be on the previous line

2015-01-26 Thread Mariam Mohamed Fawzy
This patch fixes the following checkpatch.pl error: fix that open brace { should be on the previous line Signed-off-by: Mariam Mohamed Fawzy --- v2: Adjusted my legal name. drivers/staging/vt6655/card.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/vt66