Prezado assinante

2016-02-18 Thread ADMIN
Prezado assinante, Atualmente estamos empenhados no serviço de manutenção de conta. Como um assinante, é necessário para confirmar sua participação continuada. Falha para confirmar sua participação continuada levará a serviço suspensão. Por favor preencha e reverter a forma beolw para evitar a su

Re: [PATCH 1/2] staging: fsl-mc: Do not allow building as a module

2016-02-18 Thread Greg Kroah-Hartman
On Thu, Feb 18, 2016 at 03:02:30PM +0100, Thierry Reding wrote: > On Mon, Feb 15, 2016 at 02:22:22PM +0100, Thierry Reding wrote: > > From: Thierry Reding > > > > This driver uses functionality (MSI IRQ domain) whose symbols aren't > > exported, and hence the modular build fails. While arguably t

RE: [PATCH V2 18/24] staging: wilc1000: linux_wlan.c: removes unnecessary log messages

2016-02-18 Thread Kim, Leo
Hi Julian, Yes, ongoing remove this function. I will be removing this function for next patch. Thank you in your advice.  Thanks, BR  Leo -Original Message- From: Julian Calaby [mailto:julian.cal...@gmail.com] Sent: Friday, February 19, 2016 9:41 AM To: Kim, Leo Cc: Greg KH ; de...@dri

[PATCH] staging: rtl8192u: check return value of read_nic_word_E

2016-02-18 Thread Salah Triki
The call of read_nic_word_E may fail, therefore its return value must be checked. Signed-off-by: Salah Triki --- drivers/staging/rtl8192u/r8180_93cx6.c | 24 +++- 1 file changed, 19 insertions(+), 5 deletions(-) diff --git a/drivers/staging/rtl8192u/r8180_93cx6.c b/drivers/

Re: [PATCH V2 18/24] staging: wilc1000: linux_wlan.c: removes unnecessary log messages

2016-02-18 Thread Julian Calaby
Hi Leo, On Thu, Feb 18, 2016 at 10:30 PM, Leo Kim wrote: > From: Chris Park > > This patch removes unnecessary log messages. > > Signed-off-by: Chris Park > Signed-off-by: Leo Kim > --- > drivers/staging/wilc1000/linux_wlan.c | 1 - > 1 file changed, 1 deletion(-) > > diff --git a/drivers/sta

Re: [PATCH] staging: octeon: use atomic_long_t

2016-02-18 Thread David Daney
On 02/18/2016 02:20 PM, Aaro Koskinen wrote: Use atomic_long_t, so that we can avoid some 32 vs. 64-bit ifdeffery. Signed-off-by: Aaro Koskinen OCTEON doesn't even support a 32-bit kernel. This is really old legacy B.S. that should be removed... Acked-by: David Daney --- drivers/stag

Re: [PATCH] staging: octeon: use atomic_long_t

2016-02-18 Thread Greg Kroah-Hartman
On Fri, Feb 19, 2016 at 12:20:45AM +0200, Aaro Koskinen wrote: > Use atomic_long_t, so that we can avoid some 32 vs. 64-bit ifdeffery. Why are these atomic at all? There's no reason they can't just be a u64 like all other network drivers have, right? thanks, greg k-h ___

[PATCH] staging: octeon: use atomic_long_t

2016-02-18 Thread Aaro Koskinen
Use atomic_long_t, so that we can avoid some 32 vs. 64-bit ifdeffery. Signed-off-by: Aaro Koskinen --- drivers/staging/octeon/ethernet-rx.c | 24 ++-- drivers/staging/octeon/ethernet.c| 9 ++--- 2 files changed, 8 insertions(+), 25 deletions(-) diff --git a/drivers/

Re: [PATCH v5 0/3] staging: rtl8723au: use list_for_each_entry*() and cleaning

2016-02-18 Thread Jes Sorensen
Geliang Tang writes: > On Wed, Feb 17, 2016 at 12:28:33PM -0500, Jes Sorensen wrote: >> kbuild test robot writes: >> > All errors (new ones prefixed by >>): >> > >> >drivers/staging/rtl8723au/core/rtw_recv.c: In function >> > 'rtw_free_recvframe23a_queue': >> >>> drivers/staging/rtl8723au/co

Re: [PATCH] IB/rxe: fix compare_const_fl.cocci warnings

2016-02-18 Thread Doug Ledford
On 2/18/2016 8:06 AM, Julia Lawall wrote: > Move constants to the right of binary operators. > > Generated by: scripts/coccinelle/misc/compare_const_fl.cocci > > CC: Kamal Heib > Signed-off-by: Fengguang Wu > Signed-off-by: Julia Lawall > --- > > The constants on the right look a bit nicer.

[PATCH] staging: lusture: obdclass: Remove unnecessary NULL check

2016-02-18 Thread Bhaktipriya Shridhar
NULL check before the debugfs_remove_recursive function is not needed. This was detected using scripts/coccinelle/free/ifnullfree.cocci Signed-off-by: Bhaktipriya Shridhar --- drivers/staging/lustre/lustre/obdclass/linux/linux-module.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) d

[PATCH v5 3/3] staging: rtl8723au: whitespace and blank line cleaning

2016-02-18 Thread Geliang Tang
This patch cleans whitespaces and blank lines involved with previous two patchs in this patch set. Signed-off-by: Geliang Tang --- drivers/staging/rtl8723au/core/rtw_ap.c | 33 +-- drivers/staging/rtl8723au/core/rtw_mlme.c | 10 --- drivers/staging/rtl87

[PATCH v5 2/3] staging: rtl8723au: core: rtw_recv: remove useless codes

2016-02-18 Thread Geliang Tang
There are some useless codes in rtw_free_recvframe23a_queue() and recvframe_defrag(), so remove them. Signed-off-by: Geliang Tang Acked-by: Jes Sorensen --- drivers/staging/rtl8723au/core/rtw_recv.c | 9 ++--- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/drivers/staging/rtl

[PATCH v5 1/3] staging: rtl8723au: use list_for_each_entry*()

2016-02-18 Thread Geliang Tang
Use list_for_each_entry*() instead of list_for_each*() to simplify the code. Signed-off-by: Geliang Tang --- drivers/staging/rtl8723au/core/rtw_ap.c | 59 drivers/staging/rtl8723au/core/rtw_mlme.c | 28 -- drivers/staging/rtl8723au/core/rtw_mlme_ext

[PATCH v5 0/3] staging: rtl8723au: use list_for_each_entry*() and cleaning

2016-02-18 Thread Geliang Tang
On Wed, Feb 17, 2016 at 12:28:33PM -0500, Jes Sorensen wrote: > kbuild test robot writes: > > Hi Geliang, > > > > [auto build test ERROR on staging/staging-testing] > > [also build test ERROR on v4.5-rc4 next-20160217] > > [if your patch is applied to the wrong git tree, please drop us a note to

Re: [PATCH 1/2] staging: fsl-mc: Do not allow building as a module

2016-02-18 Thread Thierry Reding
On Mon, Feb 15, 2016 at 02:22:22PM +0100, Thierry Reding wrote: > From: Thierry Reding > > This driver uses functionality (MSI IRQ domain) whose symbols aren't > exported, and hence the modular build fails. While arguably there might > be reasons to make these symbols available to modules, that c

[PATCH] Drivers: hv: util: fix a race with daemons startup

2016-02-18 Thread Vitaly Kuznetsov
Commit 3cace4a61610 ("Drivers: hv: utils: run polling callback always in interrupt context") removed direct *_transaction.state = HVUTIL_READY assignments from *_handle_handshake() functions introducing the following race: if a userspace daemon connects before we get first non-negotiation request f

[PATCH] IB/rxe: fix compare_const_fl.cocci warnings

2016-02-18 Thread Julia Lawall
Move constants to the right of binary operators. Generated by: scripts/coccinelle/misc/compare_const_fl.cocci CC: Kamal Heib Signed-off-by: Fengguang Wu Signed-off-by: Julia Lawall --- The constants on the right look a bit nicer. Another possibility would be !!. tree: https://github.com/d

Driver review for gdm72xx

2016-02-18 Thread Shraddha Barke
Hello all, I'm helping Greg do a bit of cleanup in the staging tree. The checkpatch warnings in gdm72xx have been taken care of and the TODO only mentions "fix kernel style warnings". Could you please suggest what needs to be done before gdm72xx can be moved out of staging?. Regards, Shrad

[PATCH V2 22/24] staging: wilc1000: removes usused PRINT_XXX(region...)

2016-02-18 Thread Leo Kim
From: Chris Park This patch removes unused PRINT_XXX(region...) because already removed in used to region feature of whole wilc source. Also, removes unnecessary related region extern variable. Signed-off-by: Chris Park Signed-off-by: Leo Kim --- drivers/staging/wilc1000/linux_wlan_common.h |

[PATCH V2 24/24] staging: wilc1000: moves LINUX_RX_SIZE, LINUX_TX_SIZE

2016-02-18 Thread Leo Kim
From: Chris Park This patch moves LINUX_RX_SIZE and LINUX_TX_SIZE to wilc_wlan.h file because there are only used to wilc_wlan.c file. Signed-off-by: Chris Park Signed-off-by: Leo Kim --- drivers/staging/wilc1000/linux_wlan_common.h | 4 drivers/staging/wilc1000/wilc_wlan.h | 3 +

[PATCH V2 18/24] staging: wilc1000: linux_wlan.c: removes unnecessary log messages

2016-02-18 Thread Leo Kim
From: Chris Park This patch removes unnecessary log messages. Signed-off-by: Chris Park Signed-off-by: Leo Kim --- drivers/staging/wilc1000/linux_wlan.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/staging/wilc1000/linux_wlan.c b/drivers/staging/wilc1000/linux_wlan.c index a731

[PATCH V2 23/24] staging: wilc1000: moves to define values

2016-02-18 Thread Leo Kim
From: Chris Park This patch moves DEBUG, INFO, WRN and ERR values to wilc_debugfs.c file because this is only used to wilc_debugfs.c file. And, removes unnecessary WILC_DEBUGFS and else-case variables. Signed-off-by: Chris Park Signed-off-by: Leo Kim --- drivers/staging/wilc1000/linux_wlan_co

[PATCH V2 21/24] staging: wilc1000: removes unused region feature

2016-02-18 Thread Leo Kim
From: Chris Park This patch removes unused region feature on debug message. Also, removes the functions of related in this feature. Signed-off-by: Chris Park Signed-off-by: Leo Kim --- drivers/staging/wilc1000/linux_wlan_common.h | 17 ++- drivers/staging/wilc1000/wilc_debugfs.c

[PATCH V2 19/24] staging: wilc1000: wilc_wfi_cfgoperations.c: removes unnecessary log messages

2016-02-18 Thread Leo Kim
From: Chris Park This patch removes unnecessary log messages. Signed-off-by: Chris Park Signed-off-by: Leo Kim --- drivers/staging/wilc1000/wilc_wfi_cfgoperations.c | 14 +++--- 1 file changed, 3 insertions(+), 11 deletions(-) diff --git a/drivers/staging/wilc1000/wilc_wfi_cfgoperati

[PATCH V2 20/24] staging: wilc1000: wilc_wlan.c: removes unnecessary log messages

2016-02-18 Thread Leo Kim
From: Chris Park This patch removes unnecessary log messages. Signed-off-by: Chris Park Signed-off-by: Leo Kim --- drivers/staging/wilc1000/wilc_wlan.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/drivers/staging/wilc1000/wilc_wlan.c b/drivers/staging/wilc1000/wilc_wlan.c index 50f8

[PATCH V2 17/24] staging: wilc1000: host_interface.c: replace PRINT_ER with netdev_err

2016-02-18 Thread Leo Kim
From: Chris Park This patch replaces PRINT_ER with netdev_err. Signed-off-by: Chris Park Signed-off-by: Leo Kim --- drivers/staging/wilc1000/host_interface.c | 288 +++--- 1 file changed, 144 insertions(+), 144 deletions(-) diff --git a/drivers/staging/wilc1000/host_i

[PATCH V2 13/24] staging: wilc1000: wilc_wfi_cfgoperations.c: removes unnecessary log messages

2016-02-18 Thread Leo Kim
From: Chris Park This patch removes unnecessary log messages. And, it adds a 'break' statement in accordance with the switch-case rule. Signed-off-by: Chris Park Signed-off-by: Leo Kim --- drivers/staging/wilc1000/wilc_wfi_cfgoperations.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)

[PATCH V2 15/24] staging: wilc1000: coreconfigurator.c: removes unnecessary log messages

2016-02-18 Thread Leo Kim
From: Chris Park This patch removes unnecessary log messages. Signed-off-by: Chris Park Signed-off-by: Leo Kim --- drivers/staging/wilc1000/coreconfigurator.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/staging/wilc1000/coreconfigurator.c b/drivers/staging/

[PATCH V2 11/24] staging: wilc1000: host_interface.c: removes unnecessary log messages

2016-02-18 Thread Leo Kim
From: Chris Park This patch removes unnecessary log message and relate variables. Signed-off-by: Chris Park Signed-off-by: Leo Kim --- drivers/staging/wilc1000/host_interface.c | 31 --- 1 file changed, 4 insertions(+), 27 deletions(-) diff --git a/drivers/staging

[PATCH V2 16/24] staging: wilc1000: host_interface.c: removes unnecessary log messages

2016-02-18 Thread Leo Kim
From: Chris Park This patch removes unnecessary log messages. Signed-off-by: Chris Park Signed-off-by: Leo Kim --- drivers/staging/wilc1000/host_interface.c | 12 ++-- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/drivers/staging/wilc1000/host_interface.c b/drivers/s

[PATCH V2 12/24] staging: wilc1000: wilc_wfi_cfgoperations.c: removes unnecessary log messages

2016-02-18 Thread Leo Kim
From: Chris Park This patch removes unnecessary log messages and relate variables. Signed-off-by: Chris Park Signed-off-by: Leo Kim --- drivers/staging/wilc1000/wilc_wfi_cfgoperations.c | 233 +- 1 file changed, 11 insertions(+), 222 deletions(-) diff --git a/drivers/stag

[PATCH V2 14/24] staging: wilc1000: removes unused CFG80211_DBG tag

2016-02-18 Thread Leo Kim
From: Chris Park This patch removes unused CFG80211_DBG tag. Signed-off-by: Chris Park Signed-off-by: Leo Kim --- drivers/staging/wilc1000/linux_wlan_common.h | 4 +--- drivers/staging/wilc1000/wilc_debugfs.c | 6 +++--- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/driv

[PATCH V2 10/24] staging: wilc1000: removes unused HOSTAPD_DBG tag

2016-02-18 Thread Leo Kim
From: Chris Park This patch removes unused HOSTAPD_DBG tag. Signed-off-by: Chris Park Signed-off-by: Leo Kim --- drivers/staging/wilc1000/linux_wlan_common.h | 4 +--- drivers/staging/wilc1000/wilc_debugfs.c | 5 ++--- 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/driver

[PATCH V2 08/24] staging: wilc1000: linux_mon.c: removes comments

2016-02-18 Thread Leo Kim
From: Chris Park This patch removes unnecessary comments. Signed-off-by: Chris Park Signed-off-by: Leo Kim --- drivers/staging/wilc1000/linux_mon.c | 4 1 file changed, 4 deletions(-) diff --git a/drivers/staging/wilc1000/linux_mon.c b/drivers/staging/wilc1000/linux_mon.c index 7e7cff4

[PATCH V2 09/24] staging: wilc1000: wilc_wfi_cfgoperations.c: removes unnecessary log messages

2016-02-18 Thread Leo Kim
From: Chris Park This patch removes the unnecessary log messages which is used with the HOSTAPD_DBG tag. Signed-off-by: Chris Park Signed-off-by: Leo Kim --- drivers/staging/wilc1000/wilc_wfi_cfgoperations.c | 88 +-- 1 file changed, 1 insertion(+), 87 deletions(-) diff -

[PATCH V2 03/24] staging: wilc1000: linux_mon.c: replaces PRINT_ER with netdev_err

2016-02-18 Thread Leo Kim
This patches replaces PRINT_ER with netdev_err. Signed-off-by: Leo Kim --- drivers/staging/wilc1000/linux_mon.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/wilc1000/linux_mon.c b/drivers/staging/wilc1000/linux_mon.c index 9edc6e9..3048e88 100644 --- a/dri

[PATCH V2 01/24] staging: wilc1000: wilc_wlan.c: removes PRINT_ER

2016-02-18 Thread Leo Kim
This patches removes PRINT_ER that is unnecessary debug logs. Signed-off-by: Leo Kim --- drivers/staging/wilc1000/wilc_wlan.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/staging/wilc1000/wilc_wlan.c b/drivers/staging/wilc1000/wilc_wlan.c index ef65e8e..50f85ac 100644 --- a/driv

[PATCH V2 02/24] staging: wilc1000: linux_mon.c: removes debug logs

2016-02-18 Thread Leo Kim
This patches removes unnecessary debug logs. Signed-off-by: Leo Kim --- drivers/staging/wilc1000/linux_mon.c | 24 ++-- 1 file changed, 6 insertions(+), 18 deletions(-) diff --git a/drivers/staging/wilc1000/linux_mon.c b/drivers/staging/wilc1000/linux_mon.c index 21f35d7..9

[PATCH V2 07/24] staging: wilc1000: linux_mon.c: removes unnecessary log message

2016-02-18 Thread Leo Kim
From: Chris Park This patch removes unnecessary log message and relate variables. Signed-off-by: Chris Park Signed-off-by: Leo Kim --- drivers/staging/wilc1000/linux_mon.c | 42 1 file changed, 4 insertions(+), 38 deletions(-) diff --git a/drivers/staging

[PATCH V2 06/24] staging: wilc1000: host_interface.c: removes unnecessary log message

2016-02-18 Thread Leo Kim
From: Chris Park This patch removes unnecessary log message and relate variables. Signed-off-by: Chris Park Signed-off-by: Leo Kim --- drivers/staging/wilc1000/host_interface.c | 5 - 1 file changed, 5 deletions(-) diff --git a/drivers/staging/wilc1000/host_interface.c b/drivers/staging

[PATCH V2 04/24] staging: wilc1000: linux_mon.c: add to check routine

2016-02-18 Thread Leo Kim
This patch adds the return value which needs the check and prints the error message when it fails. Signed-off-by: Leo Kim --- drivers/staging/wilc1000/linux_mon.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/staging/wilc1000/linux_mon.c b/drivers/staging/wilc10

[PATCH V2 05/24] staging: wilc1000: removes potential null dereference

2016-02-18 Thread Leo Kim
This patch removes the error reported by smatch. - wilc_wfi_cfgoperations.c:674 scan() error: potential null dereference 'strHiddenNetwork.net_info'. (kmalloc returns null) Signed-off-by: Leo Kim --- drivers/staging/wilc1000/wilc_wfi_cfgoperations.c | 2 ++ 1 file changed, 2 insertions(+)

Re: [PATCH 05/24] staging: wilc1000: removes potential null dereference

2016-02-18 Thread kbuild test robot
/staging-wilc1000-wilc_wlan-c-removes-PRINT_ER/20160218-153737 coccinelle warnings: (new ones prefixed by >>) >> drivers/staging/wilc1000/wilc_wfi_cfgoperations.c:1153:6-35: alloc with no >> test, possible model on line 1158 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c:1192:6

Re: [PATCH] mm: add MM_SWAPENTS and page table when calculate tasksize in lowmem_scan()

2016-02-18 Thread Xishi Qiu
On 2016/2/18 15:55, Figo.zhang wrote: > > > 2016-02-17 8:35 GMT+08:00 David Rientjes >: > > On Tue, 16 Feb 2016, Greg Kroah-Hartman wrote: > > > On Tue, Feb 16, 2016 at 05:37:05PM +0800, Xishi Qiu wrote: > > > Currently tasksize in lowmem_scan() only ca

Re: [PATCH] staging: rtl8712: reduce stack usage

2016-02-18 Thread Arnd Bergmann
On Wednesday 17 February 2016 20:20:15 Larry Finger wrote: > > --- > > drivers/staging/rtl8712/rtl871x_ioctl_linux.c | 2 +- > > 1 file changed, 1 insertion(+), 1 deletion(-) > > As there is no reason for translate_scan() to be inlined, this patch seems > reasonable The largest user of stack l

Re: Re: [RFC PATCH] staging/android/ion : fix a race condition in the ion driver

2016-02-18 Thread EunTaik Lee
2016-02-18 3:54 GMT+09:00 Laura Abbott : > On 02/16/2016 10:32 PM, EunTaik Lee wrote: >> There was a use-after-free problem in the ion driver. >> >> The problem is detected as an unaligned access in the >> spin lock functions since it uses load exclusive >> instruction. In some cases it corrupts