[PATCH v3] Staging: rtl8188eu: fix Block comments warning found by checkpatch.

2016-10-10 Thread Victor Carvajal
Signed-off-by: Victor Carvajal --- Changes in v3: - Be consistent with spacing before text against previous patch. Changes in v2: - Be consistent with spacing before text. --- drivers/staging/rtl8188eu/include/rtw_event.h | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) d

Re: [PATCH v2] Staging: rtl8188eu: fix Block comments warning found by checkpatch.

2016-10-10 Thread Greg KH
On Mon, Oct 10, 2016 at 08:50:50PM -0700, victor c wrote: > WARNING: Block comments use * on subsequent lines. > > Signed-off-by: Victor Carvajal Your "From:" line needs to match this one as well. Also, why the "Re:" in a patch submission subject? > --- > Changes in v2: > - Be consistent w

Re: [PATCH v2] Staging: rtl8188eu: fix Block comments warning found by checkpatch.

2016-10-10 Thread victor c
WARNING: Block comments use * on subsequent lines. Signed-off-by: Victor Carvajal --- Changes in v2: - Be consistent with spacing before text. --- drivers/staging/rtl8188eu/include/rtw_event.h | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/staging/rtl8

[PATCH] staging: android: ion: Make ion_free asynchronous more actively.

2016-10-10 Thread ming.ling
From: Ming Ling So far some ion heaps such as carveout_heap, chunk_heap, system_heap have freed buffers asynchrounously. Freed buffers are placed on a free list and freed from a low priority background thread. If allocations from a particular heap fail, the free list is drained. But that mechani

[PATCH] rtlwifi: Fix regression caused by commit d86e64768859

2016-10-10 Thread Larry Finger
In commit d86e64768859 ("rtlwifi: rtl818x: constify local structures"), the configuration struct for most of the drivers was changed to be constant. The problem is that five of the modified drivers need to be able to update the firmware name based on the exact model of the card. As the file names w

Re: [PATCH v2 7/8] staging: iio: isl29018: add ABI documentation for infrared suppression

2016-10-10 Thread Jonathan Cameron
On 10/10/16 08:20, Brian Masney wrote: > Add ABI documentation from the ISL29018 Data Sheet (FN6619.4, Oct 8, > 2012) about the infrared suppression that can be controlled > with the proximity_on_chip_ambient_infrared_suppression sysfs attribute. > > Signed-off-by: Brian Masney I'm going to let t

Re: [PATCH v2 5/8] staging: iio: isl29018: remove blank line for consistency

2016-10-10 Thread Jonathan Cameron
On 10/10/16 08:19, Brian Masney wrote: > Remove blank line between MODULE_DEVICE_TABLE() and its corresponding > structure for consistency with the other device table entries. > > Signed-off-by: Brian Masney Applied. Thanks, Jonathan > --- > drivers/staging/iio/light/isl29018.c | 1 - > 1 file

Re: [PATCH v2 6/8] staging: iio: isl29018: rename description in Kconfig for consistency

2016-10-10 Thread Jonathan Cameron
On 10/10/16 08:20, Brian Masney wrote: > Rename description from "ISL 29018" to "Intersil 29018" in Kconfig for > consistency with other drivers in mainline. > > Signed-off-by: Brian Masney Applied. > --- > drivers/staging/iio/light/Kconfig | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-)

Re: [PATCH v2 4/8] staging: iio: isl29018: combine two return statements into one

2016-10-10 Thread Jonathan Cameron
On 10/10/16 08:19, Brian Masney wrote: > Use the return value from isl29018_set_integration_time() as the return > value for isl29018_chip_init() since this is the last piece of work > inside that function. > > Signed-off-by: Brian Masney Applied to the togreg branch of iio.git and pushed out as

Re: [PATCH v2 3/8] staging: iio: isl29018: fix multiline comment syntax

2016-10-10 Thread Jonathan Cameron
On 10/10/16 08:19, Brian Masney wrote: > Change multiline comments from: > > /* line1 > * line2 > * ... > */ > > to > > /* > * line1 > * line2 > * ... > */ > > Signed-off-by: Brian Masney Applied to the togreg branch of iio.git and pushed out as testing. Thanks, Jonathan > --- > driv

Re: [PATCH] Revert "rtlwifi: rtl818x: constify local structures"

2016-10-10 Thread Julia Lawall
On Mon, 10 Oct 2016, Larry Finger wrote: > On 10/10/2016 11:56 AM, Johannes Berg wrote: > > On Mon, 2016-10-10 at 10:25 -0500, Larry Finger wrote: > > > This reverts commit d86e64768859fca82c78e52877ceeba04e25d27a. > > > > > > For drivers rtl8188ee, rtl8192ce, rtl8192ee, rtl8723ae, and > > > rtl

Re: [PATCH v2 2/8] staging: iio: isl29018: fix poorly named function

2016-10-10 Thread Jonathan Cameron
On 10/10/16 08:19, Brian Masney wrote: > isl29035_detect() did not do chip detection. Move functionality directly > into isl29018_chip_init() to avoid naming confusion. It kind of does do detection (or at least verification). Key point is that it does other things as well. I added the word 'just'

Re: [PATCH v2 1/8] staging: iio: isl29018: add newlines to improve readability

2016-10-10 Thread Jonathan Cameron
On 10/10/16 08:19, Brian Masney wrote: > Add newlines to improve code readability in preparation for moving the > driver out of staging. > > Signed-off-by: Brian Masney Applied to the togreg branch of iio.git and pushed out as testing for the autobuilders to play with it. Thanks, Jonathan > ---

Re: [PATCH] Revert "rtlwifi: rtl818x: constify local structures"

2016-10-10 Thread Larry Finger
On 10/10/2016 11:56 AM, Johannes Berg wrote: On Mon, 2016-10-10 at 10:25 -0500, Larry Finger wrote: This reverts commit d86e64768859fca82c78e52877ceeba04e25d27a. For drivers rtl8188ee, rtl8192ce, rtl8192ee, rtl8723ae, and rtl8821ae, the Coccinelle script missed the fact that the code changes th

[PATCH 2/2] staging: ks7010: Fixes error "foo * bar should be foo *bar"

2016-10-10 Thread Sabitha George
Fixes checkpatch warning on ks_wlan_net.c: foo * bar should be foo *bar Signed-off-by: Sabitha George --- drivers/staging/ks7010/ks_wlan_net.c | 64 ++-- 1 file changed, 32 insertions(+), 32 deletions(-) diff --git a/drivers/staging/ks7010/ks_wlan_net.c b/driver

[PATCH 1/2] staging: ks7010: Replace asm/uaccess.h and asm/atomic.h

2016-10-10 Thread Sabitha George
Replaces inclusion of asm/uaccess.h with linux/uaccess.h and asm/atomic.h with linux/atomic.h in ks_wlan_net.c Signed-off-by: Sabitha George --- drivers/staging/ks7010/ks_wlan_net.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/ks7010/ks_wlan_net.c b/d

Re: [PATCH] Revert "rtlwifi: rtl818x: constify local structures"

2016-10-10 Thread Johannes Berg
On Mon, 2016-10-10 at 10:25 -0500, Larry Finger wrote: > This reverts commit d86e64768859fca82c78e52877ceeba04e25d27a. > > For drivers rtl8188ee, rtl8192ce, rtl8192ee, rtl8723ae, and > rtl8821ae, > the Coccinelle script missed the fact that the code changes the > firmware > name. When that happens

[PATCH] Drivers: hv: utils: reduce HV_UTIL_NEGO_TIMEOUT timeout

2016-10-10 Thread Vitaly Kuznetsov
I discovered that at least WS2016TP5 host has 60 seconds timeout for the ICMSGTYPE_NEGOTIATE message so we need to lower guest's timeout a little bit to make sure we always respond in time. Let's make it 55 seconds. Signed-off-by: Vitaly Kuznetsov --- drivers/hv/hyperv_vmbus.h | 2 +- 1 file cha

Re: [PATCH v2] staging: comedi: ni_mio_common: split out ao arming from ni_ao_inttrig

2016-10-10 Thread Ian Abbott
On 10/10/16 15:14, Spencer E. Olson wrote: AO device arming was previously done as a part of ni_ao_inttrig which is called as a result of the user calling comedi_internal_trigger. For start_src == TRIG_EXT, this does not make very much sense since external triggers should not conceptually need t

[PATCH] Revert "rtlwifi: rtl818x: constify local structures"

2016-10-10 Thread Larry Finger
This reverts commit d86e64768859fca82c78e52877ceeba04e25d27a. For drivers rtl8188ee, rtl8192ce, rtl8192ee, rtl8723ae, and rtl8821ae, the Coccinelle script missed the fact that the code changes the firmware name. When that happens, the kernel issues a BUG splat because it is unable to overwrite the

[staging:staging-testing 189/192] drivers/staging/vc04_services//interface/vchiq_arm/vchiq_2835_arm.c:48:25: error: implicit declaration of function '__glue'

2016-10-10 Thread kbuild test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging.git staging-testing head: b5596d52a3715a37d6d0875791d93ae5b73c6f21 commit: 6e523414a8f7da23f59154b85544a96d5bf580f8 [189/192] staging: vc04_services: fix dmac_map/unmap_area prototypes config: arm64-allmodconfig (attached as

[PATCH] Drivers: hv: ring_buffer: count on wrap around mappings in get_next_pkt_raw() (v2)

2016-10-10 Thread Vitaly Kuznetsov
With wrap around mappings in place we can always provide drivers with direct links to packets on the ring buffer, even when they wrap around. Do the required updates to get_next_pkt_raw()/put_pkt_raw() The first version of this commit was reverted (65a532f3d50a) to deal with cross-tree merge issue

Re: [PATCH] staging: sm750fb: Fix printk() style warning

2016-10-10 Thread Edward Lipinsky
On Fri, Oct 07, 2016 at 11:12:04AM +0200, Mike Rapoport wrote: > On Thu, Oct 06, 2016 at 09:27:36PM -0700, Edward Lipinsky wrote: > > On Sun, Oct 02, 2016 at 08:13:01PM +0200, Greg KH wrote: > > > On Sun, Oct 02, 2016 at 11:05:05AM -0700, Edward Lipinsky wrote: > > > > This patch fixes the checkpat

Re: [PATCH v2] RFC: staging: greybus: shape up greybus GPIO

2016-10-10 Thread Rui Miguel Silva
Hi Linus, On Mon, Oct 10, 2016 at 10:39:32AM +0200, Linus Walleij wrote: Greybus GPIO seems to reimplement the already existing generic gpiolib irqchip. Also use gpiochip_get_data(). Also use devm_gpiochip_add_data(). Cc: Viresh Kumar Cc: Axel Haslam Cc: Johan Hovold Cc: Sandeep Patil Cc: Ru

[PATCH v2] staging: comedi: ni_mio_common: split out ao arming from ni_ao_inttrig

2016-10-10 Thread Spencer E. Olson
AO device arming was previously done as a part of ni_ao_inttrig which is called as a result of the user calling comedi_internal_trigger. For start_src == TRIG_EXT, this does not make very much sense since external triggers should not conceptually need to be software triggered also. This patch spl

[staging:staging-testing 189/192] drivers/staging/vc04_services/interface/vchiq_arm/vchiq_2835_arm.c:48:25: note: in expansion of macro '__glue'

2016-10-10 Thread kbuild test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging.git staging-testing head: b5596d52a3715a37d6d0875791d93ae5b73c6f21 commit: 6e523414a8f7da23f59154b85544a96d5bf580f8 [189/192] staging: vc04_services: fix dmac_map/unmap_area prototypes config: arm-multi_v7_defconfig (attache

[PATCH 0/5] Replace data type declarations with variables of same types in several source files.

2016-10-10 Thread Sergio Paracuellos
This patch series replaces several sizeof(struct XXX) stuff in favour of sizeof(var) which is the preferred one. Sergio Paracuellos (5): staging: wlan-ng: Replace data type declaration with variable of same type in cfg80211.c staging: wlan-ng: Replace data type declaration with variable o

[PATCH 5/5] staging: wlan-ng: Replace data type declaration with variable of same type in prism2sta.c

2016-10-10 Thread Sergio Paracuellos
sizeof(*var) instead of sizeof(struct XXX) is preferred. Fix them in prism2sta.c file. Signed-off-by: Sergio Paracuellos --- drivers/staging/wlan-ng/prism2sta.c | 7 +++ 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/drivers/staging/wlan-ng/prism2sta.c b/drivers/staging/wlan-

[PATCH 2/5] staging: wlan-ng: Replace data type declaration with variable of same type in hfa384x_usb.c

2016-10-10 Thread Sergio Paracuellos
sizeof(var) instead of sizeof(struct XXX) is preferred. Fix it in hfa384x_usb.c file. Signed-off-by: Sergio Paracuellos --- drivers/staging/wlan-ng/hfa384x_usb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/wlan-ng/hfa384x_usb.c b/drivers/staging/wlan-ng/h

[PATCH 4/5] staging: wlan-ng: Replace data type declaration with variable of same type in p80211netdev.c

2016-10-10 Thread Sergio Paracuellos
sizeof(var) instead of sizeof(struct XXX) is preferred. Fix them in p80211netdev.c Signed-off-by: Sergio Paracuellos --- drivers/staging/wlan-ng/p80211netdev.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/drivers/staging/wlan-ng/p80211netdev.c b/drivers/stag

[PATCH 1/5] staging: wlan-ng: Replace data type declaration with variable of same type in cfg80211.c

2016-10-10 Thread Sergio Paracuellos
sizeof(var) instead of sizeof(struct XXX) is preferred. Fix it in cfg80211.c file. Signed-off-by: Sergio Paracuellos --- drivers/staging/wlan-ng/cfg80211.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/wlan-ng/cfg80211.c b/drivers/staging/wlan-ng/cfg80211.

[PATCH 3/5] staging: wlan-ng: Replace data type declaration with variable of same type in p80211conv.c

2016-10-10 Thread Sergio Paracuellos
sizeof(*var) instead of sizeof(struct XXX) is preferred. Fix it in p80211conv.c file. Signed-off-by: Sergio Paracuellos --- drivers/staging/wlan-ng/p80211conv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/wlan-ng/p80211conv.c b/drivers/staging/wlan-ng/p8

[staging:staging-testing 189/191] arch/arm/include/asm/glue-cache.h:108:18: error: implicit declaration of function 'v6_dma_map_area'

2016-10-10 Thread kbuild test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging.git staging-testing head: bc1a64938434fee4cacd2d07e0d8275f17098a9a commit: 6e523414a8f7da23f59154b85544a96d5bf580f8 [189/191] staging: vc04_services: fix dmac_map/unmap_area prototypes config: arm-allmodconfig (attached as .

Re: [PATCH] drivers: staging: greybus: audio_codec.c: Fixed CHECKS for brace issues

2016-10-10 Thread Vaibhav Agarwal
On Mon, Oct 10, 2016 at 3:56 AM, Chase Metzger wrote: > Added braces to else statement where checkpatch complained. > > Signed-off-by: Chase Metzger > --- > drivers/staging/greybus/audio_codec.c | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) > > diff --git a/drivers/staging/greybus/a

[staging:staging-testing 190/190] drivers/staging/vc04_services/interface/vchiq_arm/vchiq_2835_arm.c:95:23: warning: unused variable 'fw'

2016-10-10 Thread kbuild test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging.git staging-testing head: ecbc62fd441210e54e25fa9683422bbc0143049d commit: ecbc62fd441210e54e25fa9683422bbc0143049d [190/190] staging: vc04_services: add CONFIG_COMPILE_TEST ability config: ia64-allmodconfig (attached as .co

Re: [PATCH] staging: comedi: ni_mio_common: split out ao arming from ni_ao_inttrig

2016-10-10 Thread Ian Abbott
On 08/10/16 22:39, Spencer E. Olson wrote: AO device arming was previously done as a part of ni_ao_inttrig which is called as a result of the user calling comedi_internal_trigger. For start_src == TRIG_EXT, this does not make very much sense since external triggers should not conceptually need t

Re: [PATCH] staging: comedi: make constants slightly more consistent

2016-10-10 Thread Ian Abbott
On 08/10/16 22:38, Spencer E. Olson wrote: This makes INSN_CONFIG_DIO_{INPUT,OUTPUT,OPENDRAIN} simply be copies of the already-existing constants COMEDI_INPUT, COMEDI_OUTPUT, and COMEDI_OPENDRAIN. This change also ensures that if a user happens to use, for example, COMEDI_INPUT in place of where

Re: [PATCH] staging: comedi: porting NI_GPCT constants from comedi.org module

2016-10-10 Thread Ian Abbott
On 08/10/16 22:37, Spencer E. Olson wrote: Information pertaining to the NI_GPCT_ARM* registers were added to the comedi.org version of the comedi kernel. This adds this information to the staging-tree version of the comedi kernel. Relevant comments are also copied over. Signed-off-by: Spencer

Re: [RFC v3 3/3] phy,leds: add support for led triggers on phy link state change

2016-10-10 Thread Florian Fainelli
On 10/07/2016 02:14 PM, Zach Brown wrote: > From: Josh Cartwright > > Create an option CONFIG_LED_TRIGGER_PHY (default n), which will > create a set of led triggers for each instantiated PHY device. There is > one LED trigger per link-speed, per-phy. > > This allows for a user to configure thei

[PATCH v2] RFC: staging: greybus: shape up greybus GPIO

2016-10-10 Thread Linus Walleij
Greybus GPIO seems to reimplement the already existing generic gpiolib irqchip. Also use gpiochip_get_data(). Also use devm_gpiochip_add_data(). Cc: Viresh Kumar Cc: Axel Haslam Cc: Johan Hovold Cc: Sandeep Patil Cc: Rui Miguel Silva Cc: Greg Kroah-Hartman Signed-off-by: Linus Walleij --- C

Re: [PATCH] Staging: rtl8188eu: fix Block comments warning found by checkpatch.

2016-10-10 Thread Greg KH
On Sun, Oct 09, 2016 at 09:58:45PM -0700, victor carvajal wrote: > WARNING: Block comments use * on subsequent lines > > Signed-off-by: victor carvajal > --- > drivers/staging/rtl8188eu/include/rtw_event.h | 39 > +-- > 1 file changed, 19 insertions(+), 20 deletions(-) >

[PATCH v2 7/8] staging: iio: isl29018: add ABI documentation for infrared suppression

2016-10-10 Thread Brian Masney
Add ABI documentation from the ISL29018 Data Sheet (FN6619.4, Oct 8, 2012) about the infrared suppression that can be controlled with the proximity_on_chip_ambient_infrared_suppression sysfs attribute. Signed-off-by: Brian Masney --- .../ABI/testing/sysfs-bus-iio-light-isl29018 | 19 +++

[PATCH v2 5/8] staging: iio: isl29018: remove blank line for consistency

2016-10-10 Thread Brian Masney
Remove blank line between MODULE_DEVICE_TABLE() and its corresponding structure for consistency with the other device table entries. Signed-off-by: Brian Masney --- drivers/staging/iio/light/isl29018.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/staging/iio/light/isl29018.c b/dri

[PATCH v2 8/8] staging: iio: isl29018: move out of staging

2016-10-10 Thread Brian Masney
Move ISL29018/ISL29023/ISL29035 driver out of staging into mainline. Signed-off-by: Brian Masney --- drivers/iio/light/Kconfig| 12 + drivers/iio/light/Makefile | 1 + drivers/iio/light/isl29018.c | 847 +++ drivers/staging/iio/lig

[PATCH v2 6/8] staging: iio: isl29018: rename description in Kconfig for consistency

2016-10-10 Thread Brian Masney
Rename description from "ISL 29018" to "Intersil 29018" in Kconfig for consistency with other drivers in mainline. Signed-off-by: Brian Masney --- drivers/staging/iio/light/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/iio/light/Kconfig b/drivers/st

[PATCH v2 0/8] staging: iio: isl29018: move out of staging

2016-10-10 Thread Brian Masney
This is a series of cleanup patches to the ISL29018/ISL29023/ISL29035 driver to move it out of staging based on feedback from Jonathan Cameron. Brian Masney (8): staging: iio: isl29018: add newlines to improve readability staging: iio: isl29018: remove poorly named function staging: iio: isl

[PATCH v2 2/8] staging: iio: isl29018: fix poorly named function

2016-10-10 Thread Brian Masney
isl29035_detect() did not do chip detection. Move functionality directly into isl29018_chip_init() to avoid naming confusion. Signed-off-by: Brian Masney --- drivers/staging/iio/light/isl29018.c | 44 1 file changed, 19 insertions(+), 25 deletions(-) diff --

[PATCH v2 1/8] staging: iio: isl29018: add newlines to improve readability

2016-10-10 Thread Brian Masney
Add newlines to improve code readability in preparation for moving the driver out of staging. Signed-off-by: Brian Masney --- drivers/staging/iio/light/isl29018.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/drivers/staging/iio/light/isl29018.c b/drivers/staging/iio/light/isl29018.

[PATCH v2 4/8] staging: iio: isl29018: combine two return statements into one

2016-10-10 Thread Brian Masney
Use the return value from isl29018_set_integration_time() as the return value for isl29018_chip_init() since this is the last piece of work inside that function. Signed-off-by: Brian Masney --- drivers/staging/iio/light/isl29018.c | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff

[PATCH v2 3/8] staging: iio: isl29018: fix multiline comment syntax

2016-10-10 Thread Brian Masney
Change multiline comments from: /* line1 * line2 * ... */ to /* * line1 * line2 * ... */ Signed-off-by: Brian Masney --- drivers/staging/iio/light/isl29018.c | 9 ++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/drivers/staging/iio/light/isl29018.c b/drivers/sta

Re: [PATCH 2/3] staging: ks7010: fix block comment style in ks7010_stdio.c

2016-10-10 Thread Greg KH
On Mon, Oct 10, 2016 at 12:42:19AM +0530, Akshay Mariyanna wrote: > This fixes the following checkpatch warnings: > WARNING: Block comments use * on subsequent lines > WARNING: Block comments use a trailing */ on a separate lines > > Signed-off-by: Akshay Mariyanna > --- > drivers/staging/ks7010