[PATCH] staging: ccree: remove ccree staging copy

2018-03-08 Thread Gilad Ben-Yossef
Now when the ccree driver has been accepted into the cryptodev tree we can remove the staging tree copy. Please note that this commit may cause a merge conflict with the cryptodev tree since we needed to disable the staging copy in order to get the new copy to compile but the resolution is

Re: [PATCH] staging: lustre: Remove VLA usage

2018-03-08 Thread Dan Carpenter
On Wed, Mar 07, 2018 at 02:10:41PM +0100, Rasmus Villemoes wrote: > On 2018-03-07 06:46, Kees Cook wrote: > > The kernel would like to remove all VLA usage. This switches to a > > simple kasprintf() instead. > > > > Signed-off-by: Kees Cook > > --- > >

Re: [PATCH] staging: ccree: remove ccree staging copy

2018-03-08 Thread Dan Carpenter
Congratulations. :) regards, dan carpenter ___ devel mailing list de...@linuxdriverproject.org http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel

Re: [PATCH] staging: android: ashmem: Remove deadlock

2018-03-08 Thread Dan Carpenter
Thanks! Somebody already sent this. On Wed, Mar 07, 2018 at 01:40:30PM -0800, Paul Lawrence wrote: > Regression introduced in commit ce8a3a9e76d0193e2e8d74a06d275b3c324ca652 > ("staging: android: ashmem: Fix a race condition in pin ioctls") > causing deadlock. Use the Fixes tag for this. The

[PATCH 01/10] staging: wilc1000: rename strHiddenNetwork to avoid camelCase

2018-03-08 Thread Ajay Singh
Fix 'Avoid camelCase' issue found by checkpatch.pl script. Signed-off-by: Ajay Singh --- drivers/staging/wilc1000/wilc_wfi_cfgoperations.c | 18 +- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git

[PATCH 00/10] staging: wilc1000: fixes related to camelCase & line over 80 chars

2018-03-08 Thread Ajay Singh
Patch series contains fixes to remove checkpatch reported warnings. Ajay Singh (10): staging: wilc1000: rename strHiddenNetwork to avoid camelCase staging: wilc1000: rename pstrNetworkInfo to avoid camelCase staging: wilc1000: rename CfgScanResult to avoid camelCase staging: wilc1000:

[PATCH 02/10] staging: wilc1000: rename pstrNetworkInfo to avoid camelCase

2018-03-08 Thread Ajay Singh
Fix 'Avoid camleCase' issue found by checkpatch.pl script. Signed-off-by: Ajay Singh --- drivers/staging/wilc1000/wilc_wfi_cfgoperations.c | 51 +++ 1 file changed, 25 insertions(+), 26 deletions(-) diff --git

[PATCH 05/10] staging: wilc1000: fix line over 80 char in change_virtual_intf()

2018-03-08 Thread Ajay Singh
Fix 'line over 80 char' issue found by checkpatch.pl script. Signed-off-by: Ajay Singh --- drivers/staging/wilc1000/wilc_wfi_cfgoperations.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/drivers/staging/wilc1000/wilc_wfi_cfgoperations.c

[PATCH 07/10] staging: wilc1000: fix line over 80 char for cfg parse RX and TX function

2018-03-08 Thread Ajay Singh
Fix 'line over 80 characters' issue found by checkpatch.pl script. Moved the common code from wilc_wfi_cfg_parse_tx_action() & wilc_wfi_cfg_parse_rx_action() to new function to avoid checkpatch issue. Signed-off-by: Ajay Singh ---

Re: [PATCH] staging: ccree: remove ccree staging copy

2018-03-08 Thread Gilad Ben-Yossef
On Thu, Mar 8, 2018 at 1:08 PM, Dan Carpenter wrote: > Congratulations. :) Thanks goes to you, Greg and all other contributors and reviewers that help made this happen. You have my eternal gratitude and a an open invitation to a free beverage of your choice, adult or

[PATCH 10/10] staging: wilc1000: fix line over 80 char in cfg_scan_result()

2018-03-08 Thread Ajay Singh
Refactor cfg_scan_result() API to avoid 'line over 80 chars' issue reported by checkpatch.pl script. Signed-off-by: Ajay Singh --- drivers/staging/wilc1000/wilc_wfi_cfgoperations.c | 148 +++--- 1 file changed, 77 insertions(+), 71 deletions(-) diff

[PATCH 03/10] staging: wilc1000: rename CfgScanResult to avoid camelCase

2018-03-08 Thread Ajay Singh
Fix 'Avoid camelCase' issue found by checkpatch.pl script. Signed-off-by: Ajay Singh --- drivers/staging/wilc1000/wilc_wfi_cfgoperations.c | 11 +-- 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/drivers/staging/wilc1000/wilc_wfi_cfgoperations.c

[PATCH 09/10] staging: wilc1000: rename pJoinParams to avoid camelCase

2018-03-08 Thread Ajay Singh
Fix 'Avoid camelCase' issue found by checkpatch.pl script. Signed-off-by: Ajay Singh --- drivers/staging/wilc1000/wilc_wfi_cfgoperations.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/wilc1000/wilc_wfi_cfgoperations.c

[PATCH 08/10] staging: wilc1000: fix line over 80 char in mgmt_tx_cancel_wait()

2018-03-08 Thread Ajay Singh
Fix 'line over 80 char' issue found in checkpatch.pl script. Signed-off-by: Ajay Singh --- drivers/staging/wilc1000/wilc_wfi_cfgoperations.c | 8 ++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/drivers/staging/wilc1000/wilc_wfi_cfgoperations.c

Re: [PATCH] staging: ccree: remove ccree staging copy

2018-03-08 Thread Greg Kroah-Hartman
On Thu, Mar 08, 2018 at 08:44:38AM +, Gilad Ben-Yossef wrote: > Now when the ccree driver has been accepted into the cryptodev tree > we can remove the staging tree copy. Yeah! Nice job. > > Please note that this commit may cause a merge conflict with the > cryptodev tree since we needed

Re: [PATCH PATCH net v2 0/4] hv_netvsc: fix multicast flags and sync

2018-03-08 Thread David Miller
From: Stephen Hemminger Date: Wed, 7 Mar 2018 13:49:08 -0800 > This set of patches deals with the handling of multicast flags > and addresses in transparent VF mode. The recent set of patches > (in linux-net) had a couple of bugs. Series applied, thanks Stephen.

Re: [PATCH v4] Staging: iio: adis16209: Change some macro names

2018-03-08 Thread Himanshu Jha
On Thu, Mar 08, 2018 at 11:46:17PM +0530, Shreeya Patel wrote: > Make some of the macro names according to the names > given in the datasheet of the adis16209 driver and > have slight indentation in field definitions to make > them clearly different from the register addresses. > > Signed-off-by:

[PATCH] Staging: iio: adis16209: Move adis16209 driver out of staging

2018-03-08 Thread Shreeya Patel
Move the adis16209 driver out of staging directory and merge to the mainline IIO subsystem. --- drivers/iio/accel/Kconfig | 12 ++ drivers/iio/accel/Makefile| 1 + drivers/iio/accel/adis16209.c | 334 ++

[PATCH v4] Staging: iio: adis16209: Change some macro names

2018-03-08 Thread Shreeya Patel
Make some of the macro names according to the names given in the datasheet of the adis16209 driver and have slight indentation in field definitions to make them clearly different from the register addresses. Signed-off-by: Shreeya Patel --- Changes in v4 -Have

Re: [PATCH 5/5] staging: fsl-mc/dpio: Remove dead code

2018-03-08 Thread gre...@linuxfoundation.org
On Tue, Mar 06, 2018 at 06:32:00PM +, Ruxandra Ioana Ciocoi Radulescu wrote: > > -Original Message- > > From: Ruxandra Ioana Ciocoi Radulescu > > Sent: Tuesday, March 6, 2018 7:44 PM > > To: gre...@linuxfoundation.org > > Cc: de...@driverdev.osuosl.org; linux-ker...@vger.kernel.org;

Re: [PATCH v4] Staging: iio: adis16209: Change some macro names

2018-03-08 Thread Shreeya Patel
On 9 March 2018 00:41:12 GMT+05:30, Himanshu Jha wrote: >On Thu, Mar 08, 2018 at 11:46:17PM +0530, Shreeya Patel wrote: >> Make some of the macro names according to the names >> given in the datasheet of the adis16209 driver and >> have slight indentation in field

Re: [PATCH] PCI BUS domain ID corruption

2018-03-08 Thread Bjorn Helgaas
[+cc Lorenzo] On Thu, Mar 8, 2018 at 12:55 PM, Sridhar Pitchai wrote: > Hi, > > I would like to submit the following patch. This patch addresses the issue > when we try to add a VMBUS, the domain ID for the PCI bus is overwritten. Hi Sridhar, Thanks for the

Re: [PATCH v2 1/3] staging:iio:meter: Replaces IIO_DEV_ATTR_CH_OFF by IIO_DEVICE_ATTR

2018-03-08 Thread Rodrigo Siqueira
On 03/07, Jonathan Cameron wrote: > On Tue, 6 Mar 2018 21:43:47 -0300 > Rodrigo Siqueira wrote: > > > The macro IIO_DEV_ATTR_CH_OFF is a wrapper for IIO_DEVICE_ATTR, with a > > tiny change in the name definition. This extra macro does not improve > > the

Re: [PATCH 4/4] video: Remove stack VLA usage

2018-03-08 Thread Joe Perches
On Fri, 2018-03-09 at 16:50 +1100, Tobin C. Harding wrote: > The kernel would like to have all stack VLA usage removed[1]. The > arrays are fixed here (declared with a const variable) but they appear > like VLAs to the compiler. We can use a pre-processor define to fix the > warning. [] > diff

Re: [PATCH 4/4] video: Remove stack VLA usage

2018-03-08 Thread Gustavo A. R. Silva
I sent a patch for this six hours ago: https://patchwork.kernel.org/patch/10268591/ -- Gustavo On 03/09/2018 12:11 AM, Tycho Andersen wrote: On Thu, Mar 08, 2018 at 10:01:07PM -0800, Joe Perches wrote: On Fri, 2018-03-09 at 16:50 +1100, Tobin C. Harding wrote: The kernel would like to have

[PATCH] PCI: hv: fix bus domain ID corruption

2018-03-08 Thread Sridhar Pitchai
When PCI BUS is added, PCI_BUS domain ID is set. When PCI_BUS and a device added to the bus is racing against each other, the first device tends to overwrite the domain ID. In order to avoid the race, this patch make sure when a device is added to a bus, it never updated the bus domain ID. Since

[PATCH 4/4] video: Remove stack VLA usage

2018-03-08 Thread Tobin C. Harding
The kernel would like to have all stack VLA usage removed[1]. The arrays are fixed here (declared with a const variable) but they appear like VLAs to the compiler. We can use a pre-processor define to fix the warning. [1]: https://lkml.org/lkml/2018/3/7/621 Signed-off-by: Tobin C. Harding

Re: [PATCH 4/4] video: Remove stack VLA usage

2018-03-08 Thread Tycho Andersen
On Thu, Mar 08, 2018 at 10:01:07PM -0800, Joe Perches wrote: > On Fri, 2018-03-09 at 16:50 +1100, Tobin C. Harding wrote: > > The kernel would like to have all stack VLA usage removed[1]. The > > arrays are fixed here (declared with a const variable) but they appear > > like VLAs to the compiler.

[PATCH] PCI: hv: fix bus domain ID corruption

2018-03-08 Thread Sridhar Pitchai
0001-PCI-BUS-domain-ID-corruption.patch Description: 0001-PCI-BUS-domain-ID-corruption.patch ___ devel mailing list de...@linuxdriverproject.org http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel

Re: [PATCH 4/4] video: Remove stack VLA usage

2018-03-08 Thread Tobin C. Harding
On Thu, Mar 08, 2018 at 10:01:07PM -0800, Joe Perches wrote: > On Fri, 2018-03-09 at 16:50 +1100, Tobin C. Harding wrote: > > The kernel would like to have all stack VLA usage removed[1]. The > > arrays are fixed here (declared with a const variable) but they appear > > like VLAs to the compiler.

[PATCH] staging: vchiq_arm: Clear VLA warning

2018-03-08 Thread Tobin C. Harding
The kernel would like to have all stack VLA usage removed[1]. The array here is fixed (declared with a const variable) but it appears like VLA to the compiler. We can use a pre-processor define to quiet the compiler. [1]: https://lkml.org/lkml/2018/3/7/621 Signed-off-by: Tobin C. Harding

Re: [PATCH 4/4] video: Remove stack VLA usage

2018-03-08 Thread Tobin C. Harding
On Fri, Mar 09, 2018 at 12:16:21AM -0600, Gustavo A. R. Silva wrote: > > I sent a patch for this six hours ago: > > https://patchwork.kernel.org/patch/10268591/ > > -- > Gustavo lol, I knew there would be a race on to fix these :) And you got it right, bonus points. Let's drop this one then.

RE: [PATCH] PCI BUS domain ID corruption

2018-03-08 Thread Sridhar Pitchai
Thanks Bjorn, I will send another mail, with 1: the patch applied to 4.16. 2: I will send a text mail (instead of HTML). 3: add Signed-off-by: Thanks for your help. Thanks, Sridhar Pitchai -Original Message- From: Bjorn Helgaas Sent: Thursday, March 8, 2018

Re: [RFC] android: ion: How to properly clean caches for uncached allocations

2018-03-08 Thread Liam Mark
On Wed, 7 Mar 2018, Laura Abbott wrote: > On 02/28/2018 09:18 PM, Liam Mark wrote: > > The issue: > > > > Currently in ION if you allocate uncached memory it is possible that there > > are still dirty lines in the cache. And often these dirty lines in the > > cache are the zeros which were

Re: [RFC] android: ion: How to properly clean caches for uncached allocations

2018-03-08 Thread Laura Abbott
On 03/08/2018 04:45 PM, Liam Mark wrote: On Wed, 7 Mar 2018, Laura Abbott wrote: On 02/28/2018 09:18 PM, Liam Mark wrote: The issue: Currently in ION if you allocate uncached memory it is possible that there are still dirty lines in the cache. And often these dirty lines in the cache are

[PATCH 05/10] staging: wilc1000: fix line over 80 char in handle_connect()

2018-03-08 Thread Ajay Singh
Fix 'line over 80 characters' issue reported by checkpatch.pl script. Signed-off-by: Ajay Singh --- drivers/staging/wilc1000/host_interface.c | 48 +-- 1 file changed, 27 insertions(+), 21 deletions(-) diff --git

[PATCH 08/10] staging: wilc1000: rename WILC_HostIf_PackStaParam to avoid camelCase

2018-03-08 Thread Ajay Singh
Fix 'Avoid camelCase' issue found by checkpatch.pl script. Signed-off-by: Ajay Singh --- drivers/staging/wilc1000/host_interface.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/staging/wilc1000/host_interface.c

[PATCH 09/10] staging: wilc1000: rename variables using camelCase in handle_rcvd_gnrl_async_info()

2018-03-08 Thread Ajay Singh
Fix 'Avoid camelCase' issue found by checkpatch.pl script. Signed-off-by: Ajay Singh --- drivers/staging/wilc1000/host_interface.c | 86 +++ 1 file changed, 43 insertions(+), 43 deletions(-) diff --git

[PATCH 07/10] staging: wilc1000: rename variables prefix using datatype 'u8'

2018-03-08 Thread Ajay Singh
Rename variables with datatype 'u8' in their name to follow the linux coding style. Renamed following variables: u8abort_running_scan pu8Buffer pu8keybuf pu8msa u8remain_on_chan_flag Signed-off-by: Ajay Singh --- drivers/staging/wilc1000/coreconfigurator.c | 28

[PATCH 06/10] staging: wilc1000: fix line over 80 char in get_key() & set_default_key()

2018-03-08 Thread Ajay Singh
Fix 'line over 80 characters' issue found by checkpatch.pl script. Signed-off-by: Ajay Singh --- drivers/staging/wilc1000/wilc_wfi_cfgoperations.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git

[PATCH 04/10] staging: wilc1000: rename au8ScanChanList to avoid camelCase

2018-03-08 Thread Ajay Singh
Fix 'Avoid camelCase' issue found by checkpatch.pl script. Signed-off-by: Ajay Singh --- drivers/staging/wilc1000/wilc_wfi_cfgoperations.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/staging/wilc1000/wilc_wfi_cfgoperations.c

[PATCH 04/10] staging: wilc1000: fix line over 80 char in handle_scan()

2018-03-08 Thread Ajay Singh
Fix 'line over 80 character' issue reported by checkpatch.pl script in handle_scan(). Signed-off-by: Ajay Singh --- drivers/staging/wilc1000/host_interface.c | 18 ++ 1 file changed, 10 insertions(+), 8 deletions(-) diff --git

[PATCH 02/10] staging: wilc1000: rename strConnectInfo to avoid camelCase

2018-03-08 Thread Ajay Singh
Fix 'Avoid camelCase' issue found by checkpatch.pl script. Signed-off-by: Ajay Singh --- drivers/staging/wilc1000/host_interface.c | 56 +++ 1 file changed, 28 insertions(+), 28 deletions(-) diff --git

[PATCH 01/10] staging: wilc1000: rename pstrHostIFconnectAttr to avoid camelCase issue

2018-03-08 Thread Ajay Singh
Fix 'Avoid camelCase' issue found by checkpatch.pl script. Signed-off-by: Ajay Singh --- drivers/staging/wilc1000/host_interface.c | 104 +++--- 1 file changed, 52 insertions(+), 52 deletions(-) diff --git

[PATCH 03/10] staging: wilc1000: rename label 'ERRORHANDLER' to avoid uppercase name

2018-03-08 Thread Ajay Singh
Cleanup patch to avoid use of uppercase for label names, to follow linux coding style. Signed-off-by: Ajay Singh --- drivers/staging/wilc1000/host_interface.c | 54 +++ 1 file changed, 27 insertions(+), 27 deletions(-) diff --git

[PATCH 10/10] staging: wilc1000: fix line over 80 char issue in handle_scan_done()

2018-03-08 Thread Ajay Singh
Fix 'line over 80 characters' issue found by checkpatch.pl script in handle_scan_done(). Signed-off-by: Ajay Singh --- drivers/staging/wilc1000/host_interface.c | 9 + 1 file changed, 5 insertions(+), 4 deletions(-) diff --git

[PATCH 00/10] staging: wilc1000: fixes for checkpatch issues & coding style related

2018-03-08 Thread Ajay Singh
This patch series contains modification to remove the checkpatch warnings and changes to follow linux coding style. Ajay Singh (10): staging: wilc1000: rename pstrHostIFconnectAttr to avoid camelCase issue staging: wilc1000: rename strConnectInfo to avoid camelCase staging: wilc1000:

[PATCH 06/10] staging: wilc1000: fix line over 80 character in handle_disconnect()

2018-03-08 Thread Ajay Singh
Refactor handle_disconnect() to avoid line over 80 characters issue reported by checkpatch.pl script. Signed-off-by: Ajay Singh --- drivers/staging/wilc1000/host_interface.c | 90 +++ 1 file changed, 45 insertions(+), 45 deletions(-) diff