[PATCH 54/76] staging: ks7010: Remove trailing _t from 'struct local_ap_t'.

2018-03-30 Thread Quytelda Kahja
The "_t" suffix is not needed for structure names in this driver, and is a reflection of an older typedef system that is no longer in place. Replace all occurences of 'struct local_ap_t' with 'struct local_ap'. Signed-off-by: Quytelda Kahja ---

[PATCH 54/76] staging: ks7010: Remove trailing _t from 'struct local_ap_t'.

2018-03-30 Thread Quytelda Kahja
The "_t" suffix is not needed for structure names in this driver, and is a reflection of an older typedef system that is no longer in place. Replace all occurences of 'struct local_ap_t' with 'struct local_ap'. Signed-off-by: Quytelda Kahja --- drivers/staging/ks7010/ks_hostif.c | 10

[PATCH 59/76] staging: ks7010: Remove trailing _t from 'struct sleep_status_t'.

2018-03-30 Thread Quytelda Kahja
The "_t" suffix is not needed for structure names in this driver, and is a reflection of an older typedef system that is no longer in place. Replace all occurences of 'struct sleep_status_t' with 'struct sleep_status'. Signed-off-by: Quytelda Kahja ---

[PATCH 59/76] staging: ks7010: Remove trailing _t from 'struct sleep_status_t'.

2018-03-30 Thread Quytelda Kahja
The "_t" suffix is not needed for structure names in this driver, and is a reflection of an older typedef system that is no longer in place. Replace all occurences of 'struct sleep_status_t' with 'struct sleep_status'. Signed-off-by: Quytelda Kahja --- drivers/staging/ks7010/ks_wlan.h | 4 ++--

[PATCH 57/76] staging: ks7010: Remove trailing _t from 'struct local_eeprom_sum_t'.

2018-03-30 Thread Quytelda Kahja
The "_t" suffix is not needed for structure names in this driver, and is a reflection of an older typedef system that is no longer in place. Replace all occurences of 'struct local_eeprom_sum_t' with 'struct local_eeprom_sum'. Signed-off-by: Quytelda Kahja ---

[PATCH 57/76] staging: ks7010: Remove trailing _t from 'struct local_eeprom_sum_t'.

2018-03-30 Thread Quytelda Kahja
The "_t" suffix is not needed for structure names in this driver, and is a reflection of an older typedef system that is no longer in place. Replace all occurences of 'struct local_eeprom_sum_t' with 'struct local_eeprom_sum'. Signed-off-by: Quytelda Kahja --- drivers/staging/ks7010/ks_wlan.h |

Re: [PATCH 07/30] aio: add delayed cancel support

2018-03-30 Thread Christoph Hellwig
On Thu, Mar 29, 2018 at 11:35:00PM +0100, Al Viro wrote: > Uh-oh... What happens to existing users of kiocb_set_cancel_fn() now? > AFAICS, those guys will *not* get aio_kiocb freed at all in case of > io_cancel(2). Look: we mark them with AIO_IOCB_CANCELLED and > call whatever ->ki_cancel() the

[PATCH 61/76] staging: ks7010: Remove trailing _t from 'struct wpa_key_t'.

2018-03-30 Thread Quytelda Kahja
The "_t" suffix is not needed for structure names in this driver, and is a reflection of an older typedef system that is no longer in place. Replace all occurences of 'struct wpa_key_t' with 'struct wpa_key'. Signed-off-by: Quytelda Kahja ---

Re: [PATCH 07/30] aio: add delayed cancel support

2018-03-30 Thread Christoph Hellwig
On Thu, Mar 29, 2018 at 11:35:00PM +0100, Al Viro wrote: > Uh-oh... What happens to existing users of kiocb_set_cancel_fn() now? > AFAICS, those guys will *not* get aio_kiocb freed at all in case of > io_cancel(2). Look: we mark them with AIO_IOCB_CANCELLED and > call whatever ->ki_cancel() the

[PATCH 61/76] staging: ks7010: Remove trailing _t from 'struct wpa_key_t'.

2018-03-30 Thread Quytelda Kahja
The "_t" suffix is not needed for structure names in this driver, and is a reflection of an older typedef system that is no longer in place. Replace all occurences of 'struct wpa_key_t' with 'struct wpa_key'. Signed-off-by: Quytelda Kahja --- drivers/staging/ks7010/ks_hostif.c | 2 +-

[PATCH 66/76] staging: ks7010: Remove trailing _t from 'struct wps_status_t'.

2018-03-30 Thread Quytelda Kahja
The "_t" suffix is not needed for structure names in this driver, and is a reflection of an older typedef system that is no longer in place. Replace all occurences of 'struct wps_status_t' with 'struct wps_status'. Signed-off-by: Quytelda Kahja ---

[PATCH 66/76] staging: ks7010: Remove trailing _t from 'struct wps_status_t'.

2018-03-30 Thread Quytelda Kahja
The "_t" suffix is not needed for structure names in this driver, and is a reflection of an older typedef system that is no longer in place. Replace all occurences of 'struct wps_status_t' with 'struct wps_status'. Signed-off-by: Quytelda Kahja --- drivers/staging/ks7010/ks_wlan.h | 4 ++-- 1

[PATCH 60/76] staging: ks7010: Remove trailing _t from 'struct scan_ext_t'.

2018-03-30 Thread Quytelda Kahja
The "_t" suffix is not needed for structure names in this driver, and is a reflection of an older typedef system that is no longer in place. Replace all occurences of 'struct scan_ext_t' with 'struct scan_ext'. Signed-off-by: Quytelda Kahja ---

[PATCH 60/76] staging: ks7010: Remove trailing _t from 'struct scan_ext_t'.

2018-03-30 Thread Quytelda Kahja
The "_t" suffix is not needed for structure names in this driver, and is a reflection of an older typedef system that is no longer in place. Replace all occurences of 'struct scan_ext_t' with 'struct scan_ext'. Signed-off-by: Quytelda Kahja --- drivers/staging/ks7010/ks_wlan.h | 4 ++-- 1 file

[PATCH 63/76] staging: ks7010: Remove trailing _t from 'struct wpa_status_t'.

2018-03-30 Thread Quytelda Kahja
The "_t" suffix is not needed for structure names in this driver, and is a reflection of an older typedef system that is no longer in place. Replace all occurences of 'struct wpa_status_t' with 'struct wpa_status'. Signed-off-by: Quytelda Kahja ---

[PATCH 65/76] staging: ks7010: Remove trailing _t from 'struct pmk_t'.

2018-03-30 Thread Quytelda Kahja
The "_t" suffix is not needed for structure names in this driver, and is a reflection of an older typedef system that is no longer in place. Replace all occurences of 'struct pmk_t' with 'struct pmk'. Signed-off-by: Quytelda Kahja --- drivers/staging/ks7010/ks_hostif.c |

[PATCH 64/76] staging: ks7010: Remove trailing _t from 'struct pmk_list_t'.

2018-03-30 Thread Quytelda Kahja
The "_t" suffix is not needed for structure names in this driver, and is a reflection of an older typedef system that is no longer in place. Replace all occurences of 'struct pmk_list_t' with 'struct pmk_list'. Signed-off-by: Quytelda Kahja ---

[PATCH 67/76] staging: ks7010: Remove trailing _t from 'struct michael_mic_t'.

2018-03-30 Thread Quytelda Kahja
The "_t" suffix is not needed for structure names in this driver, and is a reflection of an older typedef system that is no longer in place. Replace all occurences of 'struct michael_mic_t' with 'struct michael_mic'. Signed-off-by: Quytelda Kahja ---

[PATCH 63/76] staging: ks7010: Remove trailing _t from 'struct wpa_status_t'.

2018-03-30 Thread Quytelda Kahja
The "_t" suffix is not needed for structure names in this driver, and is a reflection of an older typedef system that is no longer in place. Replace all occurences of 'struct wpa_status_t' with 'struct wpa_status'. Signed-off-by: Quytelda Kahja --- drivers/staging/ks7010/ks_wlan.h | 4 ++-- 1

[PATCH 65/76] staging: ks7010: Remove trailing _t from 'struct pmk_t'.

2018-03-30 Thread Quytelda Kahja
The "_t" suffix is not needed for structure names in this driver, and is a reflection of an older typedef system that is no longer in place. Replace all occurences of 'struct pmk_t' with 'struct pmk'. Signed-off-by: Quytelda Kahja --- drivers/staging/ks7010/ks_hostif.c | 2 +-

[PATCH 64/76] staging: ks7010: Remove trailing _t from 'struct pmk_list_t'.

2018-03-30 Thread Quytelda Kahja
The "_t" suffix is not needed for structure names in this driver, and is a reflection of an older typedef system that is no longer in place. Replace all occurences of 'struct pmk_list_t' with 'struct pmk_list'. Signed-off-by: Quytelda Kahja --- drivers/staging/ks7010/ks_wlan.h | 4 ++-- 1 file

[PATCH 67/76] staging: ks7010: Remove trailing _t from 'struct michael_mic_t'.

2018-03-30 Thread Quytelda Kahja
The "_t" suffix is not needed for structure names in this driver, and is a reflection of an older typedef system that is no longer in place. Replace all occurences of 'struct michael_mic_t' with 'struct michael_mic'. Signed-off-by: Quytelda Kahja --- drivers/staging/ks7010/ks_hostif.c | 4

[PATCH 68/76] staging: ks7010: Replace manual array copy with ether_addr_copy().

2018-03-30 Thread Quytelda Kahja
Copying the dummy HW address into the struct net_device doesn't need to be done byte by byte; use ether_addr_copy() instead. Additionally, dev->dev_addr is not eight bytes long. ether_setup() sets the dev->addr_len to ETH_ALEN (defined as 6) in the net core code. Signed-off-by: Quytelda Kahja

[PATCH 68/76] staging: ks7010: Replace manual array copy with ether_addr_copy().

2018-03-30 Thread Quytelda Kahja
Copying the dummy HW address into the struct net_device doesn't need to be done byte by byte; use ether_addr_copy() instead. Additionally, dev->dev_addr is not eight bytes long. ether_setup() sets the dev->addr_len to ETH_ALEN (defined as 6) in the net core code. Signed-off-by: Quytelda Kahja

[PATCH 69/76] staging: ks7010: Remove 'eth_addr' field from 'struct ks_wlan_private'.

2018-03-30 Thread Quytelda Kahja
The ethernet address of the network device is already stored in the 'dev_addr' field of 'struct net_device'. Since 'struct ks_wlan_private' keeps a pointer to the driver's 'struct net_device', there is no reason to duplicate this information in 'struct ks_wlan_private'. Signed-off-by: Quytelda

Re: [GIT PULL] sound fixes for 4.16-final

2018-03-30 Thread Takashi Iwai
On Fri, 30 Mar 2018 07:21:15 +0200, Linus Torvalds wrote: > > On Thu, Mar 29, 2018 at 4:23 AM, Takashi Iwai wrote: > > > > git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound.git > > tags/sound-4.16 > > No such tag. Forgot to push? > > There's the "for-linus" branch

Re: [GIT PULL] sound fixes for 4.16-final

2018-03-30 Thread Takashi Iwai
On Fri, 30 Mar 2018 07:21:15 +0200, Linus Torvalds wrote: > > On Thu, Mar 29, 2018 at 4:23 AM, Takashi Iwai wrote: > > > > git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound.git > > tags/sound-4.16 > > No such tag. Forgot to push? > > There's the "for-linus" branch that matches the

[PATCH 69/76] staging: ks7010: Remove 'eth_addr' field from 'struct ks_wlan_private'.

2018-03-30 Thread Quytelda Kahja
The ethernet address of the network device is already stored in the 'dev_addr' field of 'struct net_device'. Since 'struct ks_wlan_private' keeps a pointer to the driver's 'struct net_device', there is no reason to duplicate this information in 'struct ks_wlan_private'. Signed-off-by: Quytelda

[PATCH 70/76] staging: ks7010: Remove extra blank line between functions.

2018-03-30 Thread Quytelda Kahja
Remove an extra blank line indicated by checkpatch. Signed-off-by: Quytelda Kahja --- drivers/staging/ks7010/ks7010_sdio.c | 3 ++- drivers/staging/ks7010/ks_hostif.c | 1 - 2 files changed, 2 insertions(+), 2 deletions(-) diff --git

[PATCH 70/76] staging: ks7010: Remove extra blank line between functions.

2018-03-30 Thread Quytelda Kahja
Remove an extra blank line indicated by checkpatch. Signed-off-by: Quytelda Kahja --- drivers/staging/ks7010/ks7010_sdio.c | 3 ++- drivers/staging/ks7010/ks_hostif.c | 1 - 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/ks7010/ks7010_sdio.c

[PATCH 73/76] staging: ks7010: Change 'device_open_status' to a bool.

2018-03-30 Thread Quytelda Kahja
The 'device_open_status' member of 'struct ks_wlan_private' is only ever set to zero or one, so it makes more sense for it to be a bool instead of an int. Signed-off-by: Quytelda Kahja --- drivers/staging/ks7010/ks_wlan.h | 2 +- drivers/staging/ks7010/ks_wlan_net.c |

[PATCH 62/76] staging: ks7010: Remove trailing _t from 'struct mic_failure_t'.

2018-03-30 Thread Quytelda Kahja
The "_t" suffix is not needed for structure names in this driver, and is a reflection of an older typedef system that is no longer in place. Replace all occurences of 'struct mic_failure_t' with 'struct mic_failure'. Signed-off-by: Quytelda Kahja ---

[PATCH 72/76] staging: ks7010: Remove dummy address set.

2018-03-30 Thread Quytelda Kahja
Setting a dummy address during the driver probe is not necessary. The dev_addr field is already zeroed out from alloc_etherdev(). Signed-off-by: Quytelda Kahja --- drivers/staging/ks7010/ks_wlan_net.c | 6 -- 1 file changed, 6 deletions(-) diff --git

[PATCH 71/76] staging: ks7010: Rename ks_wlan_set_multicast_list()

2018-03-30 Thread Quytelda Kahja
All of the net_device_ops callbacks are named after their counterparts in the kernel's 'struct net_device_ops', except ks_wlan_set_multicast_list(). Rename it to ks_wlan_set_rx_mode() for greater consistency. Signed-off-by: Quytelda Kahja ---

[PATCH 62/76] staging: ks7010: Remove trailing _t from 'struct mic_failure_t'.

2018-03-30 Thread Quytelda Kahja
The "_t" suffix is not needed for structure names in this driver, and is a reflection of an older typedef system that is no longer in place. Replace all occurences of 'struct mic_failure_t' with 'struct mic_failure'. Signed-off-by: Quytelda Kahja --- drivers/staging/ks7010/ks_hostif.c | 2 +-

[PATCH 72/76] staging: ks7010: Remove dummy address set.

2018-03-30 Thread Quytelda Kahja
Setting a dummy address during the driver probe is not necessary. The dev_addr field is already zeroed out from alloc_etherdev(). Signed-off-by: Quytelda Kahja --- drivers/staging/ks7010/ks_wlan_net.c | 6 -- 1 file changed, 6 deletions(-) diff --git a/drivers/staging/ks7010/ks_wlan_net.c

[PATCH 71/76] staging: ks7010: Rename ks_wlan_set_multicast_list()

2018-03-30 Thread Quytelda Kahja
All of the net_device_ops callbacks are named after their counterparts in the kernel's 'struct net_device_ops', except ks_wlan_set_multicast_list(). Rename it to ks_wlan_set_rx_mode() for greater consistency. Signed-off-by: Quytelda Kahja --- drivers/staging/ks7010/ks_wlan_net.c | 6 +++--- 1

[PATCH 73/76] staging: ks7010: Change 'device_open_status' to a bool.

2018-03-30 Thread Quytelda Kahja
The 'device_open_status' member of 'struct ks_wlan_private' is only ever set to zero or one, so it makes more sense for it to be a bool instead of an int. Signed-off-by: Quytelda Kahja --- drivers/staging/ks7010/ks_wlan.h | 2 +- drivers/staging/ks7010/ks_wlan_net.c | 5 ++--- 2 files

[PATCH 70/72] staging: ks7010: Rename ks_wlan_set_multicast_list()

2018-03-30 Thread Quytelda Kahja
All of the net_device_ops callbacks are named after their counterparts in the kernel's 'struct net_device_ops', except ks_wlan_set_multicast_list(). Rename it to ks_wlan_set_rx_mode() for greater consistency. Signed-off-by: Quytelda Kahja ---

[PATCH 70/72] staging: ks7010: Rename ks_wlan_set_multicast_list()

2018-03-30 Thread Quytelda Kahja
All of the net_device_ops callbacks are named after their counterparts in the kernel's 'struct net_device_ops', except ks_wlan_set_multicast_list(). Rename it to ks_wlan_set_rx_mode() for greater consistency. Signed-off-by: Quytelda Kahja --- drivers/staging/ks7010/ks_wlan_net.c | 6 +++--- 1

[PATCH 72/72] staging: ks7010: Remove extra blank line between functions.

2018-03-30 Thread Quytelda Kahja
Remove an extra blank line indicated by checkpatch. Signed-off-by: Quytelda Kahja --- drivers/staging/ks7010/ks7010_sdio.c | 3 ++- drivers/staging/ks7010/ks_hostif.c | 1 - 2 files changed, 2 insertions(+), 2 deletions(-) diff --git

[PATCH 72/72] staging: ks7010: Remove extra blank line between functions.

2018-03-30 Thread Quytelda Kahja
Remove an extra blank line indicated by checkpatch. Signed-off-by: Quytelda Kahja --- drivers/staging/ks7010/ks7010_sdio.c | 3 ++- drivers/staging/ks7010/ks_hostif.c | 1 - 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/ks7010/ks7010_sdio.c

[PATCH 76/76] staging: ks7010: Replace memcpy() with ether_addr_copy().

2018-03-30 Thread Quytelda Kahja
ether_addr_copy() is the function for copying a hardware address, so replace the manual memcpy() operation with ether_addr_copy(). Signed-off-by: Quytelda Kahja --- drivers/staging/ks7010/ks_hostif.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[PATCH 76/76] staging: ks7010: Replace memcpy() with ether_addr_copy().

2018-03-30 Thread Quytelda Kahja
ether_addr_copy() is the function for copying a hardware address, so replace the manual memcpy() operation with ether_addr_copy(). Signed-off-by: Quytelda Kahja --- drivers/staging/ks7010/ks_hostif.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[PATCH 75/76] staging: ks7010: Replace memcmp() with ether_addr_equal().

2018-03-30 Thread Quytelda Kahja
ether_addr_equal() is the function for comparing HW addresses, so remove the manual memcmp operation and replace it with ether_addr_equals(). Signed-off-by: Quytelda Kahja --- drivers/staging/ks7010/ks_hostif.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)

[PATCH 75/76] staging: ks7010: Replace memcmp() with ether_addr_equal().

2018-03-30 Thread Quytelda Kahja
ether_addr_equal() is the function for comparing HW addresses, so remove the manual memcmp operation and replace it with ether_addr_equals(). Signed-off-by: Quytelda Kahja --- drivers/staging/ks7010/ks_hostif.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git

[PATCH 74/76] staging: ks7010: Remove unnecessary casts in 'struct ks_wlan_handler_def'.

2018-03-30 Thread Quytelda Kahja
The casts used when initializing members of this data structure mirror the types the variables already have. Remove the casts. Signed-off-by: Quytelda Kahja --- drivers/staging/ks7010/ks_wlan_net.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git

[PATCH 74/76] staging: ks7010: Remove unnecessary casts in 'struct ks_wlan_handler_def'.

2018-03-30 Thread Quytelda Kahja
The casts used when initializing members of this data structure mirror the types the variables already have. Remove the casts. Signed-off-by: Quytelda Kahja --- drivers/staging/ks7010/ks_wlan_net.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git

[PATCH 71/72] staging: ks7010: Remove 'eth_addr' field from 'struct ks_wlan_private'.

2018-03-30 Thread Quytelda Kahja
The ethernet address of the network device is already stored in the 'dev_addr' field of 'struct net_device'. Since 'struct ks_wlan_private' keeps a pointer to the driver's 'struct net_device', there is no reason to duplicate this information in 'struct ks_wlan_private'. Signed-off-by: Quytelda

[PATCH 71/72] staging: ks7010: Remove 'eth_addr' field from 'struct ks_wlan_private'.

2018-03-30 Thread Quytelda Kahja
The ethernet address of the network device is already stored in the 'dev_addr' field of 'struct net_device'. Since 'struct ks_wlan_private' keeps a pointer to the driver's 'struct net_device', there is no reason to duplicate this information in 'struct ks_wlan_private'. Signed-off-by: Quytelda

[PATCH 46/76] staging: ks7010: Remove trailing _t from 'struct hostif_phy_information_confirm_t'.

2018-03-30 Thread Quytelda Kahja
The "_t" suffix is not needed for structure names in this driver, and is a reflection of an older typedef system that is no longer in place. Replace all occurences of 'struct hostif_phy_information_confirm_t' with 'struct hostif_phy_information_confirm'. Signed-off-by: Quytelda Kahja

[PATCH 46/76] staging: ks7010: Remove trailing _t from 'struct hostif_phy_information_confirm_t'.

2018-03-30 Thread Quytelda Kahja
The "_t" suffix is not needed for structure names in this driver, and is a reflection of an older typedef system that is no longer in place. Replace all occurences of 'struct hostif_phy_information_confirm_t' with 'struct hostif_phy_information_confirm'. Signed-off-by: Quytelda Kahja ---

[PATCH 28/76] staging: ks7010: Remove trailing _t from 'struct hostif_connect_indication_t'.

2018-03-30 Thread Quytelda Kahja
The "_t" suffix is not needed for structure names in this driver, and is a reflection of an older typedef system that is no longer in place. Replace all occurences of 'struct hostif_connect_indication_t' with 'struct hostif_connect_indication'. Signed-off-by: Quytelda Kahja

[PATCH 28/76] staging: ks7010: Remove trailing _t from 'struct hostif_connect_indication_t'.

2018-03-30 Thread Quytelda Kahja
The "_t" suffix is not needed for structure names in this driver, and is a reflection of an older typedef system that is no longer in place. Replace all occurences of 'struct hostif_connect_indication_t' with 'struct hostif_connect_indication'. Signed-off-by: Quytelda Kahja ---

[PATCH 12/76] staging: ks7010: Remove trailing _t from 'struct hostif_mib_set_confirm_t'.

2018-03-30 Thread Quytelda Kahja
The "_t" suffix is not needed for structure names in this driver, and is a reflection of an older typedef system that is no longer in place. Replace all occurences of 'struct hostif_mib_set_confirm_t' with 'struct hostif_mib_set_confirm'. Signed-off-by: Quytelda Kahja ---

[PATCH 12/76] staging: ks7010: Remove trailing _t from 'struct hostif_mib_set_confirm_t'.

2018-03-30 Thread Quytelda Kahja
The "_t" suffix is not needed for structure names in this driver, and is a reflection of an older typedef system that is no longer in place. Replace all occurences of 'struct hostif_mib_set_confirm_t' with 'struct hostif_mib_set_confirm'. Signed-off-by: Quytelda Kahja ---

Re: [PATCH] nvme-multipath: implement active-active round-robin path selector

2018-03-30 Thread Christoph Hellwig
On Fri, Mar 30, 2018 at 01:57:25PM +0900, Baegjae Sung wrote: > Our prototype uses dual-ported PCIe NVMe connected to a single host. The > host's HBA is connected to two switches, What "HBA"? We are talking about NVMe here..

Re: [PATCH] nvme-multipath: implement active-active round-robin path selector

2018-03-30 Thread Christoph Hellwig
On Fri, Mar 30, 2018 at 01:57:25PM +0900, Baegjae Sung wrote: > Our prototype uses dual-ported PCIe NVMe connected to a single host. The > host's HBA is connected to two switches, What "HBA"? We are talking about NVMe here..

[PATCH 1/2] gpio: eic: Add edge trigger emulation for EIC

2018-03-30 Thread Baolin Wang
The Spreadtrum debounce EIC and latch EIC can not support edge trigger, but most GPIO users (like gpio-key driver) only use the edge trigger, thus the EIC driver need add some support to emulate the edge trigger to satisfy this requirement. Signed-off-by: Baolin Wang ---

[PATCH 2/2] gpio: pmic_eic: Add edge trigger emulation for PMIC EIC

2018-03-30 Thread Baolin Wang
This patch will toggle the EIC level to emulate the edge trigger to support PMIC EIC egdge trigger function, which is required by gpio-keys driver. Signed-off-by: Baolin Wang --- drivers/gpio/gpio-pmic-eic-sprd.c | 58 +++-- 1 file

[PATCH 1/2] gpio: eic: Add edge trigger emulation for EIC

2018-03-30 Thread Baolin Wang
The Spreadtrum debounce EIC and latch EIC can not support edge trigger, but most GPIO users (like gpio-key driver) only use the edge trigger, thus the EIC driver need add some support to emulate the edge trigger to satisfy this requirement. Signed-off-by: Baolin Wang ---

[PATCH 2/2] gpio: pmic_eic: Add edge trigger emulation for PMIC EIC

2018-03-30 Thread Baolin Wang
This patch will toggle the EIC level to emulate the edge trigger to support PMIC EIC egdge trigger function, which is required by gpio-keys driver. Signed-off-by: Baolin Wang --- drivers/gpio/gpio-pmic-eic-sprd.c | 58 +++-- 1 file changed, 56 insertions(+), 2

RE: [PATCH net-next 5/8] net: mscc: Add initial Ocelot switch support

2018-03-30 Thread Razvan Stefanescu
Hello Alexandre, > + > + register_netdevice_notifier(_netdevice_nb); > + > + dev_info(>dev, "Ocelot switch probed\n"); > + > + return 0; > + > +err_probe_ports: > + return err; > +} > + > +static int mscc_ocelot_remove(struct platform_device *pdev) > +{ > +

RE: [PATCH net-next 5/8] net: mscc: Add initial Ocelot switch support

2018-03-30 Thread Razvan Stefanescu
Hello Alexandre, > + > + register_netdevice_notifier(_netdevice_nb); > + > + dev_info(>dev, "Ocelot switch probed\n"); > + > + return 0; > + > +err_probe_ports: > + return err; > +} > + > +static int mscc_ocelot_remove(struct platform_device *pdev) > +{ > +

Re: [Kernel-patch-test] [PATCH v1] kernel/trace:check the val against the available mem

2018-03-30 Thread kbuild test robot
/linux/commits/Zhaoyang-Huang/kernel-trace-check-the-val-against-the-available-mem/20180330-140917 config: x86_64-randconfig-x009-201812 (attached as .config) compiler: gcc-7 (Debian 7.3.0-1) 7.3.0 reproduce: # save the attached .config to linux build tree make ARCH=x86_64 All errors

Re: [Kernel-patch-test] [PATCH v1] kernel/trace:check the val against the available mem

2018-03-30 Thread kbuild test robot
/linux/commits/Zhaoyang-Huang/kernel-trace-check-the-val-against-the-available-mem/20180330-140917 config: x86_64-randconfig-x009-201812 (attached as .config) compiler: gcc-7 (Debian 7.3.0-1) 7.3.0 reproduce: # save the attached .config to linux build tree make ARCH=x86_64 All errors

Re: [Kernel-patch-test] [PATCH v1] kernel/trace:check the val against the available mem

2018-03-30 Thread kbuild test robot
/linux/commits/Zhaoyang-Huang/kernel-trace-check-the-val-against-the-available-mem/20180330-140917 config: i386-randconfig-x073-201812 (attached as .config) compiler: gcc-7 (Debian 7.3.0-1) 7.3.0 reproduce: # save the attached .config to linux build tree make ARCH=i386 All error

Re: [Kernel-patch-test] [PATCH v1] kernel/trace:check the val against the available mem

2018-03-30 Thread kbuild test robot
/linux/commits/Zhaoyang-Huang/kernel-trace-check-the-val-against-the-available-mem/20180330-140917 config: i386-randconfig-x073-201812 (attached as .config) compiler: gcc-7 (Debian 7.3.0-1) 7.3.0 reproduce: # save the attached .config to linux build tree make ARCH=i386 All error

Re: Problem with commit 31e77c93e432 "sched/fair: Update blocked load when newly idle"

2018-03-30 Thread Vincent Guittot
On 29 March 2018 at 19:40, Heiner Kallweit wrote: > Am 29.03.2018 um 09:41 schrieb Vincent Guittot: >> >> I'm finally not so sure that i have the right set up to reproduce the >> problem as I haven't been able to reproduce it since. >> >> Heiner, >> >> How fast the problem

Re: Problem with commit 31e77c93e432 "sched/fair: Update blocked load when newly idle"

2018-03-30 Thread Vincent Guittot
On 29 March 2018 at 19:40, Heiner Kallweit wrote: > Am 29.03.2018 um 09:41 schrieb Vincent Guittot: >> >> I'm finally not so sure that i have the right set up to reproduce the >> problem as I haven't been able to reproduce it since. >> >> Heiner, >> >> How fast the problem happens on your board

Re: [PATCH 2/8] PCI: Add pci_find_common_upstream_dev()

2018-03-30 Thread Christoph Hellwig
On Thu, Mar 29, 2018 at 09:58:54PM -0400, Jerome Glisse wrote: > dma_map_resource() is the right API (thought its current implementation > is fill with x86 assumptions). So i would argue that arch can decide to > implement it or simply return dma error address which trigger fallback > path into

Re: [PATCH 2/8] PCI: Add pci_find_common_upstream_dev()

2018-03-30 Thread Christoph Hellwig
On Thu, Mar 29, 2018 at 09:58:54PM -0400, Jerome Glisse wrote: > dma_map_resource() is the right API (thought its current implementation > is fill with x86 assumptions). So i would argue that arch can decide to > implement it or simply return dma error address which trigger fallback > path into

[PATCH] gpio: fix ifnullfree.cocci warnings (fwd)

2018-03-30 Thread Julia Lawall
...@intel.com> Signed-off-by: Julia Lawall <julia.law...@lip6.fr> --- url: https://github.com/0day-ci/linux/commits/Laura-Abbott/gpio-Remove-VLA-from-gpiolib/20180330-065639 base: https://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-gpio.git for-next gpiolib.c |9 +++--

[PATCH] gpio: fix ifnullfree.cocci warnings (fwd)

2018-03-30 Thread Julia Lawall
ux/commits/Laura-Abbott/gpio-Remove-VLA-from-gpiolib/20180330-065639 base: https://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-gpio.git for-next gpiolib.c |9 +++-- 1 file changed, 3 insertions(+), 6 deletions(-) --- a/drivers/gpio/gpiolib.c +++ b/drivers/gpio/gpiolib.c @@ -2758

Re: [PATCH] powerpc: kexec_file: Fix error code when trying to load kdump kernel

2018-03-30 Thread Simon Horman
On Thu, Mar 29, 2018 at 04:05:43PM -0300, Thiago Jung Bauermann wrote: > kexec_file_load() on powerpc doesn't support kdump kernels yet, so it > returns -ENOTSUPP in that case. > > I've recently learned that this errno is internal to the kernel and isn't > supposed to be exposed to userspace.

Re: [PATCH] powerpc: kexec_file: Fix error code when trying to load kdump kernel

2018-03-30 Thread Simon Horman
On Thu, Mar 29, 2018 at 04:05:43PM -0300, Thiago Jung Bauermann wrote: > kexec_file_load() on powerpc doesn't support kdump kernels yet, so it > returns -ENOTSUPP in that case. > > I've recently learned that this errno is internal to the kernel and isn't > supposed to be exposed to userspace.

Re: [kbuild-all] [PATCH] OPTIONAL: cpufreq/intel_pstate: fix debugfs_simple_attr.cocci warnings

2018-03-30 Thread Julia Lawall
On Fri, 30 Mar 2018, Nicolai Stange wrote: > Julia Lawall writes: > > > On Thu, 29 Mar 2018, Fabio Estevam wrote: > > > >> Hi Julia, > >> > >> On Thu, Mar 29, 2018 at 4:12 PM, Julia Lawall wrote: > >> > Use DEFINE_DEBUGFS_ATTRIBUTE rather than

Re: [kbuild-all] [PATCH] OPTIONAL: cpufreq/intel_pstate: fix debugfs_simple_attr.cocci warnings

2018-03-30 Thread Julia Lawall
On Fri, 30 Mar 2018, Nicolai Stange wrote: > Julia Lawall writes: > > > On Thu, 29 Mar 2018, Fabio Estevam wrote: > > > >> Hi Julia, > >> > >> On Thu, Mar 29, 2018 at 4:12 PM, Julia Lawall wrote: > >> > Use DEFINE_DEBUGFS_ATTRIBUTE rather than DEFINE_SIMPLE_ATTRIBUTE > >> > for debugfs

Re: [PATCH 4.9 00/28] 4.9.92-stable review

2018-03-30 Thread Naresh Kamboju
On 29 March 2018 at 23:30, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 4.9.92 release. > There are 28 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please

Re: [PATCH 4.9 00/28] 4.9.92-stable review

2018-03-30 Thread Naresh Kamboju
On 29 March 2018 at 23:30, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 4.9.92 release. > There are 28 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me know. > >

Re: [kbuild-all] [PATCH] OPTIONAL: cpufreq/intel_pstate: fix debugfs_simple_attr.cocci warnings

2018-03-30 Thread Nicolai Stange
Julia Lawall writes: > On Thu, 29 Mar 2018, Fabio Estevam wrote: > >> Hi Julia, >> >> On Thu, Mar 29, 2018 at 4:12 PM, Julia Lawall wrote: >> > Use DEFINE_DEBUGFS_ATTRIBUTE rather than DEFINE_SIMPLE_ATTRIBUTE >> > for debugfs files. >> > >> >

Re: [kbuild-all] [PATCH] OPTIONAL: cpufreq/intel_pstate: fix debugfs_simple_attr.cocci warnings

2018-03-30 Thread Nicolai Stange
Julia Lawall writes: > On Thu, 29 Mar 2018, Fabio Estevam wrote: > >> Hi Julia, >> >> On Thu, Mar 29, 2018 at 4:12 PM, Julia Lawall wrote: >> > Use DEFINE_DEBUGFS_ATTRIBUTE rather than DEFINE_SIMPLE_ATTRIBUTE >> > for debugfs files. >> > >> > Semantic patch information: >> > Rationale:

Re: [PATCH 1/9] staging: ks7010: Replace manual array copy with ether_addr_copy().

2018-03-30 Thread Joe Perches
On Thu, 2018-03-29 at 23:03 -0700, Quytelda Kahja wrote: > If we just want to have the address field full of zeros during the > driver probe, is there a reason we should zero it explicitly here? > When the 'struct net_device' is first allocated using > alloc_etherdev(), the dev_addr field is

Re: [PATCH 1/9] staging: ks7010: Replace manual array copy with ether_addr_copy().

2018-03-30 Thread Joe Perches
On Thu, 2018-03-29 at 23:03 -0700, Quytelda Kahja wrote: > If we just want to have the address field full of zeros during the > driver probe, is there a reason we should zero it explicitly here? > When the 'struct net_device' is first allocated using > alloc_etherdev(), the dev_addr field is

Re: [PATCH 1/9] staging: ks7010: Replace manual array copy with ether_addr_copy().

2018-03-30 Thread Quytelda Kahja
If we just want to have the address field full of zeros during the driver probe, is there a reason we should zero it explicitly here? When the 'struct net_device' is first allocated using alloc_etherdev(), the dev_addr field is explicitly set to zeros (in the subfunction dev_addr_init() in

Re: [PATCH 1/9] staging: ks7010: Replace manual array copy with ether_addr_copy().

2018-03-30 Thread Quytelda Kahja
If we just want to have the address field full of zeros during the driver probe, is there a reason we should zero it explicitly here? When the 'struct net_device' is first allocated using alloc_etherdev(), the dev_addr field is explicitly set to zeros (in the subfunction dev_addr_init() in

<    8   9   10   11   12   13