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

2016-02-17 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

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

2016-02-17 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 ---

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

2016-02-17 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

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

2016-02-17 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

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

2016-02-17 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

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

2016-02-17 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

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

2016-02-17 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

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

2016-02-17 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(-)

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

2016-02-17 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

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

2016-02-17 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

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

2016-02-17 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

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

2016-02-17 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

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

2016-02-17 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 ---

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

2016-02-17 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

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

2016-02-17 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

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

2016-02-17 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

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

2016-02-17 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

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

2016-02-17 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

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

2016-02-17 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) - wilc_wfi_cfgoperations.c:1164 add_key() error: potential null dereference 'g_key_gtk_params.key'. (kmalloc

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

2016-02-17 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

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

2016-02-17 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

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

2016-02-17 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

[PATCH] staging: rtl8188eu: Remove RF_PATH_C & RF_PATH_D

2016-02-17 Thread Andrew Bradford
RTL8188EE has a maximum of 2 RF paths (chains) so paths C and D are not needed to support this part. Signed-off-by: Andrew Bradford --- drivers/staging/rtl8188eu/hal/bb_cfg.c | 26 -- drivers/staging/rtl8188eu/hal/phy.c

Re: [PATCH] staging: rtl8712: Improve suspend/resume functionality.

2016-02-17 Thread Larry Finger
On 02/16/2016 03:20 PM, Hemmo Nieminen wrote: Fix a driver hang caused by earlier suspend/resume cycles. By handling a ENODEV error during suspend as a real error we eventually end up stopping the whole driver. Fix this by handling the ENODEV error (during suspend) essentially by retrying.

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

2016-02-17 Thread Larry Finger
On 02/17/2016 02:32 AM, Arnd Bergmann wrote: The "translate_scan" function in rtl8712 uses a lot of stack, and gets inlined into its single caller, r8711_wx_get_scan, which in some configurations now blows the 1024 byte stack warning limit: drivers/staging/rtl8712/rtl871x_ioctl_linux.c: In

[PATCH net-next] hv_netvsc: add software transmit timestamp support

2016-02-17 Thread Simon Xiao
Enable skb_tx_timestamp in hyperv netvsc. Signed-off-by: Simon Xiao Reviewed-by: K. Y. Srinivasan Reviewed-by: Haiyang Zhang --- drivers/net/hyperv/netvsc_drv.c | 3 +++ 1 file changed, 3 insertions(+) diff --git

Re: [PATCH] Staging: Octeon: change types to kernel types in ethernet-tx.c

2016-02-17 Thread Greg KH
On Wed, Feb 17, 2016 at 07:41:50PM +0100, Ben Marsh wrote: > This is a patch to ethernet-tx.c that changes int32_t variable types to s32 > kernel types to fix warnings by checkpatch.pl Are you sure they are correct and shouldn't just be a 'int' type? Please verify the use of all of them...

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

2016-02-17 Thread 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 the slub's > free pointer which causes a

[PATCH] Staging: Octeon: change types to kernel types in ethernet-tx.c

2016-02-17 Thread Ben Marsh
This is a patch to ethernet-tx.c that changes int32_t variable types to s32 kernel types to fix warnings by checkpatch.pl Signed-off-by: Ben Marsh --- drivers/staging/octeon/ethernet-tx.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git

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

2016-02-17 Thread Michal Hocko
On Tue 16-02-16 16:35:39, David Rientjes wrote: > 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 calculate rss, and not include > > > swap. > > > But usually smart phones enable zram,

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

2016-02-17 Thread Jes Sorensen
kbuild test robot <l...@intel.com> 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 > help improving the syst

Re: [PATCH RESEND v3 0/3] PCI: hv: New paravirtual PCI front-end driver

2016-02-17 Thread Bjorn Helgaas
On Tue, Feb 16, 2016 at 09:56:20PM +, ja...@microsoft.com wrote: > From: Jake Oshins > > This version incorporates more feedback from Bjorn Helgaas. Most notably, > I removed some debugging code and I consistently used architectural > means for getting the PCI domain

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

2016-02-17 Thread kbuild test robot
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 help improving the system] url: https://github.com/0day-ci/linux/commits/Geliang-Tang/staging-rtl8723au

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

2016-02-17 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 | 7 +-- 1 file changed, 1 insertion(+), 6

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

2016-02-17 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 ---

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

2016-02-17 Thread Geliang Tang
This patch set uses list_for_each_entry*() instead of list_for_each*(), removes useless codes, and cleans whitespaces and blank lines. Changes in v4: - revise the patchs as Jes suggested. Changes in v3: - split it into three patches. Changes in v2: - drop the coding style fixing in v1.

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

2016-02-17 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 --

Re: [PATCH net-next] hv_netvsc: Increase delay for RNDIS_STATUS_NETWORK_CHANGE

2016-02-17 Thread Vitaly Kuznetsov
David Miller writes: > From: Haiyang Zhang > Date: Tue, 9 Feb 2016 15:31:34 + > >> 1) I share your concern as well. Is there a universal way to immediately >> trigger >> DHCP renew of all current and future daemons with a single event from >>

[PATCH v4 4/4] Staging: gdm72xx: Remove wrapper function put_event_entry

2016-02-17 Thread Shraddha Barke
put_event_entry is used only once. Replace it's usage with direct call to list_add_tail(). Signed-off-by: Shraddha Barke --- Changes in v4- Deleted the function Changes in v3- Removed BUG_ON Changes in v2- No change drivers/staging/gdm72xx/gdm_wimax.c | 9 +

[PATCH v4 3/4] Staging: gdm72xx: Remove unnecessary parenthesis around function pointer

2016-02-17 Thread Shraddha Barke
No need for the parentheses around any function pointer. Detected using checkpatch. Signed-off-by: Shraddha Barke --- Changes - Nothing drivers/staging/gdm72xx/gdm_wimax.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git

[PATCH v4 2/4] Staging: gdm72xx: Add space around that "+", "&" and "/"

2016-02-17 Thread Shraddha Barke
Add missing spaces around "+", "&" and "/" to follow kernel coding style. Warning detected by checkpatch. Signed-off-by: Shraddha Barke --- Changes in v4- No change Changes in v3- Fix 80 line Changes in v2- Subject drivers/staging/gdm72xx/gdm_qos.c | 12

[PATCH v4 1/4] Staging: gdm72xx: Add space around that "+", "&" and "|"

2016-02-17 Thread Shraddha Barke
Add missing spaces around "+", "&" and "|" to follow kernel coding style. Warning detected by checkpatch. Signed-off-by: Shraddha Barke --- Changes - Nothing drivers/staging/gdm72xx/hci.h | 2 +- drivers/staging/gdm72xx/netlink_k.c | 6 +++---

[PATCH v4 0/4] Staging: gdm72xx: Checkpatch cleanups

2016-02-17 Thread Shraddha Barke
This patch series fixes last of checkpatch warnings in gdm72xx Shraddha Barke (4): Staging: gdm72xx: Add space around that "+", "&" and "|" Staging: gdm72xx: Add space around that "+", "&" and "/" Staging: gdm72xx: Remove unnecessary parenthesis around function pointer Staging:

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

2016-02-17 Thread Xishi Qiu
On 2016/2/17 8:35, David Rientjes wrote: > 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 calculate rss, and not include >>> swap. >>> But usually smart phones enable zram, so swap space

[PATCH] staging: rtl8712: reduce stack usage

2016-02-17 Thread Arnd Bergmann
The "translate_scan" function in rtl8712 uses a lot of stack, and gets inlined into its single caller, r8711_wx_get_scan, which in some configurations now blows the 1024 byte stack warning limit: drivers/staging/rtl8712/rtl871x_ioctl_linux.c: In function 'r8711_wx_get_scan':