Re: Drivers: hv: hv_balloon: eliminate the trylock path in acquire/release_region_mutex

2015-03-05 Thread Vitaly Kuznetsov
Dan Carpenter writes: > Hello Vitaly Kuznetsov, > > The patch b05d8d9ef5ef: "Drivers: hv: hv_balloon: eliminate the > trylock path in acquire/release_region_mutex" from Feb 28, 2015, > leads to the following static checker warning: > > drivers/hv/hv_balloon.c:669 hv_mem_hot_add() > wa

[PATCH v3 0/1] drivers/bus: fsl-mc object allocator driver

2015-03-05 Thread J. German Rivera
This patch series introduces the object allocator driver for the Freescale Management Complex (fsl-mc) of QorIQ Ls2 SoCs This patch series is dependent on the patch series drivers/bus: "Freescale Management Complex bus driver patch series Besides adding the object allocator functionality". CHANGE

[PATCH v3 1/1] staging: fsl-mc: fsl-mc object allocator driver

2015-03-05 Thread J. German Rivera
The fsl-mc object allocator driver manages "allocatable" fsl-mc objects such as DPBPs, DPMCPs and DPCONs. It provides services to other fsl-mc drivers to allocate/deallocate these types of objects. Signed-off-by: J. German Rivera Signed-off-by: Stuart Yoder --- Changes in v3: - Moved files to dr

[PATCH v9 1/3] staging: fsl-mc: Added Freescale Management Complex APIs

2015-03-05 Thread J. German Rivera
APIs to access the Management Complex (MC) hardware module of Freescale LS2 SoCs. This patch includes APIs to check the MC firmware version and to manipulate DPRC objects in the MC. Signed-off-by: J. German Rivera Signed-off-by: Stuart Yoder --- Changes in v9: - Fixed compilation errors that esc

[PATCH v9 3/3] staging: fsl-mc: Device driver for FSL-MC DPRC devices

2015-03-05 Thread J. German Rivera
A DPRC (Data Path Resource Container) is an isolation device that contains a set of DPAA networking devices to be assigned to an isolation domain (e.g., a virtual machine). Signed-off-by: J. German Rivera Signed-off-by: Stuart Yoder --- Changes in v9: None Changes in v8: - Addressed comments fr

[PATCH v9 2/3] staging: fsl-mc: Freescale Management Complex (fsl-mc) bus driver

2015-03-05 Thread J. German Rivera
Platform device driver that sets up the basic bus infrastructure for the fsl-mc bus type, including support for adding/removing fsl-mc devices, register/unregister of fsl-mc drivers, and bus match support to bind devices to drivers. Signed-off-by: J. German Rivera Signed-off-by: Stuart Yoder ---

[PATCH v9 0/3] staging: fsl-mc: Freescale Management Complex bus driver patch series

2015-03-05 Thread J. German Rivera
This patch series introduces Linux support for the Freescale Management Complex (fsl-mc) hardware. This patch series is dependent on the patch series "ARM64: Add support for FSL's LS2085A SoC" (http://thread.gmane.org/gmane.linux.ports.arm.kernel/351829) The fsl-mc is a hardware resource manager t

[PATCH v8 2/3] staging: fsl-mc: Freescale Management Complex (fsl-mc) bus driver

2015-03-05 Thread J. German Rivera
Platform device driver that sets up the basic bus infrastructure for the fsl-mc bus type, including support for adding/removing fsl-mc devices, register/unregister of fsl-mc drivers, and bus match support to bind devices to drivers. Signed-off-by: J. German Rivera Signed-off-by: Stuart Yoder ---

[PATCH v8 1/3] staging: fsl-mc: Added Freescale Management Complex APIs

2015-03-05 Thread J. German Rivera
APIs to access the Management Complex (MC) hardware module of Freescale LS2 SoCs. This patch includes APIs to check the MC firmware version and to manipulate DPRC objects in the MC. Signed-off-by: J. German Rivera Signed-off-by: Stuart Yoder --- Changes in v8: - Addressed comments from Greg Kroa

[PATCH v8 0/3] staging: fsl-mc: Freescale Management Complex bus driver patch series

2015-03-05 Thread J. German Rivera
This patch series introduces Linux support for the Freescale Management Complex (fsl-mc) hardware. This patch series is dependent on the patch series "ARM64: Add support for FSL's LS2085A SoC" (http://thread.gmane.org/gmane.linux.ports.arm.kernel/351829) The fsl-mc is a hardware resource manager t

[PATCH v8 3/3] staging: fsl-mc: Device driver for FSL-MC DPRC devices

2015-03-05 Thread J. German Rivera
A DPRC (Data Path Resource Container) is an isolation device that contains a set of DPAA networking devices to be assigned to an isolation domain (e.g., a virtual machine). Signed-off-by: J. German Rivera Signed-off-by: Stuart Yoder --- Changes in v8: - Addressed comments from Greg Kroah-Hartman

Re: [PATCH 1/3] drivers:pnp Add support for descendants claiming memory address space

2015-03-05 Thread Rafael J. Wysocki
On 2/17/2015 8:41 PM, Jake Oshins wrote: This patch adds some wrapper functions in the pnp layer. The intent is to allow memory address space claims by devices which are descendants (a child or grandchild of) a device which is already part of the pnp layer. This allows a device to make a resour

re: Drivers: hv: hv_balloon: eliminate the trylock path in acquire/release_region_mutex

2015-03-05 Thread Dan Carpenter
Hello Vitaly Kuznetsov, The patch b05d8d9ef5ef: "Drivers: hv: hv_balloon: eliminate the trylock path in acquire/release_region_mutex" from Feb 28, 2015, leads to the following static checker warning: drivers/hv/hv_balloon.c:669 hv_mem_hot_add() warn: 'mutex:&dm_device.ha_region_mu

[patch] hv: vmbus: missing curly braces in vmbus_process_offer()

2015-03-05 Thread Dan Carpenter
The indenting makes it clear that there were curly braces intended here. Fixes: 2dd37cb81580 ('Drivers: hv: vmbus: Handle both rescind and offer messages in the same context') Signed-off-by: Dan Carpenter diff --git a/drivers/hv/channel_mgmt.c b/drivers/hv/channel_mgmt.c index 6117891..b25f1ae

[PATCH 3/4] staging: comedi: drivers/*.c: remove unnecessary blank lines

2015-03-05 Thread H Hartley Sweeten
Blank lines are not needed before a close brace '}' or after an open brace '{'. Also remove any multiple blank lines. Signed-off-by: H Hartley Sweeten Cc: Ian Abbott Cc: Greg Kroah-Hartman --- drivers/staging/comedi/drivers/adl_pci9111.c| 1 - drivers/staging/comedi/drivers/adl_pci9118

[PATCH 2/4] staging: comedi: drivers/*.c: alignment should match open parenthesis

2015-03-05 Thread H Hartley Sweeten
Fix the alignment issues in all the comedi drivers. Signed-off-by: H Hartley Sweeten Cc: Ian Abbott Cc: Greg Kroah-Hartman --- drivers/staging/comedi/drivers/addi_apci_1032.c | 4 ++-- drivers/staging/comedi/drivers/addi_apci_1564.c | 4 ++-- drivers/staging/comedi/drivers/addi_apci_3501.c |

[PATCH 0/4] staging: comedi: miscellaneous cleanup

2015-03-05 Thread H Hartley Sweeten
Following are some miscellaneous cleanup patches I have been sitting on. If necessary I can break them up but they are pretty straight forward. H Hartley Sweeten (4): staging: comedi: drivers/*.c: fix common misspellings staging: comedi: drivers/*.c: alignment should match open parenthesis s

[PATCH 4/4] staging: comedi: drivers/*.c: add missing braces {} to if/else branches

2015-03-05 Thread H Hartley Sweeten
According to the CodingStyle, braces should be used on all branches if thet are used on any branch, Signed-off-by: H Hartley Sweeten Cc: Ian Abbott Cc: Greg Kroah-Hartman --- drivers/staging/comedi/drivers/cb_pcidas.c | 3 ++- drivers/staging/comedi/drivers/cb_pcidas64.c | 21 +

[PATCH 1/4] staging: comedi: drivers/*.c: fix common misspellings

2015-03-05 Thread H Hartley Sweeten
Fix these common misspellings: s/dependancy/dependency s/occured/occurred s/informations/information s/intialize/initialize s/serveral/several s/interrups/interrupts s/acknowledgement/acknowledgment s/suppport/support s/writting/writing Signed-off-by: H Hartley Sweeten Cc: Ian A

[PATCH 13/17] staging: rtl8723au: Remove various ODM_* register access wrappers

2015-03-05 Thread Jes . Sorensen
From: Jes Sorensen Signed-off-by: Jes Sorensen --- drivers/staging/rtl8723au/hal/odm_interface.c | 53 --- drivers/staging/rtl8723au/include/odm_interface.h | 6 --- 2 files changed, 59 deletions(-) diff --git a/drivers/staging/rtl8723au/hal/odm_interface.c b/drivers/

[PATCH 05/17] staging: rtl8723au: Clean up PHY_{Query, Set}BBReg() 32 bit read/writes

2015-03-05 Thread Jes . Sorensen
From: Jes Sorensen This switches pure 32 bit read/writes to use the rtl8723au_{read,write}32() functions directly. Signed-off-by: Jes Sorensen --- .../staging/rtl8723au/hal/HalDMOutSrc8723A_CE.c| 209 - 1 file changed, 116 insertions(+), 93 deletions(-) diff --git a/dr

[PATCH 07/17] staging: rtl8723au: rtl8723a_phycfg.c: Use proper register read/write functions

2015-03-05 Thread Jes . Sorensen
From: Jes Sorensen Signed-off-by: Jes Sorensen --- drivers/staging/rtl8723au/hal/rtl8723a_phycfg.c | 21 + 1 file changed, 9 insertions(+), 12 deletions(-) diff --git a/drivers/staging/rtl8723au/hal/rtl8723a_phycfg.c b/drivers/staging/rtl8723au/hal/rtl8723a_phycfg.c index

[PATCH 08/17] staging: rtl8723au: usb_halinit.c: Use rtl8723au_{read, write}32()

2015-03-05 Thread Jes . Sorensen
From: Jes Sorensen Signed-off-by: Jes Sorensen --- drivers/staging/rtl8723au/hal/usb_halinit.c | 43 ++--- 1 file changed, 21 insertions(+), 22 deletions(-) diff --git a/drivers/staging/rtl8723au/hal/usb_halinit.c b/drivers/staging/rtl8723au/hal/usb_halinit.c index 575

[PATCH 17/17] staging: rtl8723au: Eliminate ODM_SetBBReg()

2015-03-05 Thread Jes . Sorensen
From: Jes Sorensen Signed-off-by: Jes Sorensen --- drivers/staging/rtl8723au/hal/odm.c | 33 ++- drivers/staging/rtl8723au/hal/odm_interface.c | 12 - drivers/staging/rtl8723au/include/odm_interface.h | 1 - 3 files changed, 20 insertions(+), 26 de

[PATCH 04/17] staging: rtl8723au: Reduce the usage of ODM_[GS]et_BBReg()

2015-03-05 Thread Jes . Sorensen
From: Jes Sorensen The vendor code has at least three different APIs for accessing registers. One more ugly than the other. This is the start to move away from ODM_[GS]et_BBReg() Signed-off-by: Jes Sorensen --- drivers/staging/rtl8723au/hal/odm.c | 89 +++-- 1 f

[PATCH 11/17] staging: rtl8723au: odm_ConfigBB_PHY_8723A() always issues 32 bit writes

2015-03-05 Thread Jes . Sorensen
From: Jes Sorensen Signed-off-by: Jes Sorensen --- drivers/staging/rtl8723au/hal/HalHWImg8723A_BB.c | 35 -- drivers/staging/rtl8723au/hal/odm_RegConfig8723A.c | 28 +++-- .../staging/rtl8723au/include/odm_RegConfig8723A.h | 2 +- 3 files changed, 31 insertion

[PATCH 03/17] staging: rtl8723au: Remove pointless wrappers around odm_TXPowerTrackingInit()

2015-03-05 Thread Jes . Sorensen
From: Jes Sorensen Signed-off-by: Jes Sorensen --- drivers/staging/rtl8723au/hal/odm.c | 13 +++-- 1 file changed, 3 insertions(+), 10 deletions(-) diff --git a/drivers/staging/rtl8723au/hal/odm.c b/drivers/staging/rtl8723au/hal/odm.c index 3c70ca3..2739240 100644 --- a/drivers/stagin

[PATCH 10/17] staging: rtl8723au: odm_ConfigBB_AGC_8723A() always does 32 bit writes

2015-03-05 Thread Jes . Sorensen
From: Jes Sorensen Signed-off-by: Jes Sorensen --- drivers/staging/rtl8723au/hal/HalHWImg8723A_BB.c | 5 ++--- drivers/staging/rtl8723au/hal/odm_RegConfig8723A.c | 14 -- drivers/staging/rtl8723au/include/odm_RegConfig8723A.h | 3 +-- 3 files changed, 7 insertions(+), 15

[PATCH 02/17] staging: rtl8723au: Remove a number of unused entries from struct dm_odm_t

2015-03-05 Thread Jes . Sorensen
From: Jes Sorensen Signed-off-by: Jes Sorensen --- drivers/staging/rtl8723au/hal/odm.c | 9 - drivers/staging/rtl8723au/include/odm.h | 28 +--- 2 files changed, 1 insertion(+), 36 deletions(-) diff --git a/drivers/staging/rtl8723au/hal/odm.c b/drivers/sta

[PATCH 12/17] staging: rtl8723au: Eliminate ODM_Write1Byte()

2015-03-05 Thread Jes . Sorensen
From: Jes Sorensen Signed-off-by: Jes Sorensen --- drivers/staging/rtl8723au/hal/odm.c| 4 ++-- drivers/staging/rtl8723au/hal/odm_RegConfig8723A.c | 10 +++--- drivers/staging/rtl8723au/hal/odm_interface.c | 7 --- drivers/staging/rtl8723au/include/odm_interface.h

[PATCH 14/17] staging: rtl8723au: Get rid of ODM_Read4Byte()

2015-03-05 Thread Jes . Sorensen
From: Jes Sorensen Signed-off-by: Jes Sorensen --- drivers/staging/rtl8723au/hal/odm.c | 9 - drivers/staging/rtl8723au/hal/odm_interface.c | 7 --- drivers/staging/rtl8723au/include/odm_interface.h | 2 -- 3 files changed, 4 insertions(+), 14 deletions(-) diff --

[PATCH 15/17] staging: rtl8723au: Eliminate ODM_GetBBReg()

2015-03-05 Thread Jes . Sorensen
From: Jes Sorensen Signed-off-by: Jes Sorensen --- drivers/staging/rtl8723au/hal/odm.c | 28 ++- drivers/staging/rtl8723au/hal/odm_interface.c | 11 - drivers/staging/rtl8723au/include/odm_interface.h | 1 - 3 files changed, 17 insertions(+), 23 de

[PATCH 09/17] staging: rtl8723au: odm.c: Use rtl8723au_{read, write}32() for 32 bit register access

2015-03-05 Thread Jes . Sorensen
From: Jes Sorensen Signed-off-by: Jes Sorensen --- drivers/staging/rtl8723au/hal/odm.c | 35 --- 1 file changed, 16 insertions(+), 19 deletions(-) diff --git a/drivers/staging/rtl8723au/hal/odm.c b/drivers/staging/rtl8723au/hal/odm.c index de0fe7a..fff1190 1006

[PATCH 16/17] staging: rtl8723au: odm.c: Further reduce the use of ODM_SetBBReg()

2015-03-05 Thread Jes . Sorensen
From: Jes Sorensen Signed-off-by: Jes Sorensen --- drivers/staging/rtl8723au/hal/odm.c | 168 +--- 1 file changed, 119 insertions(+), 49 deletions(-) diff --git a/drivers/staging/rtl8723au/hal/odm.c b/drivers/staging/rtl8723au/hal/odm.c index 32d0732..6e34c71 1

[PATCH 00/17] staging: rtl8723au: Reduce number of register write APIs

2015-03-05 Thread Jes . Sorensen
From: Jes Sorensen Hi, Another set of changes for the rtl8723au driver. This primarily focuses on reducing the number of APIs to write to the same registers. Of course having just one API is no fun if you can have three or four :) Cheers, Jes Jes Sorensen (17): staging: rtl8723au: Remove un

[PATCH 01/17] staging: rtl8723au: Remove unused struct rx_hp

2015-03-05 Thread Jes . Sorensen
From: Jes Sorensen Signed-off-by: Jes Sorensen --- drivers/staging/rtl8723au/include/odm.h | 14 -- 1 file changed, 14 deletions(-) diff --git a/drivers/staging/rtl8723au/include/odm.h b/drivers/staging/rtl8723au/include/odm.h index 0d1285c..d097465 100644 --- a/drivers/staging/rt

[PATCH 06/17] staging: rtl8723au: writeOFDMPowerReg() use rtl8723au_write32()

2015-03-05 Thread Jes . Sorensen
From: Jes Sorensen Signed-off-by: Jes Sorensen --- drivers/staging/rtl8723au/hal/rtl8723a_rf6052.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/rtl8723au/hal/rtl8723a_rf6052.c b/drivers/staging/rtl8723au/hal/rtl8723a_rf6052.c index 1aad438..32c58c6 100644

[PATCH 1/1] Correcting truncation error for constant HV_CRASH_CTL_CRASH_NOTIFY

2015-03-05 Thread Nick Meier
HV_CRASH_CTL_CRASH_NOTIFY is a 64 bit number. Depending on the usage context, the value may be truncated. This patch is in response from the following email from Intel: [char-misc:char-misc-testing 25/45] drivers/hv/vmbus_drv.c:67:9: sparse: constant 0x8000 is s

Dear user

2015-03-05 Thread ADMIN
Prezado usuário Foi detectado um erro na nossa administração de banco de dados devido ao número de Spam, que pode afetar seu email conta 2015 conta upgrade e danos seu e-mail arquivado. É necessário preencher o formulário abaixo para que possamos proteger e verificar a sua conta deste vírus rece

[PATCH 1/1] staging: rtl8192e: Remove unnecessary OOM message

2015-03-05 Thread Quentin Lambert
This patch reduces the kernel size by removing error messages that duplicate the normal OOM message. A simplified version of the semantic patch that finds this problem is as follows: (http://coccinelle.lip6.fr) @@ identifier f,print,l; expression e; constant char[] c; @@ e = \(kzalloc\|kmalloc\|

Re: [PATCH 1/1] staging: io: Remove unnecessary OOM message

2015-03-05 Thread Julia Lawall
On Thu, 5 Mar 2015, Quentin Lambert wrote: > > > On 05/03/2015 11:28, Julia Lawall wrote: > > It's i2o, not io, and it is on the way out of the kernel. > sorry about that, > since it is on its way out I guess there is no need for me to submit a correct > version of this patch? > > Are there resour

Re: [PATCH 1/1] staging: io: Remove unnecessary OOM message

2015-03-05 Thread Quentin Lambert
On 05/03/2015 11:28, Julia Lawall wrote: It's i2o, not io, and it is on the way out of the kernel. sorry about that, since it is on its way out I guess there is no need for me to submit a correct version of this patch? Are there resources to know whether or not a driver will be dropped or

Dear user

2015-03-05 Thread ADMIN
Prezado usuário Foi detectado um erro na nossa administração de banco de dados devido ao número de Spam, que pode afetar seu email conta 2015 conta upgrade e danos seu e-mail arquivado. É necessário preencher o formulário abaixo para que possamos proteger e verificar a sua conta deste vírus rece

Re: [PATCH 1/1] staging: io: Remove unnecessary OOM message

2015-03-05 Thread Julia Lawall
It's i2o, not io, and it is on the way out of the kernel. julia On Thu, 5 Mar 2015, Quentin Lambert wrote: > This patch reduces the kernel size by removing error messages that duplicate > the normal OOM message. > > Signed-off-by: Quentin Lambert > --- > drivers/staging/i2o/i2o_block.c | 1 -

[PATCH 1/1] staging: io: Remove unnecessary OOM message

2015-03-05 Thread Quentin Lambert
This patch reduces the kernel size by removing error messages that duplicate the normal OOM message. Signed-off-by: Quentin Lambert --- drivers/staging/i2o/i2o_block.c | 1 - drivers/staging/i2o/i2o_config.c | 7 +-- drivers/staging/i2o/iop.c| 10 ++ 3 files changed, 3 ins

Re: [PATCH] Staging: rtl8192e: remove assignment of function parameter

2015-03-05 Thread Sudip Mukherjee
On Wed, Mar 04, 2015 at 07:53:10PM +0100, Matteo Semenzato wrote: > From: Matteo Semenzato > > This patch removes the assignment of a function parameter that has no > effect. then by the same logic you can also remove another rxb = NULL in rtllib_rx_InfraAdhoc() function.. regards sudip > > Si

about our photo clipping path

2015-03-05 Thread Jeff
We want to introduce our photo retouching/clipping path. Here are our offerings below: photo retouching, photo clipping path, jewellery photo retouching, ecommerce products photo editing, photo cut out and masking, beauty and skin retouching, wedding photos editing. You may send us a photo for f

about our photo retouching

2015-03-05 Thread Jeff
We want to introduce our photo retouching/clipping path. Here are our offerings below: photo retouching, photo clipping path, jewellery photo retouching, ecommerce products photo editing, photo cut out and masking, beauty and skin retouching, wedding photos editing. You may send us a photo for f

Re: [PATCH v2] Staging: dgnc: Fix checking return value of register_chrdev

2015-03-05 Thread Dan Carpenter
On Thu, Mar 05, 2015 at 03:50:24AM +0100, Salah Triki wrote: > The failure code is negative. So check <0 instead of <=0. > Return the failure code instead of -ENXIO. > Great. Thanks. regards, dan carpenter ___ devel mailing list de...@linuxdriverproj

Re: [PATCH] Drivers: hv: hv_balloon: keep locks balanced on add_memory() failure

2015-03-05 Thread Jason Wang
- Original Message - > When add_memory() fails the following BUG is observed: > [ 743.646107] hv_balloon: hot_add memory failed error is -17 > [ 743.679973] > [ 743.680930] = > [ 743.680930] [ BUG: bad unlock balance detected! ] > [ 743.680930] 3.1