Re: [PATCH 2/5] Drivers: hv: balloon: account for gaps in hot add regions

2016-08-24 Thread Yauheni Kaliuta
Hi, kys! > On Wed, 24 Aug 2016 16:23:10 -0700, kys wrote: [...] > -static bool pfn_covered(unsigned long start_pfn, unsigned long pfn_cnt) > +static int pfn_covered(unsigned long start_pfn, unsigned long pfn_cnt) > { > struct list_head *cur; > struct hv_hotadd_state *has;

Improving OCTEON II 10G Ethernet performance

2016-08-24 Thread Ed Swierk
I'm trying to migrate from the Octeon SDK to a vanilla Linux 4.4 kernel for a Cavium OCTEON II (CN6880) board running in 64-bit little-endian mode. So far I've gotten most of the hardware features I need working, including XAUI/RXAUI, USB, boot bus and I2C, with a fairly small set of patches. https

Re: [PATCH] Staging: wlan-ng: removed duplicate code in p80211req.c

2016-08-24 Thread Joe Perches
On Thu, 2016-08-25 at 00:55 +0300, Claudiu Beznea wrote: > This patch removes duplicate code in p80211req_mibset_mibget() > by adding p80211req_handle_action() function. Better would be to remove the prototype and move the new static to the location of the prototype. _

[PATCH] Staging: wlan-ng: removed duplicate code in p80211req.c

2016-08-24 Thread Claudiu Beznea
This patch removes duplicate code in p80211req_mibset_mibget() by adding p80211req_handle_action() function. Signed-off-by: Claudiu Beznea --- drivers/staging/wlan-ng/p80211req.c | 41 +++-- 1 file changed, 21 insertions(+), 20 deletions(-) diff --git a/drivers/s

[PATCH 4/5] Drivers: hv: balloon: replace ha_region_mutex with spinlock

2016-08-24 Thread kys
From: Vitaly Kuznetsov lockdep reports possible circular locking dependency when udev is used for memory onlining: systemd-udevd/3996 is trying to acquire lock: ((memory_chain).rwsem){.+}, at: [] __blocking_notifier_call_chain+0x4e/0xc0 but task is already holding lock: (&dm_device.h

[PATCH 5/5] Drivers: hv: balloon: Use available memory value in pressure report

2016-08-24 Thread kys
From: Alex Ng Reports for available memory should use the si_mem_available() value. The previous freeram value does not include available page cache memory. Signed-off-by: Alex Ng Signed-off-by: K. Y. Srinivasan --- drivers/hv/hv_balloon.c | 13 + 1 files changed, 5 insertions(+

[PATCH 3/5] Drivers: hv: balloon: don't wait for ol_waitevent when memhp_auto_online is enabled

2016-08-24 Thread kys
From: Vitaly Kuznetsov With the recently introduced in-kernel memory onlining (MEMORY_HOTPLUG_DEFAULT_ONLINE) these is no point in waiting for pages to come online in the driver and we can get rid of the waiting. Signed-off-by: Vitaly Kuznetsov Signed-off-by: K. Y. Srinivasan --- drivers/hv/h

[PATCH 1/5] Drivers: hv: balloon: keep track of where ha_region starts

2016-08-24 Thread kys
From: Vitaly Kuznetsov Windows 2012 (non-R2) does not specify hot add region in hot add requests and the logic in hot_add_req() is trying to find a 128Mb-aligned region covering the request. It may also happen that host's requests are not 128Mb aligned and the created ha_region will start before

[PATCH 2/5] Drivers: hv: balloon: account for gaps in hot add regions

2016-08-24 Thread kys
From: Vitaly Kuznetsov I'm observing the following hot add requests from the WS2012 host: hot_add_req: start_pfn = 0x108200 count = 330752 hot_add_req: start_pfn = 0x158e00 count = 193536 hot_add_req: start_pfn = 0x188400 count = 239616 As the host doesn't specify hot add regions we're trying t

[PATCH 0/5] Drivers: hv: balloon: Miscellaneous fixes.

2016-08-24 Thread kys
From: K. Y. Srinivasan Miscellaneous fixes to the balloon driver. Alex Ng (1): Drivers: hv: balloon: Use available memory value in pressure report Vitaly Kuznetsov (4): Drivers: hv: balloon: keep track of where ha_region starts Drivers: hv: balloon: account for gaps in hot add regions D

[PATCH v2 8/8] staging/lustre/o2iblnd: handle mixed page size configurations.

2016-08-24 Thread Oleg Drokin
From: James Simmons Currently it is not possible to send LNet traffic between two nodes using infiniband hardware that have different page sizes for the case when RDMA fragments are used. When two nodes establish a connection they tell the other node the maximum number of RDMA fragments they supp

[PATCH v2 6/8] staging/lustre/llite: changes to avoid cache corruption

2016-08-24 Thread Oleg Drokin
From: Lokesh Nagappa Jaliminche ll_find_alias is responsible for getting alias for inode which can be reused. Directories are assumed to have unique alias, where in case of non-directories there can be multiple aliases. In case of lustre there can be two type of aliases i.e. discon_alias and inva

[PATCH v2 1/8] staging/lustre: const correct set_lock_data()

2016-08-24 Thread Oleg Drokin
From: "John L. Hammond" Change the __u64 *cookie parameter of md_ops->set_lock_data() to const struct lustre_handle *lockh. Signed-off-by: John L. Hammond Reviewed-on: http://review.whamcloud.com/17072 Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-7403 Reviewed-by: Frank Zago Reviewed-by

[PATCH v2 5/8] staging/lustre/llite: Fix suspicious dereference of pointer 'vma->vm_file'

2016-08-24 Thread Oleg Drokin
From: Dmitry Eremin Remove useless LASSERT(vma->vm_file) because of if it's NULL it will crash early in file_inode(vma->vm_file). Signed-off-by: Dmitry Eremin Reviewed-on: http://review.whamcloud.com/21171 Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-8372 Reviewed-by: John L. Hammond Re

[PATCH v2 2/8] staging/lustre/mdc: fix panic at mdc_free_open()

2016-08-24 Thread Oleg Drokin
From: Alexander Boyko Assertion was happened for open request when rq_replay is set to 1. ASSERTION(mod->mod_open_req->rq_replay == 0) But this situation is not fatal for client, and could happened when mdc_close() failed. The fix allow to free such requests. If mdc_close fail, MDS doesn`t re

[PATCH v2 3/8] staging/lustre: avoid clearing i_nlink for inodes in use

2016-08-24 Thread Oleg Drokin
From: Andrew Perepechko The patch removes find_cbdata callbacks and clear_nlink from dentry_iput path, since this piece of code makes a few races possible. The test case reproduces one of the possible races described in LU-7925: 1) two hard links are created for the same file 2) the test calls

[PATCH v2 7/8] staging/lustre: release MGC device if connect fails

2016-08-24 Thread Oleg Drokin
From: "John L. Hammond" In lustre_fill_super() if lustre_start_mgc() fails then call lustre_common_put_super() to release a reference on the MGC device attached to the LSI. Signed-off-by: John L. Hammond Reviewed-on: http://review.whamcloud.com/20851 Intel-bug-id: https://jira.hpdd.intel.com/br

[PATCH v2 4/8] staging/lustre/llite: check return value for obd_set_info_async

2016-08-24 Thread Oleg Drokin
From: Yang Sheng The return value is ignored in client_common_fill_super. Restore to check it and error out. Signed-off-by: Yang Sheng Reviewed-on: http://review.whamcloud.com/21125 Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-8360 Reviewed-by: Emoly Liu Reviewed-by: Bob Glossman Signe

[PATCH v2 0/8] Lustre fixes

2016-08-24 Thread Oleg Drokin
Here are some more recent Lustre fixes and a cleanup. This resend fixes the "fix panic at mdc_free_open()" patch to actually work. Please consider. Alexander Boyko (1): staging/lustre/mdc: fix panic at mdc_free_open() Andrew Perepechko (1): staging/lustre: avoid clearing i_nlink for inodes

Re: [RFC PATCH v1 18/28] crypto: add AMD Platform Security Processor driver

2016-08-24 Thread Tom Lendacky
On 08/23/2016 02:14 AM, Herbert Xu wrote: > On Mon, Aug 22, 2016 at 07:27:22PM -0400, Brijesh Singh wrote: >> The driver to communicate with Secure Encrypted Virtualization (SEV) >> firmware running within the AMD secure processor providing a secure key >> management interface for SEV guests. >>

[PATCH] staging: android: ion: ion_chunk_heap.c fix parenthesis alignment

2016-08-24 Thread Didik Setiawan
Fix checkpatch.pl warning about "Alignment should match open parenthesis". Signed-off-by: Didik Setiawan --- drivers/staging/android/ion/ion_chunk_heap.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/staging/android/ion/ion_chunk_heap.c b/drivers/staging

[PATCH v2] staging: android: ion: ion.c fix parenthesis alignment

2016-08-24 Thread Didik Setiawan
Fix checkpatch.pl warning about "Alignment should match open parenthesis". Signed-off-by: Didik Setiawan --- drivers/staging/android/ion/ion.c | 47 +++ 1 file changed, 23 insertions(+), 24 deletions(-) diff --git a/drivers/staging/android/ion/ion.c b/driver

[PATCH 02/41] staging: r8188eu: remove rtw_get_ie_ex function

2016-08-24 Thread Ivan Safonov
Driver does not use this function. Signed-off-by: Ivan Safonov --- drivers/staging/rtl8188eu/core/rtw_ieee80211.c | 44 -- drivers/staging/rtl8188eu/include/ieee80211.h | 2 -- 2 files changed, 46 deletions(-) diff --git a/drivers/staging/rtl8188eu/core/rtw_ieee80211.c

[PATCH 38/41] staging: r8188eu: remove some structure definitions from wlan_bssdef.h

2016-08-24 Thread Ivan Safonov
cmd_msg_parm, H2C_SS_RFOFF_PARAM, joinbssrpt_parm, P2P_PS_Offload_t and P2P_PS_CTWPeriod_t structures are not used. Signed-off-by: Ivan Safonov --- drivers/staging/rtl8188eu/include/rtl8188e_cmd.h | 30 1 file changed, 30 deletions(-) diff --git a/drivers/staging/rtl818

[PATCH 25/41] staging: r8188eu: remove HT_caps_element structure

2016-08-24 Thread Ivan Safonov
This type does not used. Signed-off-by: Ivan Safonov --- drivers/staging/rtl8188eu/include/wifi.h | 9 - 1 file changed, 9 deletions(-) diff --git a/drivers/staging/rtl8188eu/include/wifi.h b/drivers/staging/rtl8188eu/include/wifi.h index 28e1dde..9e08e68 100644 --- a/drivers/staging/r

[PATCH 35/41] staging: r8188eu: remove sha256_state structure

2016-08-24 Thread Ivan Safonov
This structure does not used in driver code. Signed-off-by: Ivan Safonov --- drivers/staging/rtl8188eu/include/rtw_security.h | 6 -- 1 file changed, 6 deletions(-) diff --git a/drivers/staging/rtl8188eu/include/rtw_security.h b/drivers/staging/rtl8188eu/include/rtw_security.h index ca1247

[PATCH 15/41] staging: r8188eu: replace rtw_ieee80211_ht_cap with ieee80211_ht_cap type in rtw_check_beacon_data function

2016-08-24 Thread Ivan Safonov
rtw_ieee80211_ht_cap is reimplementation of the ieee80211_ht_cap. Signed-off-by: Ivan Safonov --- drivers/staging/rtl8188eu/core/rtw_ap.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/staging/rtl8188eu/core/rtw_ap.c b/drivers/staging/rtl8188eu/core/rtw_ap.c i

[PATCH 20/41] staging: r8188eu: change rtw_ieee80211_ht_cap type of structures members to ieee80211_ht_cap

2016-08-24 Thread Ivan Safonov
Also cap_info member of ieee80211_ht_cap wrapped by le16_to_cpu function. Signed-off-by: Ivan Safonov --- drivers/staging/rtl8188eu/core/rtw_ap.c | 15 ++- drivers/staging/rtl8188eu/include/ieee80211.h | 4 ++-- drivers/staging/rtl8188eu/include/rtw_ht.h| 4 ++-- 3 files

[PATCH 19/41] staging: r8188eu: change rtw_ieee80211_ht_cap type of local variables to ieee80211_ht_cap

2016-08-24 Thread Ivan Safonov
rtw_ieee80211_ht_cap is reimplementation of the ieee80211_ht_cap. Signed-off-by: Ivan Safonov --- drivers/staging/rtl8188eu/core/rtw_ieee80211.c | 9 drivers/staging/rtl8188eu/core/rtw_mlme.c | 31 +- drivers/staging/rtl8188eu/core/rtw_wlan_util.c | 7 +++-

[PATCH 07/41] staging: r8188eu: remove rtw_set_ie_secondary_ch_offset function

2016-08-24 Thread Ivan Safonov
Driver does not use this function. Signed-off-by: Ivan Safonov --- drivers/staging/rtl8188eu/core/rtw_ieee80211.c | 5 - drivers/staging/rtl8188eu/include/ieee80211.h | 2 -- 2 files changed, 7 deletions(-) diff --git a/drivers/staging/rtl8188eu/core/rtw_ieee80211.c b/drivers/staging/rtl8

[PATCH 13/41] staging: r8188eu: remove action_public_str function

2016-08-24 Thread Ivan Safonov
Driver does not use this function. Also _action_public_str array removed. Signed-off-by: Ivan Safonov --- drivers/staging/rtl8188eu/core/rtw_ieee80211.c | 26 -- drivers/staging/rtl8188eu/include/ieee80211.h | 2 -- 2 files changed, 28 deletions(-) diff --git a/drivers

[PATCH 06/41] staging: r8188eu: remove hal_ch_offset_to_secondary_ch_offset function

2016-08-24 Thread Ivan Safonov
Driver does not use this function. Signed-off-by: Ivan Safonov --- drivers/staging/rtl8188eu/core/rtw_ieee80211.c | 12 drivers/staging/rtl8188eu/include/ieee80211.h | 1 - 2 files changed, 13 deletions(-) diff --git a/drivers/staging/rtl8188eu/core/rtw_ieee80211.c b/drivers/sta

[PATCH 33/41] staging: r8188eu: remove some structure definitions from wlan_bssdef.h

2016-08-24 Thread Ivan Safonov
ndis_802_11_ai_reqfi, ndis_802_11_ai_resfi, ndis_802_11_assoc_info, ndis_802_11_remove_key, ndis_802_11_auth_req, ndis_802_11_status_ind, ndis_802_11_auth_evt, ndis_802_11_test, pmkid_candidate, ndis_802_11_pmkid_list, ndis_802_11_auth_encrypt and ndis_802_11_cap structures are not used. Signed-of

[PATCH 30/41] staging: r8188eu: remove some structure definitions from include/ieee80211.h

2016-08-24 Thread Ivan Safonov
ieee_ibss_seq, rtw_ieee80211_hdr_qos, eapol, ieee80211_rx_stats, ieee80211_frag_entry, ieee80211_stats, ieee80211_softmac_stats, ieee80211_security, ieee80211_header_data, ieee80211_info_element_hdr, ieee80211_info_element, ieee80211_authentication, ieee80211_probe_response, ieee80211_probe_request

[PATCH 09/41] staging: r8188eu: remove rtw_set_ie_ch_switch function

2016-08-24 Thread Ivan Safonov
Driver does not use this function. Signed-off-by: Ivan Safonov --- drivers/staging/rtl8188eu/core/rtw_ieee80211.c | 11 --- drivers/staging/rtl8188eu/include/ieee80211.h | 2 -- 2 files changed, 13 deletions(-) diff --git a/drivers/staging/rtl8188eu/core/rtw_ieee80211.c b/drivers/sta

[PATCH 24/41] staging: r8188eu: replace HT_caps_element with ieee80211_ht_cap structure

2016-08-24 Thread Ivan Safonov
HT_caps_element is reimplementation of ieee80211_ht_cap. Signed-off-by: Ivan Safonov --- drivers/staging/rtl8188eu/core/rtw_ap.c | 10 - drivers/staging/rtl8188eu/core/rtw_ioctl_set.c | 6 +++--- drivers/staging/rtl8188eu/core/rtw_mlme.c| 12 +-- drivers/stagi

[PATCH 23/41] staging: r8188eu: simplify HT_caps_element structure

2016-08-24 Thread Ivan Safonov
Now HT_caps_element structure is similar to ieee80211_ht_caps. Signed-off-by: Ivan Safonov --- drivers/staging/rtl8188eu/core/rtw_ap.c| 6 +++--- drivers/staging/rtl8188eu/core/rtw_ioctl_set.c | 6 +++--- drivers/staging/rtl8188eu/core/rtw_mlme.c | 8 drivers/staging/rtl

[PATCH 12/41] staging: r8188eu: remove rtw_action_frame_parse function

2016-08-24 Thread Ivan Safonov
Driver does not use this function. Signed-off-by: Ivan Safonov --- drivers/staging/rtl8188eu/core/rtw_ieee80211.c | 29 -- drivers/staging/rtl8188eu/include/ieee80211.h | 2 -- 2 files changed, 31 deletions(-) diff --git a/drivers/staging/rtl8188eu/core/rtw_ieee80211.c

[PATCH 05/41] staging: r8188eu: remove issue_action_spct_ch_switch function

2016-08-24 Thread Ivan Safonov
Driver does not use this function. Signed-off-by: Ivan Safonov --- drivers/staging/rtl8188eu/core/rtw_mlme_ext.c| 60 drivers/staging/rtl8188eu/include/rtw_mlme_ext.h | 2 - 2 files changed, 62 deletions(-) diff --git a/drivers/staging/rtl8188eu/core/rtw_mlme_ext.c

[PATCH 18/41] staging: r8188eu: remove dead code from rtw_get_cur_max_rate function

2016-08-24 Thread Ivan Safonov
Values assugned to pht_capie and mcs_rate variables, but variables does not used. Signed-off-by: Ivan Safonov --- drivers/staging/rtl8188eu/core/rtw_ioctl_set.c | 7 --- 1 file changed, 7 deletions(-) diff --git a/drivers/staging/rtl8188eu/core/rtw_ioctl_set.c b/drivers/staging/rtl8188eu/c

[PATCH 21/41] staging: r8188eu: remove rtw_ieee80211_ht_cap structure

2016-08-24 Thread Ivan Safonov
rtw_ieee80211_ht_cap does not used. Signed-off-by: Ivan Safonov --- drivers/staging/rtl8188eu/include/wifi.h | 16 1 file changed, 16 deletions(-) diff --git a/drivers/staging/rtl8188eu/include/wifi.h b/drivers/staging/rtl8188eu/include/wifi.h index e7c5121..e049eed 100644 ---

[PATCH 14/41] staging: r8188eu: remove for_each_ie macro

2016-08-24 Thread Ivan Safonov
for_each_ie does not used in the driver code. Signed-off-by: Ivan Safonov --- drivers/staging/rtl8188eu/include/ieee80211.h | 10 -- 1 file changed, 10 deletions(-) diff --git a/drivers/staging/rtl8188eu/include/ieee80211.h b/drivers/staging/rtl8188eu/include/ieee80211.h index ddb9db4.

[PATCH 10/41] staging: r8188eu: remove dump_ies function

2016-08-24 Thread Ivan Safonov
Driver does not use this function. Signed-off-by: Ivan Safonov --- drivers/staging/rtl8188eu/core/rtw_ieee80211.c | 16 drivers/staging/rtl8188eu/include/ieee80211.h | 1 - 2 files changed, 17 deletions(-) diff --git a/drivers/staging/rtl8188eu/core/rtw_ieee80211.c b/drivers

[PATCH 36/41] staging: r8188eu: remove smooth_rssi_data structure

2016-08-24 Thread Ivan Safonov
This structure does not used. Signed-off-by: Ivan Safonov --- drivers/staging/rtl8188eu/include/rtw_recv.h | 7 --- 1 file changed, 7 deletions(-) diff --git a/drivers/staging/rtl8188eu/include/rtw_recv.h b/drivers/staging/rtl8188eu/include/rtw_recv.h index b0373b6..758cd16 100644 --- a/dr

[PATCH 03/41] staging: r8188eu: remove rtw_ap_inform_ch_switch function

2016-08-24 Thread Ivan Safonov
Driver does not use this function. Signed-off-by: Ivan Safonov --- drivers/staging/rtl8188eu/core/rtw_ap.c| 34 -- drivers/staging/rtl8188eu/include/rtw_ap.h | 1 - 2 files changed, 35 deletions(-) diff --git a/drivers/staging/rtl8188eu/core/rtw_ap.c b/drivers/

[PATCH 37/41] staging: r8188eu: remove odm_sta_info structure

2016-08-24 Thread Ivan Safonov
odm_sta_info structure does not used. Signed-off-by: Ivan Safonov --- drivers/staging/rtl8188eu/include/odm.h | 16 1 file changed, 16 deletions(-) diff --git a/drivers/staging/rtl8188eu/include/odm.h b/drivers/staging/rtl8188eu/include/odm.h index dbebf17..21fb4225 100644 ---

[PATCH 29/41] staging:r8188eu: remove unnecessary include from include/rtw_ht.h

2016-08-24 Thread Ivan Safonov
osdep_service.h does not required in include/rtw_ht.h. Signed-off-by: Ivan Safonov --- drivers/staging/rtl8188eu/include/rtw_ht.h | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/staging/rtl8188eu/include/rtw_ht.h b/drivers/staging/rtl8188eu/include/rtw_ht.h index 0ee11ef..d842ead 100

[PATCH 16/41] staging: r8188eu: replace rtw_ieee80211_ht_cap with ieee80211_ht_cap type in translate_scan function

2016-08-24 Thread Ivan Safonov
rtw_ieee80211_ht_cap is reimplementation of the ieee80211_ht_cap. Signed-off-by: Ivan Safonov --- drivers/staging/rtl8188eu/os_dep/ioctl_linux.c | 13 - 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/drivers/staging/rtl8188eu/os_dep/ioctl_linux.c b/drivers/staging/rtl

[PATCH 28/41] staging: r8188eu: remove dead code from rtw_update_ht_cap function

2016-08-24 Thread Ivan Safonov
This code affect only to local variables that does not used later. Signed-off-by: Ivan Safonov --- drivers/staging/rtl8188eu/core/rtw_mlme.c | 16 1 file changed, 16 deletions(-) diff --git a/drivers/staging/rtl8188eu/core/rtw_mlme.c b/drivers/staging/rtl8188eu/core/rtw_mlme.c

[PATCH 40/41] staging: r8188eu: remove some structure definitions from rtw_event.h

2016-08-24 Thread Ivan Safonov
addba_event, event_node and c2hevent_queue structures are not used. Signed-off-by: Ivan Safonov --- drivers/staging/rtl8188eu/include/rtw_event.h | 19 --- 1 file changed, 19 deletions(-) diff --git a/drivers/staging/rtl8188eu/include/rtw_event.h b/drivers/staging/rtl8188eu/inc

[PATCH 27/41] staging: r8188eu: remove rx_ampdu_maxlen member of ht_priv

2016-08-24 Thread Ivan Safonov
rx_ampdu_maxlen used only once for assigning value. Signed-off-by: Ivan Safonov --- drivers/staging/rtl8188eu/core/rtw_mlme.c | 1 - drivers/staging/rtl8188eu/include/rtw_ht.h | 2 -- 2 files changed, 3 deletions(-) diff --git a/drivers/staging/rtl8188eu/core/rtw_mlme.c b/drivers/staging/rtl8

[PATCH 11/41] staging: r8188eu: remove dump_wps_ie function

2016-08-24 Thread Ivan Safonov
Driver does not use this function. Signed-off-by: Ivan Safonov --- drivers/staging/rtl8188eu/core/rtw_ieee80211.c | 21 - drivers/staging/rtl8188eu/include/ieee80211.h | 2 -- 2 files changed, 23 deletions(-) diff --git a/drivers/staging/rtl8188eu/core/rtw_ieee80211.c b/d

[PATCH 01/41] staging: r8188eu: remove rtw_ies_remove_ie function

2016-08-24 Thread Ivan Safonov
Driver does not use this function. Signed-off-by: Ivan Safonov --- drivers/staging/rtl8188eu/core/rtw_ieee80211.c | 47 -- drivers/staging/rtl8188eu/include/ieee80211.h | 2 -- 2 files changed, 49 deletions(-) diff --git a/drivers/staging/rtl8188eu/core/rtw_ieee80211.c

[PATCH 31/41] staging: r8188eu: remove some structure definitions from Hal8188EPhyCfg.h

2016-08-24 Thread Ivan Safonov
ant_sel_ofdm and ant_sel_cck structures are not used. Signed-off-by: Ivan Safonov --- drivers/staging/rtl8188eu/include/Hal8188EPhyCfg.h | 18 -- 1 file changed, 18 deletions(-) diff --git a/drivers/staging/rtl8188eu/include/Hal8188EPhyCfg.h b/drivers/staging/rtl8188eu/include/

[PATCH 32/41] staging: r8188eu: remove include/HalHWImg8188E_FW.h

2016-08-24 Thread Ivan Safonov
This file does not included to other sources. Signed-off-by: Ivan Safonov --- .../staging/rtl8188eu/include/HalHWImg8188E_FW.h | 29 -- 1 file changed, 29 deletions(-) delete mode 100644 drivers/staging/rtl8188eu/include/HalHWImg8188E_FW.h diff --git a/drivers/staging/rtl

[PATCH 41/41] staging: r8188eu: remove some structures definitions from rtw_ioctl.h

2016-08-24 Thread Ivan Safonov
oid_funs_node and oid_obj_priv structures are not used. Signed-off-by: Ivan Safonov --- drivers/staging/rtl8188eu/include/rtw_ioctl.h | 15 --- 1 file changed, 15 deletions(-) diff --git a/drivers/staging/rtl8188eu/include/rtw_ioctl.h b/drivers/staging/rtl8188eu/include/rtw_ioctl.h

[PATCH 08/41] staging: r8188eu: remove rtw_set_ie_mesh_ch_switch_parm function

2016-08-24 Thread Ivan Safonov
Driver does not use this function. Signed-off-by: Ivan Safonov --- drivers/staging/rtl8188eu/core/rtw_ieee80211.c | 13 - drivers/staging/rtl8188eu/include/ieee80211.h | 2 -- 2 files changed, 15 deletions(-) diff --git a/drivers/staging/rtl8188eu/core/rtw_ieee80211.c b/drivers/s

[PATCH 17/41] staging: r8188eu: replace sizeof(struct rtw_ieee80211_ht_cap) with sizeof(struct ieee80211_ht_cap)

2016-08-24 Thread Ivan Safonov
Values of this expressions are equal, but ieee80211_ht_cap is library type. Signed-off-by: Ivan Safonov --- drivers/staging/rtl8188eu/core/rtw_mlme.c | 5 +++-- drivers/staging/rtl8188eu/core/rtw_mlme_ext.c | 8 +--- drivers/staging/rtl8188eu/os_dep/ioctl_linux.c | 6 -- 3 files ch

[PATCH 04/41] staging: r8188eu: remove secondary_ch_offset_to_hal_ch_offset function

2016-08-24 Thread Ivan Safonov
Driver does not use this function. Signed-off-by: Ivan Safonov --- drivers/staging/rtl8188eu/core/rtw_ieee80211.c | 12 drivers/staging/rtl8188eu/include/ieee80211.h | 1 - 2 files changed, 13 deletions(-) diff --git a/drivers/staging/rtl8188eu/core/rtw_ieee80211.c b/drivers/sta

[PATCH 26/41] staging: r8188eu: remove unused members of ht_priv structure

2016-08-24 Thread Ivan Safonov
tx_amsdu_enable and tx_amdsu_maxlen are not used in driver code. Signed-off-by: Ivan Safonov --- drivers/staging/rtl8188eu/include/rtw_ht.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/staging/rtl8188eu/include/rtw_ht.h b/drivers/staging/rtl8188eu/include/rtw_ht.h index 7beb0b1.

[PATCH 39/41] staging: r8188eu: remove some structure definitions from rtw_cmd.h

2016-08-24 Thread Ivan Safonov
del_assocsta_parm and setstapwrstate_parm structures are not used. Signed-off-by: Ivan Safonov --- drivers/staging/rtl8188eu/include/rtw_cmd.h | 28 1 file changed, 28 deletions(-) diff --git a/drivers/staging/rtl8188eu/include/rtw_cmd.h b/drivers/staging/rtl8188eu

[PATCH 22/41] staging: r8188eu: remove HT_cap member of HT_caps_element structure

2016-08-24 Thread Ivan Safonov
This member used only once and can be replaced with address of HT_caps_element. Signed-off-by: Ivan Safonov --- drivers/staging/rtl8188eu/core/rtw_wlan_util.c | 3 ++- drivers/staging/rtl8188eu/include/wifi.h | 1 - 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/sta

[PATCH 34/41] staging: r8188eu: remove agg_pkt_info structure

2016-08-24 Thread Ivan Safonov
This structure does not used. Signed-off-by: Ivan Safonov --- drivers/staging/rtl8188eu/include/rtw_xmit.h | 5 - 1 file changed, 5 deletions(-) diff --git a/drivers/staging/rtl8188eu/include/rtw_xmit.h b/drivers/staging/rtl8188eu/include/rtw_xmit.h index 7895008..cb49aca 100644 --- a/driv

Re: [PATCH] staging: android: ion: ion.c fix parenthesis alignment

2016-08-24 Thread Sudip Mukherjee
On Wed, Aug 24, 2016 at 03:56:32AM +0700, Didik Setiawan wrote: > Fix checkpatch.pl warning about "Alignment should match open parenthesis". > --- you missed the Signed-off-by: line. regards sudip ___ devel mailing list de...@linuxdriverproject.org http