Re: [PATCH v4 1/6] mfd: rtsx: add func to split u32 into register

2014-12-08 Thread Lee Jones
On Fri, 05 Dec 2014, micky_ch...@realsil.com.cn wrote: > From: Micky Ching > > Add helper function to write u32 to registers, if we want to put u32 > value to 4 continuous register, this can help us reduce tedious work. > > Signed-off-by: Micky Ching > Acked-by: Lee Jones > --- > include/lin

Re: [PATCH v4 1/6] mfd: rtsx: add func to split u32 into register

2014-12-08 Thread 敬锐
On 12/08/2014 04:49 PM, Lee Jones wrote: >> diff --git a/include/linux/mfd/rtsx_pci.h b/include/linux/mfd/rtsx_pci.h >> >index 74346d5..9234449 100644 >> >--- a/include/linux/mfd/rtsx_pci.h >> >+++ b/include/linux/mfd/rtsx_pci.h >> >@@ -558,6 +558,7 @@ >> > #define SD_SAMPLE_POINT_CTL

[PATCH] staging:lustre:lustre:ptlrpc: fix sparse warnings in lproc_ptlrpc.c

2014-12-08 Thread Fred Chou
From: Fred Chou Fixed the below warning in sparse: drivers/staging/lustre/lustre/ptlrpc/lproc_ptlrpc.c:184:6: warning: symbol 'ptlrpc_lprocfs_register' was not declared. Should it be static? Signed-off-by: Fred Chou --- drivers/staging/lustre/lustre/ptlrpc/lproc_ptlrpc.c | 7 --- 1 file

Re: [PATCH v4 1/6] mfd: rtsx: add func to split u32 into register

2014-12-08 Thread Lee Jones
On Fri, 05 Dec 2014, micky_ch...@realsil.com.cn wrote: > From: Micky Ching > > Add helper function to write u32 to registers, if we want to put u32 > value to 4 continuous register, this can help us reduce tedious work. > > Signed-off-by: Micky Ching > Acked-by: Lee Jones > --- > include/linu

Re: [PATCH v4 1/6] mfd: rtsx: add func to split u32 into register

2014-12-08 Thread Lee Jones
On Mon, 08 Dec 2014, 敬锐 wrote: > > On 12/08/2014 04:49 PM, Lee Jones wrote: > >> diff --git a/include/linux/mfd/rtsx_pci.h b/include/linux/mfd/rtsx_pci.h > >> >index 74346d5..9234449 100644 > >> >--- a/include/linux/mfd/rtsx_pci.h > >> >+++ b/include/linux/mfd/rtsx_pci.h > >> >@@ -558,6 +558,7 @@

Re: [PATCH v4 1/6] mfd: rtsx: add func to split u32 into register

2014-12-08 Thread 敬锐
On 12/08/2014 05:57 PM, Lee Jones wrote: > On Mon, 08 Dec 2014, 敬锐 wrote: > >> On 12/08/2014 04:49 PM, Lee Jones wrote: diff --git a/include/linux/mfd/rtsx_pci.h b/include/linux/mfd/rtsx_pci.h > index 74346d5..9234449 100644 > --- a/include/linux/mfd/rtsx_pci.h > +++ b/include/lin

Re: [PATCH v4 1/6] mfd: rtsx: add func to split u32 into register

2014-12-08 Thread Ulf Hansson
On 8 December 2014 at 10:57, Lee Jones wrote: > On Fri, 05 Dec 2014, micky_ch...@realsil.com.cn wrote: >> From: Micky Ching >> >> Add helper function to write u32 to registers, if we want to put u32 >> value to 4 continuous register, this can help us reduce tedious work. >> >> Signed-off-by: Mick

[PATCH] staging: vt6656: Use ether_addr_copy() in vnt_fill_ieee80211_rts.

2014-12-08 Thread Krzysztof Adamski
Both struct ieee80211_rts and struct ieee80211_hdr defined in linux/ieee80211.h are declared as __aligned(2) so it is safe to use ether_addr_copy() instead of memcpy(). Signed-off-by: Krzysztof Adamski --- drivers/staging/vt6656/rxtx.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-)

Re: [PATCH v4 1/6] mfd: rtsx: add func to split u32 into register

2014-12-08 Thread Lee Jones
On Mon, 08 Dec 2014, Ulf Hansson wrote: > On 8 December 2014 at 10:57, Lee Jones wrote: > > On Fri, 05 Dec 2014, micky_ch...@realsil.com.cn wrote: > >> From: Micky Ching > >> > >> Add helper function to write u32 to registers, if we want to put u32 > >> value to 4 continuous register, this can h

Re: [PATCH 2/2] Drivers: hv: balloon: Fix the deadlock issue in the memory hot-add code

2014-12-08 Thread Michal Hocko
On Fri 05-12-14 16:41:38, K. Y. Srinivasan wrote: > Andy Whitcroft initially saw this deadlock. We > have seen this as well. Here is the original description of the > problem (and a potential solution) from Andy: > > https://lkml.org/lkml/2014/3/14/451 > > Here is an excerpt from that mail: > >

Re: [PATCH] Clocking-wizard: Fixed missing blank line warning

2014-12-08 Thread Sören Brinkmann
On Sun, 2014-12-07 at 02:35PM +0530, Athira Lekshmi wrote: > Added a new line after declaration to remove the warning > 'Missing a blank line after declarations' > > Signed-off-by: Athira Lekshmi Acked-by: Soren Brinkmann Soren ___ devel maili

[PATCH] staging:board: fix build errors and warnings

2014-12-08 Thread Tsung-Han Lin
Add dummy implementation of 'of_find_all_nodes', and remove the unnecessary 'of_can_translate_address', which is already removed in commit d9c6866be8a145e32da616d8dcbae806032d75b5 ("of: kill off of_can_translate_address"), to fix the build errors and warnings found by sparse. Signed-off-by: Tsung-

[PATCH] Staging: lustre: obd: Fix a coding style issue

2014-12-08 Thread Dean Michael Ancajas
From: Dean Ancajas Fixed a brace coding style issue for functions. Signed-off-by: Dean Michael Ancajas --- drivers/staging/lustre/lustre/obdclass/cl_object.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/staging/lustre/lustre/obdclass/cl_object.c b/drivers/stag

[PATCH] Staging: rtl8723au: os_dep: Fixed a coding style issue.

2014-12-08 Thread Dean Michael Ancajas
Fixed a coding style issue for braces. Signed-off-by: Dean Michael Ancajas --- drivers/staging/rtl8723au/os_dep/ioctl_cfg80211.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/staging/rtl8723au/os_dep/ioctl_cfg80211.c b/drivers/staging/rtl8723au/os_dep/ioctl_cfg80

[PATCH] Staging: ft1000: ft1000-pcmcia: Fixed a coding style issue

2014-12-08 Thread Dean Michael Ancajas
Fixed a coding style issue for braces. Signed-off-by: Dean Michael Ancajas --- drivers/staging/ft1000/ft1000-pcmcia/ft1000_hw.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/staging/ft1000/ft1000-pcmcia/ft1000_hw.c b/drivers/staging/ft1000/ft1000-pcmcia/ft100

[PATCH] Staging: lustre: Fix sparse non-static symbol warnings

2014-12-08 Thread Tom Wales
Fixes the following sparse warnings: drivers/staging/lustre/lnet/lnet/lib-move.c:565:1: warning: symbol 'lnet_ni_recv' was not declared. Should it be static? drivers/staging/lustre/lnet/lnet/lib-move.c:603:1: warning: symbol 'lnet_setpayloadbuffer' was not declared. Should it be static? drivers/st

[PATCH] staging: ion: ion_cma_heap: remove ion_cma_get_sgtable

2014-12-08 Thread Zeng Tao
Remove the temporary code ion_cma_get_sgtable, use dma_common_get_sgtable instead Signed-off-by: Zeng Tao --- drivers/staging/android/ion/ion_cma_heap.c | 20 +--- 1 file changed, 1 insertion(+), 19 deletions(-) diff --git a/drivers/staging/android/ion/ion_cma_heap.c b/drivers/

Re: [PATCH net-next] hyperv: Add support for vNIC hot removal

2014-12-08 Thread David Miller
From: Haiyang Zhang Date: Mon, 1 Dec 2014 13:28:39 -0800 > This patch adds proper handling of the vNIC hot removal event, which includes > a rescind-channel-offer message from the host side that triggers vNIC close > and > removal. In this case, the notices to the host during close and removal

Re: [PATCH 2/2] Drivers: hv: balloon: Fix the deadlock issue in the memory hot-add code

2014-12-08 Thread Yasuaki Ishimatsu
(2014/12/09 0:04), Michal Hocko wrote: On Fri 05-12-14 16:41:38, K. Y. Srinivasan wrote: Andy Whitcroft initially saw this deadlock. We have seen this as well. Here is the original description of the problem (and a potential solution) from Andy: https://lkml.org/lkml/2014/3/14/451 Here is an

Re: [PATCH] staging: ion: ion_cma_heap: remove ion_cma_get_sgtable

2014-12-08 Thread Joe Perches
On Tue, 2014-12-09 at 09:19 +0800, Zeng Tao wrote: > Remove the temporary code ion_cma_get_sgtable, > use dma_common_get_sgtable instead [] > diff --git a/drivers/staging/android/ion/ion_cma_heap.c > b/drivers/staging/android/ion/ion_cma_heap.c [] > @@ -91,7 +73,7 @@ static int ion_cma_allocate(st