[PATCH 1/1] Staging:dgnc:dgnc_neo: fixed 80 character line limit coding style issue

2016-09-03 Thread Nadim Almas
Fixed coding style issue Signed-off-by: Nadim Almas --- drivers/staging/dgnc/dgnc_neo.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/dgnc/dgnc_neo.c b/drivers/staging/dgnc/dgnc_neo.c index 0974986..f07f69c 100644 --- a/drivers/staging/dgnc/dgnc_neo.c ++

Re: [PATCHv2 4/4] staging: android: ion: Add ioctl to query available heaps

2016-09-03 Thread Greg Kroah-Hartman
On Fri, Sep 02, 2016 at 01:41:48PM -0700, Laura Abbott wrote: > On 09/01/2016 11:14 PM, Greg Kroah-Hartman wrote: > > On Thu, Sep 01, 2016 at 03:40:44PM -0700, Laura Abbott wrote: > > > > > > Ion clients currently lack a good method to determine what > > > heaps are available and what ids they map

[PATCH 1/1] staging: rtl8192u: do not use undefined $(TOPDIR) in Makefile

2016-09-03 Thread Nicolas Iooss
drivers/staging/rtl8192u/ieee80211/Makefile uses $(TOPDIR) to configure an include directory, without defining this variable first. The path which is configured is therefore "/drivers/net/wireless", which does not seem to be the intended path. Remove the offending line. Signed-off-by: Nicolas Ioo

[GIT PULL] Staging/IIO driver fixes for 4.8-rc5

2016-09-03 Thread Greg KH
The following changes since commit 694d0d0bb2030d2e36df73e2d23d5770511dbc8d: Linux 4.8-rc2 (2016-08-14 19:11:36 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging.git/ tags/staging-4.8-rc5 for you to fetch changes up to eafe5cfe71892

[PATCH 24/63] staging: r8188eu: remove pxmitbuf parameter of rtl8188eu_xmitframe_complete function

2016-09-03 Thread Ivan Safonov
pxmitbuf always is NULL. Signed-off-by: Ivan Safonov --- drivers/staging/rtl8188eu/hal/rtl8188eu_xmit.c| 12 +--- drivers/staging/rtl8188eu/include/rtl8188e_xmit.h | 3 +-- drivers/staging/rtl8188eu/os_dep/usb_ops_linux.c | 2 +- 3 files changed, 7 insertions(+), 10 deletions(-)

[PATCH 01/63] staging: r8188eu: replace rtw_ieee80211_hdr with ieee80211_hdr

2016-09-03 Thread Ivan Safonov
rtw_ieee80211_hdr is duplicate of ieee80211_hdr. Signed-off-by: Ivan Safonov --- drivers/staging/rtl8188eu/core/rtw_mlme_ext.c | 66 +-- drivers/staging/rtl8188eu/core/rtw_xmit.c | 4 +- drivers/staging/rtl8188eu/hal/rtl8188e_cmd.c | 24 +- drivers/staging/r

[PATCH 10/63] staging: r8188eu: remove rwdinfo member of struct adapter

2016-09-03 Thread Ivan Safonov
Only default value of wdinfo was used. Signed-off-by: Ivan Safonov --- drivers/staging/rtl8188eu/hal/rtl8188e_dm.c | 5 - drivers/staging/rtl8188eu/include/drv_types.h | 2 -- 2 files changed, 7 deletions(-) diff --git a/drivers/staging/rtl8188eu/hal/rtl8188e_dm.c b/drivers/staging/rtl81

[PATCH 55/63] staging: r8188eu: rename phy_set_bw_mode to rtw_hal_set_bwmode

2016-09-03 Thread Ivan Safonov
And remove two one-line wrappers. Signed-off-by: Ivan Safonov --- drivers/staging/rtl8188eu/hal/hal_intf.c | 8 drivers/staging/rtl8188eu/hal/phy.c | 2 +- drivers/staging/rtl8188eu/hal/rtl8188e_hal_init.c | 2 -- drivers/staging/rtl8188eu/include/hal_intf.h

[PATCH 52/63] staging: r8188eu: rename rtl8188e_Add_RateATid to rtw_hal_add_ra_tid

2016-09-03 Thread Ivan Safonov
And remove two one-line wrappers. Signed-off-by: Ivan Safonov --- drivers/staging/rtl8188eu/hal/hal_intf.c | 8 drivers/staging/rtl8188eu/hal/rtl8188e_cmd.c | 2 +- drivers/staging/rtl8188eu/hal/rtl8188e_hal_init.c | 2 -- drivers/staging/rtl8188eu/include/hal_intf.h

[PATCH 44/63] staging: r8188eu: rename rtl8188eu_InitPowerOn to rtw_hal_power_on

2016-09-03 Thread Ivan Safonov
And remove many one-line wrappers. Signed-off-by: Ivan Safonov --- drivers/staging/rtl8188eu/hal/hal_intf.c | 7 --- drivers/staging/rtl8188eu/hal/usb_halinit.c | 6 ++ drivers/staging/rtl8188eu/include/hal_intf.h | 2 -- 3 files changed, 2 insertions(+), 13 deletions(-) diff --git

[PATCH 48/63] staging: r8188eu: rename sreset_init_value to rtw_hal_sreset_init

2016-09-03 Thread Ivan Safonov
And remove two one-line wrappers. Signed-off-by: Ivan Safonov --- drivers/staging/rtl8188eu/core/rtw_sreset.c | 2 +- drivers/staging/rtl8188eu/hal/hal_intf.c | 6 -- drivers/staging/rtl8188eu/hal/rtl8188e_hal_init.c | 2 -- drivers/staging/rtl8188eu/include/hal_intf.h |

[PATCH 47/63] staging: r8188eu: remove sreset_get_wifi_status of hal_ops structure

2016-09-03 Thread Ivan Safonov
Driver does not use it. Signed-off-by: Ivan Safonov --- drivers/staging/rtl8188eu/hal/rtl8188e_hal_init.c | 1 - drivers/staging/rtl8188eu/include/hal_intf.h | 1 - 2 files changed, 2 deletions(-) diff --git a/drivers/staging/rtl8188eu/hal/rtl8188e_hal_init.c b/drivers/staging/rtl8188eu/h

[PATCH 50/63] staging: r8188eu: rename AntDivCompare8188E to rtw_hal_antdiv_rssi_compared

2016-09-03 Thread Ivan Safonov
And remove two one-line wrappers. Signed-off-by: Ivan Safonov --- drivers/staging/rtl8188eu/hal/hal_intf.c | 8 drivers/staging/rtl8188eu/hal/rtl8188e_dm.c | 2 +- drivers/staging/rtl8188eu/hal/rtl8188e_hal_init.c | 1 - drivers/staging/rtl8188eu/include/hal_intf.h |

[PATCH 13/63] staging: r8188eu: remove usb_vendor_req_buf member of dvobj_priv

2016-09-03 Thread Ivan Safonov
Memory allocation moved into usbctrl_vendorreq function. Signed-off-by: Ivan Safonov --- drivers/staging/rtl8188eu/include/drv_types.h| 2 -- drivers/staging/rtl8188eu/os_dep/usb_intf.c | 8 drivers/staging/rtl8188eu/os_dep/usb_ops_linux.c | 4 +++- 3 files changed, 3 insertion

[PATCH 19/63] staging: r8188eu: remove num_of_scanned member of mlme_priv structure and corresponding to it code

2016-09-03 Thread Ivan Safonov
Value of this variabl does not used. Signed-off-by: Ivan Safonov --- drivers/staging/rtl8188eu/core/rtw_mlme.c| 7 --- drivers/staging/rtl8188eu/include/rtw_mlme.h | 22 -- 2 files changed, 29 deletions(-) diff --git a/drivers/staging/rtl8188eu/core/rtw_mlme.c b/dr

[PATCH 63/63] staging: r8188eu: remove HalFunc member of adapter structure

2016-09-03 Thread Ivan Safonov
hal_ops structure is empty. Also remove hal_ops definition. Signed-off-by: Ivan Safonov --- drivers/staging/rtl8188eu/include/drv_types.h | 1 - drivers/staging/rtl8188eu/include/hal_intf.h | 3 --- 2 files changed, 4 deletions(-) diff --git a/drivers/staging/rtl8188eu/include/drv_types.h b/d

[PATCH 02/63] staging: r8188eu: replace rtw_ieee80211_hdr_3addr with ieee80211_hdr_3addr

2016-09-03 Thread Ivan Safonov
rtw_ieee80211_hdr_3addr is duplicate of ieee80211_hdr_3addr. Signed-off-by: Ivan Safonov --- drivers/staging/rtl8188eu/core/rtw_mlme_ext.c | 62 +- drivers/staging/rtl8188eu/core/rtw_wlan_util.c | 6 +-- drivers/staging/rtl8188eu/hal/rtl8188e_cmd.c | 8 ++-- drivers/

[PATCH 43/63] staging: r8188eu: remove hal_init member of hal_ops structure

2016-09-03 Thread Ivan Safonov
It is unnecessary wrapper for rtl8188eu_hal_init function. Signed-off-by: Ivan Safonov --- drivers/staging/rtl8188eu/hal/hal_intf.c | 2 +- drivers/staging/rtl8188eu/hal/usb_halinit.c | 3 +-- drivers/staging/rtl8188eu/include/hal_intf.h | 2 +- 3 files changed, 3 insertions(+), 4 deletions

[PATCH 38/63] staging: r8188eu: rename rtl8188eu_init_recv_priv to rtw_hal_init_recv_priv

2016-09-03 Thread Ivan Safonov
And remove two one-line wrappers. Signed-off-by: Ivan Safonov --- drivers/staging/rtl8188eu/hal/hal_intf.c | 8 drivers/staging/rtl8188eu/hal/rtl8188eu_recv.c| 2 +- drivers/staging/rtl8188eu/hal/usb_halinit.c | 2 -- drivers/staging/rtl8188eu/include/hal_intf.h

[PATCH 23/63] staging: r8188eu: remove do_queue_select function

2016-09-03 Thread Ivan Safonov
do_queue_select is simplest one-line function. Signed-off-by: Ivan Safonov --- drivers/staging/rtl8188eu/core/rtw_xmit.c | 12 +--- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/drivers/staging/rtl8188eu/core/rtw_xmit.c b/drivers/staging/rtl8188eu/core/rtw_xmit.c index 6

[PATCH 12/63] staging: r8188eu: remove phostapdpriv member of struct adapter

2016-09-03 Thread Ivan Safonov
phostapdpriv does not used. Signed-off-by: Ivan Safonov --- drivers/staging/rtl8188eu/include/drv_types.h | 4 1 file changed, 4 deletions(-) diff --git a/drivers/staging/rtl8188eu/include/drv_types.h b/drivers/staging/rtl8188eu/include/drv_types.h index 1190e98..32b4612 100644 --- a/driv

[PATCH 60/63] staging: r8188eu: remove hal_set_hal_ops macro

2016-09-03 Thread Ivan Safonov
hal_set_hal_ops is a trivial wrapper for rtl8188eu_set_hal_ops. Signed-off-by: Ivan Safonov --- drivers/staging/rtl8188eu/include/usb_hal.h | 1 - drivers/staging/rtl8188eu/os_dep/usb_intf.c | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/staging/rtl8188eu/include/u

[PATCH 30/63] staging: r8188eu: rename GetHwReg8188EU to rtw_hal_get_hwreg

2016-09-03 Thread Ivan Safonov
And remove two one-line wrappers. Signed-off-by: Ivan Safonov --- drivers/staging/rtl8188eu/core/rtw_mlme.c| 2 +- drivers/staging/rtl8188eu/hal/hal_intf.c | 6 -- drivers/staging/rtl8188eu/hal/usb_halinit.c | 3 +-- drivers/staging/rtl8188eu/include/hal_intf.h | 2 -- 4 files chang

[PATCH 25/63] staging: r8188eu: rename rtl8188eu_mgnt_xmit to rtw_hal_mgnt_xmit

2016-09-03 Thread Ivan Safonov
And remove many one-line wrappers. Signed-off-by: Ivan Safonov --- drivers/staging/rtl8188eu/hal/hal_intf.c | 9 - drivers/staging/rtl8188eu/hal/rtl8188eu_xmit.c| 2 +- drivers/staging/rtl8188eu/hal/usb_halinit.c | 1 - drivers/staging/rtl8188eu/include/hal_intf.h

[PATCH 11/63] staging: r8188eu: remove fw_ps_awake variable of rtl8188e_HalDmWatchDog function

2016-09-03 Thread Ivan Safonov
Value of the fw_ps_awake does not used. Signed-off-by: Ivan Safonov --- drivers/staging/rtl8188eu/hal/rtl8188e_dm.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/drivers/staging/rtl8188eu/hal/rtl8188e_dm.c b/drivers/staging/rtl8188eu/hal/rtl8188e_dm.c index f9ad01a..e717999 100644 --- a

[PATCH 33/63] staging: r8188eu: rename rtl8188eu_interface_configure to rtw_hal_chip_configure

2016-09-03 Thread Ivan Safonov
And remove two one-line wrappers. Signed-off-by: Ivan Safonov --- drivers/staging/rtl8188eu/hal/hal_intf.c | 6 -- drivers/staging/rtl8188eu/hal/usb_halinit.c | 3 +-- drivers/staging/rtl8188eu/include/hal_intf.h | 2 -- 3 files changed, 1 insertion(+), 10 deletions(-) diff --git a/dri

[PATCH 61/63] staging: r8188eu: remove interrupt_handler member of hal_ops structure

2016-09-03 Thread Ivan Safonov
interrupt_handler does not used. Signed-off-by: Ivan Safonov --- drivers/staging/rtl8188eu/include/hal_intf.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/staging/rtl8188eu/include/hal_intf.h b/drivers/staging/rtl8188eu/include/hal_intf.h index 9b3528a..2528a6e 100644 --- a/driv

[PATCH 08/63] staging: r8188eu: remove rereg_nd_name_priv member of struct adapter

2016-09-03 Thread Ivan Safonov
Only default value of rereg_nd_name_priv was used. Signed-off-by: Ivan Safonov --- drivers/staging/rtl8188eu/include/drv_types.h | 8 drivers/staging/rtl8188eu/os_dep/os_intfs.c | 6 -- 2 files changed, 14 deletions(-) diff --git a/drivers/staging/rtl8188eu/include/drv_types.h b

[PATCH 27/63] staging: r8188eu: rename SetBeaconRelatedRegisters8188EUsb to rtw_hal_bcn_related_reg_setting

2016-09-03 Thread Ivan Safonov
And remove many one-line wrappers. Signed-off-by: Ivan Safonov --- drivers/staging/rtl8188eu/hal/hal_intf.c | 6 -- drivers/staging/rtl8188eu/hal/usb_halinit.c | 3 +-- drivers/staging/rtl8188eu/include/hal_intf.h | 1 - 3 files changed, 1 insertion(+), 9 deletions(-) diff --git a/driv

[PATCH 04/63] staging: r8188eu: remove ieee80211_txb and tx_pending structures

2016-09-03 Thread Ivan Safonov
ieee80211_txb and tx_pending structures are not used. Signed-off-by: Ivan Safonov --- drivers/staging/rtl8188eu/include/ieee80211.h | 15 --- 1 file changed, 15 deletions(-) diff --git a/drivers/staging/rtl8188eu/include/ieee80211.h b/drivers/staging/rtl8188eu/include/ieee80211.h i

[PATCH 40/63] staging: r8188eu: rename usb_read_port_cancel to rtw_hal_inirp_deinit

2016-09-03 Thread Ivan Safonov
And remove three one-line wrappers. Signed-off-by: Ivan Safonov --- drivers/staging/rtl8188eu/hal/hal_intf.c | 8 drivers/staging/rtl8188eu/hal/usb_halinit.c | 12 drivers/staging/rtl8188eu/include/hal_intf.h | 3 +-- drivers/staging/rtl8188eu/os_dep/usb_

[PATCH 09/63] staging: r8188eu: remove evtThread member of struct adapter

2016-09-03 Thread Ivan Safonov
evtThread does not used. Signed-off-by: Ivan Safonov --- drivers/staging/rtl8188eu/include/drv_types.h | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/staging/rtl8188eu/include/drv_types.h b/drivers/staging/rtl8188eu/include/drv_types.h index 246d0fc..e0bdd80 100644 --- a/drivers/sta

[PATCH 22/63] staging: r8188eu: remove sizeof_priv parameter of rtw_alloc_etherdev_with_old_priv function

2016-09-03 Thread Ivan Safonov
sizeof_priv does not used. Signed-off-by: Ivan Safonov --- drivers/staging/rtl8188eu/include/osdep_service.h | 3 +-- drivers/staging/rtl8188eu/os_dep/os_intfs.c | 2 +- drivers/staging/rtl8188eu/os_dep/osdep_service.c | 3 +-- 3 files changed, 3 insertions(+), 5 deletions(-) diff --git

[PATCH 20/63] staging: r8188eu: remove not_indic_disco member of mlme_priv structure

2016-09-03 Thread Ivan Safonov
This member does not used. Signed-off-by: Ivan Safonov --- drivers/staging/rtl8188eu/include/rtw_mlme.h | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/staging/rtl8188eu/include/rtw_mlme.h b/drivers/staging/rtl8188eu/include/rtw_mlme.h index 4da445c..9434b86 100644 --- a/drivers/stag

[PATCH 46/63] staging: r8188eu: rename rtl8188e_SetHalODMVar to rtw_hal_set_odm_var

2016-09-03 Thread Ivan Safonov
And remove many one-line wrappers. Signed-off-by: Ivan Safonov --- drivers/staging/rtl8188eu/hal/hal_intf.c | 9 - drivers/staging/rtl8188eu/hal/rtl8188e_hal_init.c | 4 +--- drivers/staging/rtl8188eu/include/hal_intf.h | 4 3 files changed, 1 insertion(+), 16 deletion

[PATCH 41/63] staging: r8188eu: rename rtl8188eu_inirp_init to rtw_hal_inirp_init

2016-09-03 Thread Ivan Safonov
And remove two one-line wrappers. Signed-off-by: Ivan Safonov --- drivers/staging/rtl8188eu/hal/hal_intf.c | 11 --- drivers/staging/rtl8188eu/hal/usb_halinit.c | 4 +--- drivers/staging/rtl8188eu/include/hal_intf.h | 2 -- 3 files changed, 1 insertion(+), 16 deletions(-) diff --

[PATCH 45/63] staging: r8188eu: rename hal_notch_filter_8188e to rtw_hal_notch_filter

2016-09-03 Thread Ivan Safonov
And remove many one-line wrappers. Signed-off-by: Ivan Safonov --- drivers/staging/rtl8188eu/hal/hal_intf.c | 6 -- drivers/staging/rtl8188eu/hal/rtl8188e_hal_init.c | 4 +--- drivers/staging/rtl8188eu/include/hal_intf.h | 1 - 3 files changed, 1 insertion(+), 10 deletions(-)

[PATCH 36/63] staging: r8188eu: rename rtl8188eu_InitSwLeds to rtw_hal_sw_led_init

2016-09-03 Thread Ivan Safonov
And remove two one-line wrappers. Signed-off-by: Ivan Safonov --- drivers/staging/rtl8188eu/hal/hal_intf.c | 6 -- drivers/staging/rtl8188eu/hal/rtl8188eu_led.c| 2 +- drivers/staging/rtl8188eu/hal/usb_halinit.c | 1 - drivers/staging/rtl8188eu/include/hal_intf.h | 2 --

[PATCH 03/63] staging: r8188eu: replace rtw_ieee80211_hdr_3addr_qos with ieee80211_qos_hdr

2016-09-03 Thread Ivan Safonov
rtw_ieee80211_hdr_3addr_qos is duplicate of ieee80211_qos_hdr. Signed-off-by: Ivan Safonov --- drivers/staging/rtl8188eu/core/rtw_mlme_ext.c | 4 ++-- drivers/staging/rtl8188eu/hal/rtl8188e_cmd.c | 10 +- drivers/staging/rtl8188eu/include/ieee80211.h | 10 -- 3 files changed, 7

[PATCH 51/63] staging: r8188eu: rename AntDivBeforeLink8188E to rtw_hal_antdiv_before_linked

2016-09-03 Thread Ivan Safonov
And remove two one-line wrappers. Signed-off-by: Ivan Safonov --- drivers/staging/rtl8188eu/hal/hal_intf.c | 7 --- drivers/staging/rtl8188eu/hal/rtl8188e_dm.c | 2 +- drivers/staging/rtl8188eu/hal/rtl8188e_hal_init.c | 2 -- drivers/staging/rtl8188eu/include/hal_intf.h |

[PATCH 21/63] staging: r8188eu: remove sizeof_priv member of rtw_netdev_priv_indicator

2016-09-03 Thread Ivan Safonov
sizeof_priv does not used. Signed-off-by: Ivan Safonov --- drivers/staging/rtl8188eu/include/osdep_service.h | 1 - drivers/staging/rtl8188eu/os_dep/osdep_service.c | 1 - 2 files changed, 2 deletions(-) diff --git a/drivers/staging/rtl8188eu/include/osdep_service.h b/drivers/staging/rtl8188e

[PATCH 14/63] staging: r8188eu: remove ep_num member of dvobj_priv structure

2016-09-03 Thread Ivan Safonov
Value of the ep_num does not used. Signed-off-by: Ivan Safonov --- drivers/staging/rtl8188eu/include/drv_types.h | 1 - drivers/staging/rtl8188eu/os_dep/usb_intf.c | 1 - 2 files changed, 2 deletions(-) diff --git a/drivers/staging/rtl8188eu/include/drv_types.h b/drivers/staging/rtl8188eu/in

[PATCH 17/63] staging: r8188eu: remove p2p_* members from mlme_priv structure

2016-09-03 Thread Ivan Safonov
This members does not used. Signed-off-by: Ivan Safonov --- drivers/staging/rtl8188eu/core/rtw_ap.c | 3 --- drivers/staging/rtl8188eu/core/rtw_mlme.c| 6 -- drivers/staging/rtl8188eu/include/rtw_mlme.h | 11 --- 3 files changed, 20 deletions(-) diff --git a/drivers/stagi

[PATCH 49/63] staging: r8188eu: rename phy_query_rf_reg to rtw_hal_read_rfreg

2016-09-03 Thread Ivan Safonov
And remove two one-line wrappers. Signed-off-by: Ivan Safonov --- drivers/staging/rtl8188eu/hal/hal_intf.c | 11 --- drivers/staging/rtl8188eu/hal/phy.c | 10 +- drivers/staging/rtl8188eu/hal/rtl8188e_hal_init.c | 1 - drivers/staging/rtl8188eu/hal/usb_hal

[PATCH 28/63] staging: r8188eu: remove UpdateRAMaskHandler member of hal_ops structure

2016-09-03 Thread Ivan Safonov
It is unnecessary wrapper for UpdateHalRAMask8188EUsb function. Signed-off-by: Ivan Safonov --- drivers/staging/rtl8188eu/hal/hal_intf.c | 4 +--- drivers/staging/rtl8188eu/hal/usb_halinit.c | 4 +--- drivers/staging/rtl8188eu/include/hal_intf.h | 4 +--- 3 files changed, 3 insertions(+), 9

[PATCH 06/63] staging: r8188eu: remove in_cta_test member of struct adapter

2016-09-03 Thread Ivan Safonov
bNotifyChannelChange does not changed after initialization. "if" branches with in_cta_test != 0 removed too. Signed-off-by: Ivan Safonov --- drivers/staging/rtl8188eu/hal/usb_halinit.c | 21 +++-- drivers/staging/rtl8188eu/include/drv_types.h | 2 -- 2 files changed, 3 inserti

[PATCH 15/63] staging: r8188eu: remove nr_endpoint member of dvobj_priv structure

2016-09-03 Thread Ivan Safonov
nr_endpoint used as local variable. Signed-off-by: Ivan Safonov --- drivers/staging/rtl8188eu/include/drv_types.h | 2 -- drivers/staging/rtl8188eu/os_dep/usb_intf.c | 3 +-- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/drivers/staging/rtl8188eu/include/drv_types.h b/drivers/

[PATCH 62/63] staging: r8188eu: remove hal_reset_security_engine member of hal_ops structure

2016-09-03 Thread Ivan Safonov
hal_reset_security_engine always is NULL. Also rtw_hal_reset_security_engine function removed. Signed-off-by: Ivan Safonov --- drivers/staging/rtl8188eu/hal/hal_intf.c | 8 drivers/staging/rtl8188eu/include/hal_intf.h | 2 -- 2 files changed, 10 deletions(-) diff --git a/drivers/st

[PATCH 18/63] staging: r8188eu: remove scan_start_time and assoc_by_rssi members from mlme_priv structure

2016-09-03 Thread Ivan Safonov
Value of this members does not used. Signed-off-by: Ivan Safonov --- drivers/staging/rtl8188eu/core/rtw_cmd.c | 2 -- drivers/staging/rtl8188eu/include/rtw_mlme.h | 2 -- 2 files changed, 4 deletions(-) diff --git a/drivers/staging/rtl8188eu/core/rtw_cmd.c b/drivers/staging/rtl8188eu/core/

[PATCH 42/63] staging: r8188eu: remove hal_deinit member of hal_ops structure

2016-09-03 Thread Ivan Safonov
It is unnecessary wrapper for rtl8188eu_hal_deinit function. Signed-off-by: Ivan Safonov --- drivers/staging/rtl8188eu/hal/hal_intf.c | 2 +- drivers/staging/rtl8188eu/hal/usb_halinit.c | 3 +-- drivers/staging/rtl8188eu/include/hal_intf.h | 2 +- 3 files changed, 3 insertions(+), 4 deletio

[PATCH 35/63] staging: r8188eu: rename rtl8188eu_DeInitSwLeds to rtw_hal_sw_led_deinit

2016-09-03 Thread Ivan Safonov
And remove two one-line wrappers. Signed-off-by: Ivan Safonov --- drivers/staging/rtl8188eu/hal/hal_intf.c | 6 -- drivers/staging/rtl8188eu/hal/rtl8188eu_led.c| 2 +- drivers/staging/rtl8188eu/hal/usb_halinit.c | 1 - drivers/staging/rtl8188eu/include/hal_intf.h | 1 -

[PATCH 59/63] staging: r8188eu: remove rtl8188e_set_hal_ops function

2016-09-03 Thread Ivan Safonov
rtl8188e_set_hal_ops do nothing. Signed-off-by: Ivan Safonov --- drivers/staging/rtl8188eu/hal/rtl8188e_hal_init.c | 3 --- drivers/staging/rtl8188eu/hal/usb_halinit.c | 5 - drivers/staging/rtl8188eu/include/rtl8188e_hal.h | 2 -- 3 files changed, 10 deletions(-) diff --git a/driver

[PATCH 05/63] staging: r8188eu: remove bNotifyChannelChange member of struct adapter

2016-09-03 Thread Ivan Safonov
Default value of this variable used only to produce debug output. Signed-off-by: Ivan Safonov --- drivers/staging/rtl8188eu/core/rtw_wlan_util.c | 3 --- drivers/staging/rtl8188eu/hal/phy.c| 3 --- drivers/staging/rtl8188eu/include/drv_types.h | 3 --- drivers/staging/rtl8188eu/os_d

[PATCH 57/63] staging: r8188eu: rename rtl8188e_init_dm_priv to rtw_hal_dm_init

2016-09-03 Thread Ivan Safonov
And remove two one-line wrappers. Signed-off-by: Ivan Safonov --- drivers/staging/rtl8188eu/hal/hal_intf.c | 6 -- drivers/staging/rtl8188eu/hal/rtl8188e_dm.c | 2 +- drivers/staging/rtl8188eu/hal/rtl8188e_hal_init.c | 2 -- drivers/staging/rtl8188eu/include/hal_intf.h |

[PATCH 29/63] staging: r8188eu: rename GetHalDefVar8188EUsb to rtw_hal_get_def_var

2016-09-03 Thread Ivan Safonov
And remove many one-line wrappers. Signed-off-by: Ivan Safonov --- drivers/staging/rtl8188eu/hal/hal_intf.c | 8 drivers/staging/rtl8188eu/hal/usb_halinit.c | 4 +--- drivers/staging/rtl8188eu/include/hal_intf.h | 4 3 files changed, 1 insertion(+), 15 deletions(-) diff --git

[PATCH 58/63] staging: r8188eu: rename rtl8188e_free_hal_data to rtw_hal_free_data

2016-09-03 Thread Ivan Safonov
And remove two one-line wrappers. Signed-off-by: Ivan Safonov --- drivers/staging/rtl8188eu/hal/hal_intf.c | 6 -- drivers/staging/rtl8188eu/hal/rtl8188e_hal_init.c | 3 +-- drivers/staging/rtl8188eu/include/hal_intf.h | 2 -- 3 files changed, 1 insertion(+), 10 deletions(-) d

[PATCH 16/63] staging: r8188eu: remove some members of registry_priv structure

2016-09-03 Thread Ivan Safonov
some registry_priv members does not used after initialization. Module parameters corresponding to this members deleted too. Signed-off-by: Ivan Safonov --- drivers/staging/rtl8188eu/include/drv_types.h | 25 drivers/staging/rtl8188eu/os_dep/os_intfs.c | 58

[PATCH 31/63] staging: r8188eu: rename SetHwReg8188EU to rtw_hal_set_hwreg

2016-09-03 Thread Ivan Safonov
And remove two one-line wrappers. Signed-off-by: Ivan Safonov --- drivers/staging/rtl8188eu/core/rtw_wlan_util.c | 2 +- drivers/staging/rtl8188eu/hal/hal_intf.c | 6 -- drivers/staging/rtl8188eu/hal/usb_halinit.c| 4 +--- drivers/staging/rtl8188eu/include/hal_intf.h | 3 --- 4 f

[PATCH 37/63] staging: r8188eu: rename rtl8188eu_free_recv_priv to rtw_hal_free_recv_priv

2016-09-03 Thread Ivan Safonov
And remove two one-line wrappers. Signed-off-by: Ivan Safonov --- drivers/staging/rtl8188eu/hal/hal_intf.c | 6 -- drivers/staging/rtl8188eu/hal/rtl8188eu_recv.c| 2 +- drivers/staging/rtl8188eu/hal/usb_halinit.c | 1 - drivers/staging/rtl8188eu/include/hal_intf.h | 1

[PATCH 39/63] staging: r8188eu: rename rtl8188eu_init_xmit_priv to rtw_hal_init_xmit_priv

2016-09-03 Thread Ivan Safonov
And remove two one-line wrappers. Signed-off-by: Ivan Safonov --- drivers/staging/rtl8188eu/hal/hal_intf.c | 7 --- drivers/staging/rtl8188eu/hal/rtl8188eu_xmit.c | 2 +- drivers/staging/rtl8188eu/hal/usb_halinit.c| 2 -- drivers/staging/rtl8188eu/include/hal_intf.h | 2 -- 4 fi

[PATCH 32/63] staging: r8188eu: rename _ReadAdapterInfo8188EU to rtw_hal_read_chip_info

2016-09-03 Thread Ivan Safonov
And remove two one-line wrappers. Signed-off-by: Ivan Safonov --- drivers/staging/rtl8188eu/hal/hal_intf.c | 6 -- drivers/staging/rtl8188eu/hal/usb_halinit.c | 3 +-- drivers/staging/rtl8188eu/include/hal_intf.h | 2 -- 3 files changed, 1 insertion(+), 10 deletions(-) diff --git a/dri

[PATCH 34/63] staging: r8188eu: rename rtl8188eu_init_default_value to rtw_hal_def_value_init

2016-09-03 Thread Ivan Safonov
And remove two one-line wrappers. Signed-off-by: Ivan Safonov --- drivers/staging/rtl8188eu/hal/hal_intf.c | 6 -- drivers/staging/rtl8188eu/hal/usb_halinit.c | 4 +--- drivers/staging/rtl8188eu/include/hal_intf.h | 2 -- 3 files changed, 1 insertion(+), 11 deletions(-) diff --git a/dr

[PATCH 07/63] staging: r8188eu: remove br_ext_lock and fix_rate members of struct adapter

2016-09-03 Thread Ivan Safonov
br_ext_lock and fix_rate are not used after initialization. Signed-off-by: Ivan Safonov --- drivers/staging/rtl8188eu/hal/rtl8188e_dm.c | 1 - drivers/staging/rtl8188eu/include/drv_types.h | 4 drivers/staging/rtl8188eu/os_dep/os_intfs.c | 2 -- 3 files changed, 7 deletions(-) diff --g

[PATCH 26/63] staging: r8188eu: rename pre_xmitframe to rtw_hal_xmit

2016-09-03 Thread Ivan Safonov
And remove many one-line wrappers. Signed-off-by: Ivan Safonov --- drivers/staging/rtl8188eu/hal/hal_intf.c | 8 drivers/staging/rtl8188eu/hal/rtl8188eu_xmit.c| 12 +--- drivers/staging/rtl8188eu/hal/usb_halinit.c | 2 -- drivers/staging/rtl8188eu/include/ha

[PATCH 56/63] staging: r8188eu: rename ReadChipVersion8188E to rtw_hal_read_chip_version

2016-09-03 Thread Ivan Safonov
And remove two one-line wrappers. Signed-off-by: Ivan Safonov --- drivers/staging/rtl8188eu/hal/hal_intf.c | 6 -- drivers/staging/rtl8188eu/hal/rtl8188e_hal_init.c | 4 +--- drivers/staging/rtl8188eu/include/hal_intf.h | 1 - 3 files changed, 1 insertion(+), 10 deletions(-) d

[PATCH 53/63] staging: r8188eu: rename rtl8188e_HalDmWatchDog to rtw_hal_dm_watchdog

2016-09-03 Thread Ivan Safonov
And remove two one-line wrappers. Signed-off-by: Ivan Safonov --- drivers/staging/rtl8188eu/hal/hal_intf.c | 6 -- drivers/staging/rtl8188eu/hal/rtl8188e_dm.c | 2 +- drivers/staging/rtl8188eu/hal/rtl8188e_hal_init.c | 2 -- drivers/staging/rtl8188eu/include/hal_intf.h |

[PATCH 54/63] staging: r8188eu: rename phy_sw_chnl to rtw_hal_set_chan

2016-09-03 Thread Ivan Safonov
And remove two one-line wrappers. Signed-off-by: Ivan Safonov --- drivers/staging/rtl8188eu/hal/hal_intf.c | 6 -- drivers/staging/rtl8188eu/hal/phy.c | 2 +- drivers/staging/rtl8188eu/hal/rtl8188e_hal_init.c | 1 - drivers/staging/rtl8188eu/include/hal_intf.h | 1

Re: [V2] rtlwifi: Fix missing country code for Great Britain

2016-09-03 Thread Kalle Valo
Larry Finger wrote: > Some RTL8821AE devices sold in Great Britain have the country code of > 0x25 encoded in their EEPROM. This value is not tested in the routine > that establishes the regulatory info for the chip. The fix is to set > this code to have the same capabilities as the EU countries.

[PATCH 1/5] staging: ks7010: Fix coding style warning in ks7010_sdio.c

2016-09-03 Thread Sabitha George
This patch fixes the coding style warning ' braces {} are not necessary for single statement blocks' found by checkpatch.pl Signed-off-by: Sabitha George --- drivers/staging/ks7010/ks7010_sdio.c | 41 +++- 1 file changed, 17 insertions(+), 24 deletions(-) diff --

[PATCH 2/5] staging: ks7010:Fix warning on return for void functions

2016-09-03 Thread Sabitha George
This patch fixes the checkpatch warning in ksdio_sdio.c 'void function return statements are not generally useful' Signed-off-by: Sabitha George --- drivers/staging/ks7010/ks7010_sdio.c | 11 --- 1 file changed, 11 deletions(-) diff --git a/drivers/staging/ks7010/ks7010_sdio.c b/driver

[PATCH 3/5] staging: ks7010: Remove redundant null pointer check prior to kfree()

2016-09-03 Thread Sabitha George
This patch fixes the warning on ks7010_sdio.c :'kfree(NULL) is safe and this check is probably not required' Signed-off-by: Sabitha George --- drivers/staging/ks7010/ks7010_sdio.c | 12 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/drivers/staging/ks7010/ks7010_sdio.

[PATCH 4/5] staging: ks7010: Fix warnings on printk() usage

2016-09-03 Thread Sabitha George
This patch fixes the following warnings on ks7010_sdio.c 1. printk() should include KERN_ facility level 2. Prefer [subsystem eg: netdev]_err([subsystem]dev, ... then dev_err(dev, ... then pr_err(... to printk(KERN_ERR ... Signed-off-by: Sabitha George --- drivers/staging/ks7010/ks7010_sdio.c |

[PATCH 5/5] staging: ks7010: Fix missing blankline after declarations

2016-09-03 Thread Sabitha George
This patch fixes the checkpatch.pl warning of the missing blank line after declarations in ks7010_sdio.c Signed-off-by: Sabitha George --- drivers/staging/ks7010/ks7010_sdio.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/drivers/staging/ks7010/ks7010_sdio.c b/drivers/staging/ks7010

[PATCH] [PATCH] Staging: comedi: ni_daq_dio24.c: Fix block comments use * on subsequent lines.

2016-09-03 Thread Amit Ghadge
This is a patch to the ni_daq_dio24.c that fixes checkpatch warning: WARNING: Block comments use * on subsequent lines Signed-off-by: Amit Ghadge --- drivers/staging/comedi/drivers/ni_daq_dio24.c | 52 +-- 1 file changed, 26 insertions(+), 26 deletions(-) diff --git a/d

[PATCH] Staging: comedi: ni_daq_dio24.c: Fix block comments use * on subsequent lines.

2016-09-03 Thread Amit Ghadge
This is a patch to the ni_daq_dio24.c that fixes checkpatch warning: WARNING: Block comments use * on subsequent lines Signed-off-by: Amit Ghadge --- drivers/staging/comedi/drivers/ni_daq_dio24.c | 52 +-- 1 file changed, 26 insertions(+), 26 deletions(-) diff --git a/d

Re: [PATCH 1/9] staging: sm750fb: fix line length coding style issue in ddk750_chip.c

2016-09-03 Thread Moshe Green
On Fri, Sep 02, 2016 at 01:35:08PM +0200, Greg KH wrote: > > A: Because it messes up the order in which people normally read text. > Q: Why is top-posting such a bad thing? > A: Top-posting. > Q: What is the most annoying thing in e-mail? > > A: No. > Q: Should I include quotations after my reply

[PATCH 1/2] Staging: comedi: ni_daq_dio24.c: Fix block comments use * on subsequent lines.

2016-09-03 Thread Amit Ghadge
This is a patch to the ni_daq_dio24.c that fixes checkpatch warning: WARNING: Block comments use * on subsequent lines Signed-off-by: Amit Ghadge --- drivers/staging/comedi/drivers/ni_daq_dio24.c | 52 +-- 1 file changed, 26 insertions(+), 26 deletions(-) diff --git a/d

[PATCH 2/2] Staging: comedi: ni_670x.c: Fix warnings and check.

2016-09-03 Thread Amit Ghadge
Fixes checkpatch warning: WARNING: Block comments use * on subsequent lines Replace (1<<7) by BIT(7) in the file ni_670x.c to get rid of checkpatch.pl "CHECK" output "Prefer using the BIT macro". Replace Avoid CamelCase range_0_20mA to range_0_20ma. Signed-off-by: Amit Ghadge --- drivers/stagin

Re: [PATCH 2/2] Staging: comedi: ni_670x.c: Fix warnings and check.

2016-09-03 Thread kbuild test robot
Hi Amit, [auto build test ERROR on v4.8-rc4] [cannot apply to staging/staging-testing next-20160825] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] [Suggest to use git(>=2.9.0) format-patch --base= (or --base=auto for convenience) to record wha

[PATCH 1/2] Staging: comedi: ni_daq_dio24.c: Fix block comments use * on subsequent lines.

2016-09-03 Thread Amit Ghadge
This is a patch to the ni_daq_dio24.c that fixes checkpatch warning: WARNING: Block comments use * on subsequent lines Signed-off-by: Amit Ghadge --- drivers/staging/comedi/drivers/ni_daq_dio24.c | 52 +-- 1 file changed, 26 insertions(+), 26 deletions(-) diff --git a/d

[PATCH 2/2] Staging: comedi: pcl726.c, ni_670x.c: Fix warnings and check.

2016-09-03 Thread Amit Ghadge
pcl726.c: Replace CamelCase range_0_20mA by range_0_20ma ni_670x.c: Fixes checkpatch warning: WARNING: Block comments use * on subsequent lines Replace (1<<7) by BIT(7) in the file ni_670x.c to get rid of checkpatch.pl "CHECK" output "Prefer using the BIT macro". Replace CamelCase range_0_20mA to

Re: [PATCH 2/2] Staging: comedi: pcl726.c, ni_670x.c: Fix warnings and check.

2016-09-03 Thread kbuild test robot
Hi Amit, [auto build test ERROR on v4.8-rc4] [cannot apply to staging/staging-testing next-20160825] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] [Suggest to use git(>=2.9.0) format-patch --base= (or --base=auto for convenience) to record wha

Re: [PATCH] staging: wilc1000: fix spelling mistake: "retyring" -> "retrying"

2016-09-03 Thread Julian Calaby
Hi All, On Sun, Aug 28, 2016 at 9:28 PM, Colin King wrote: > From: Colin Ian King > > trivial fix to spelling mistake in dev_err message > > Signed-off-by: Colin Ian King Reviewed-by: Julian Calaby Thanks, -- Julian Calaby Email: julian.cal...@gmail.com Profile: http://www.google.com/prof

[PATCH] staging: ks7010: mark symbols static where possible

2016-09-03 Thread Baoyou Xie
We get 2 warnings when building kernel with W=1: drivers/staging/ks7010/ks_hostif.c:72:6: warning: no previous prototype for 'ks_wlan_hw_wakeup_task' [-Wmissing-prototypes] drivers/staging/ks7010/ks_hostif.c:1508:6: warning: no previous prototype for 'hostif_infrastructure_set2_request' [-Wmissin

[PATCH] Staging: rtl8192e: mark symbols static where possible

2016-09-03 Thread Baoyou Xie
We get a few warnings when building kernel with W=1: drivers/staging/rtl8192e/rtllib_softmac.c:279:13: warning: no previous declaration for 'softmac_ps_mgmt_xmit' [-Wmissing-declarations] drivers/staging/rtl8192e/rtllib_softmac.c:773:24: warning: no previous declaration for 'rtllib_authentication

[PATCH] staging: media: omap4iss: mark omap4iss_flush() static

2016-09-03 Thread Baoyou Xie
We get 1 warning when building kernel with W=1: drivers/staging/media/omap4iss/iss.c:64:6: warning: no previous prototype for 'omap4iss_flush' [-Wmissing-prototypes] In fact, this function is only used in the file in which it is declared and don't need a declaration, but can be made static. so th