[driver-core:driver-core-testing 29/33] include/linux/platform_device.h:75:40: error: unknown type name 'irq_handler_t'

2020-09-07 Thread kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core.git driver-core-testing head: fa802fde315b87157f6d7c5dfe5d926bdb97d6e4 commit: 4f4e9ddba1225e2dcdd08ac91f1e82aaca51f2b8 [29/33] drivers: provide devm_platform_request_irq() config: h8300-randconfig-r014-20200907

Re: [PATCH v11 07/11] device-mapping: Introduce DMA range map, supplanting dma_pfn_offset

2020-09-07 Thread Nicolas Saenz Julienne
On Mon, 2020-09-07 at 13:40 -0400, Jim Quinlan wrote: > On Mon, Sep 7, 2020 at 11:01 AM Nicolas Saenz Julienne > wrote: > > > > > > Hi Nicolas, > > > > > > Can you please help us out here? It appears that your commit > > > > It's dma_offset_from_dma_addr() that's causing trouble. It goes over

[driver-core:driver-core-testing 29/33] include/linux/platform_device.h:75:40: error: unknown type name 'irq_handler_t'

2020-09-07 Thread kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core.git driver-core-testing head: fa802fde315b87157f6d7c5dfe5d926bdb97d6e4 commit: 4f4e9ddba1225e2dcdd08ac91f1e82aaca51f2b8 [29/33] drivers: provide devm_platform_request_irq() config: h8300-randconfig-r034-20200907

Re: [PATCH v11 00/11] PCI: brcmstb: enable PCIe for STB chips

2020-09-07 Thread Florian Fainelli
On 9/7/2020 10:43 AM, Jim Quinlan wrote: On Mon, Sep 7, 2020 at 5:16 AM Lorenzo Pieralisi wrote: On Thu, Aug 27, 2020 at 09:29:59AM -0400, Jim Quinlan wrote: On Thu, Aug 27, 2020 at 2:35 AM Christoph Hellwig wrote: On Tue, Aug 25, 2020 at 10:40:27AM -0700, Florian Fainelli wrote: Hi,

[staging:staging-testing] BUILD SUCCESS ceea93444808c7d1fd07a01927937d20237d849e

2020-09-07 Thread kernel test robot
allmodconfig powerpc defconfig powerpc allyesconfig powerpc allmodconfig i386 randconfig-a004-20200907 i386 randconfig-a005-20200907 i386 randconfig-a006-20200907 i386

[driver-core:driver-core-linus] BUILD SUCCESS 1c30474826682bc970c3200700d8bcfa2b771278

2020-09-07 Thread kernel test robot
mips allmodconfig powerpc defconfig powerpc allyesconfig powerpc allmodconfig i386 randconfig-a004-20200907 i386 randconfig-a005-20200907 i386

[PATCH] staging: qlge: fix quoted string split across lines

2020-09-07 Thread Ross Schmidt
Fixed a coding style issue by merging split quoted strings in qlge_main.c to fix checkpatch warnings. Signed-off-by: Ross Schmidt --- drivers/staging/qlge/qlge_main.c | 12 +--- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/drivers/staging/qlge/qlge_main.c

[PATCH] drivers: staging: octeon-usb: fixed codestyle check warning

2020-09-07 Thread Naveen Panwar
Fixed line cannot end with '(' check. Signed-off-by: Naveen Panwar --- drivers/staging/octeon-usb/octeon-hcd.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/staging/octeon-usb/octeon-hcd.c b/drivers/staging/octeon-usb/octeon-hcd.c index

[PATCH] Staging: Ralink: ralink-gdma: Fixed codestyle issue and warnings

2020-09-07 Thread Naveen Panwar
Fixed checkpatch warnings two warnings still exits about DT compatible strings appers undocumented. Fixed the other codestyle errors, and some warnings about use of volatile and un-necessary out of memory errors. Signed-off-by: Naveen Panwar --- drivers/staging/ralink-gdma/ralink-gdma.c | 29

Re: [PATCH] Staging: Ralink: ralink-gdma: Fixed codestyle issue and warnings

2020-09-07 Thread Greg KH
On Mon, Sep 07, 2020 at 12:27:45PM +0530, Naveen Panwar wrote: > Fixed checkpatch warnings two warnings still exits about DT > compatible strings appers undocumented. Fixed the other codestyle > errors, and some warnings about use of volatile and un-necessary > out of memory errors. > >

Re: [PATCH v11 00/11] PCI: brcmstb: enable PCIe for STB chips

2020-09-07 Thread Lorenzo Pieralisi
On Thu, Aug 27, 2020 at 09:29:59AM -0400, Jim Quinlan wrote: > On Thu, Aug 27, 2020 at 2:35 AM Christoph Hellwig wrote: > > > > On Tue, Aug 25, 2020 at 10:40:27AM -0700, Florian Fainelli wrote: > > > Hi, > > > > > > On 8/24/2020 12:30 PM, Jim Quinlan wrote: > > >> > > >> Patchset Summary: > > >>

[PATCH] drivers: staging: ralink-gdma: fixing codestyle related changes

2020-09-07 Thread Naveen Panwar
Fixing the codestyle related changes in the ralink-gdma driver Signed-off-by: Naveen Panwar --- drivers/staging/ralink-gdma/ralink-gdma.c | 23 --- 1 file changed, 12 insertions(+), 11 deletions(-) diff --git a/drivers/staging/ralink-gdma/ralink-gdma.c

[PATCH 06/31] staging: wfx: drop multicast filtering

2020-09-07 Thread Jerome Pouiller
From: Jérôme Pouiller The device allows to filter multicast frames. The driver has the necessary code to take advantage of this feature. However, some bugs has been reported on this feature. So, it was temporary disabled. Finally, the things work well as-is for more than one year now. So there

[PATCH 14/31] staging: wfx: drop useless struct hif_map_link_flags

2020-09-07 Thread Jerome Pouiller
From: Jérôme Pouiller Struct hif_map_link_flags has no reason to exist. Drop it and simplify access to struct hif_req_map_link. Also rename the field 'map_direction' in 'unmap'. It is more meaningful and allows to drop enum hif_sta_map_direction. Signed-off-by: Jérôme Pouiller ---

[PATCH 17/31] staging: wfx: drop useless struct hif_rx_flags

2020-09-07 Thread Jerome Pouiller
From: Jérôme Pouiller Struct hif_rx_flags has no reason to exist. Drop it and simplify access to struct hif_ind_rx. Signed-off-by: Jérôme Pouiller --- drivers/staging/wfx/data_rx.c | 2 +- drivers/staging/wfx/hif_api_cmd.h | 25 ++--- 2 files changed, 11

[PATCH 08/31] staging: wfx: drop useless enum hif_beacon

2020-09-07 Thread Jerome Pouiller
From: Jérôme Pouiller Enum hif_beacon is not used. Moreover, it is just another definition of a boolean. Absolutely useless. Signed-off-by: Jérôme Pouiller --- drivers/staging/wfx/hif_api_cmd.h | 5 - 1 file changed, 5 deletions(-) diff --git a/drivers/staging/wfx/hif_api_cmd.h

[PATCH 21/31] staging: wfx: drop useless structs only used in hif_ind_startup

2020-09-07 Thread Jerome Pouiller
From: Jérôme Pouiller The structs hif_capabilities, hif_otp_regul_sel_mode_info and hif_otp_phy_info have no real reasons to exist. Drop them and simplify access to fields of struct hif_ind_startup. Signed-off-by: Jérôme Pouiller --- drivers/staging/wfx/hif_api_general.h | 32

[PATCH 18/31] staging: wfx: drop useless struct hif_tx_result_flags

2020-09-07 Thread Jerome Pouiller
From: Jérôme Pouiller Struct hif_tx_result_flags has no reason to exist. Drop it and simplify access to struct hif_cnf_tx. Signed-off-by: Jérôme Pouiller --- drivers/staging/wfx/data_tx.c | 3 +-- drivers/staging/wfx/hif_api_cmd.h | 16 ++-- 2 files changed, 7 insertions(+),

[PATCH 29/31] staging: wfx: uniformize naming rules in hif_tx_mib.c

2020-09-07 Thread Jerome Pouiller
From: Jérôme Pouiller hif_tx_mib.c contains functions that format data to be sent to the hardware. In this file, sometime the struct to be sent is named 'arg', sometime 'val'. In some other function 'val' is used for the argument of the function. This patch uniformize the things and choose to

[PATCH 22/31] staging: wfx: drop useless union hif_privacy_key_data

2020-09-07 Thread Jerome Pouiller
From: Jérôme Pouiller The union hif_privacy_key_data is never used in the driver. So, it is not necessary to declare it separately from hif_req_add_key. Signed-off-by: Jérôme Pouiller --- drivers/staging/wfx/hif_api_cmd.h | 24 +++- 1 file changed, 11 insertions(+), 13

[PATCH 26/31] staging: wfx: drop macro API_SSID_SIZE

2020-09-07 Thread Jerome Pouiller
From: Jérôme Pouiller The maximum length of a SSID is defined by 802.11 specification. It is already defined in mac80211: IEEE80211_MAX_SSID_LEN. Therefore, use this generic definition. Signed-off-by: Jérôme Pouiller --- drivers/staging/wfx/hif_api_cmd.h | 8 +++-

Re: [PATCH 00/38] media sparse/smatch warn fixes

2020-09-07 Thread Hans Verkuil
On 02/09/2020 18:10, Mauro Carvalho Chehab wrote: > While I was lately relying on Jenkins to report smatch/sparse issues, > I discovered this week that the reports were missing such warnings > > I got it fixed already at builder.linuxtv.org, but there are several new > warnings that got added

[PATCH 10/31] staging: wfx: drop useless struct hif_reset_flags

2020-09-07 Thread Jerome Pouiller
From: Jérôme Pouiller Struct hif_reset_flags has no reason to exist. Drop it and simplify access to struct hif_req_reset. Signed-off-by: Jérôme Pouiller --- drivers/staging/wfx/hif_api_cmd.h | 6 +++--- drivers/staging/wfx/hif_tx.c | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-)

[PATCH 27/31] staging: wfx: fix naming of hif_tx_rate_retry_policy

2020-09-07 Thread Jerome Pouiller
From: Jérôme Pouiller In the wfx driver, the prefix 'hif_mib_' is normally used for structures that represent a hardware message. hif_mib_tx_rate_retry_policy does not fall in this category. So, rename it. Signed-off-by: Jérôme Pouiller --- drivers/staging/wfx/hif_api_mib.h | 4 ++-- 1 file

[PATCH 23/31] staging: wfx: drop useless union hif_event_data

2020-09-07 Thread Jerome Pouiller
From: Jérôme Pouiller The union hif_event_data is never used in the driver. So, it is not necessary to declare it separately from hif_ind_event. Signed-off-by: Jérôme Pouiller --- drivers/staging/wfx/hif_api_cmd.h | 12 +--- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git

[PATCH 25/31] staging: wfx: drop struct hif_ie_tlv

2020-09-07 Thread Jerome Pouiller
From: Jérôme Pouiller This struct hif_ie_tlv is definitively an Information Element (IE). This struct is defined by 802.11 specification and already exists in mac80211. Reuse this definition instead of struct hif_ie_tlv. Signed-off-by: Jérôme Pouiller --- drivers/staging/wfx/hif_api_cmd.h |

[PATCH 24/31] staging: wfx: drop useless union hif_indication_data

2020-09-07 Thread Jerome Pouiller
From: Jérôme Pouiller The union hif_indication_data is never used in the driver. So, it is not necessary to declare it separately from hif_ind_generic. In add, drop prefix 'indication_' from the names 'indication_type' and 'indication_data' since it is redundant with the name of the struct.

Re: [PATCH] driver: staging: ralink-gdma: fixing codestyle change

2020-09-07 Thread Greg KH
On Mon, Sep 07, 2020 at 04:07:03PM +0530, Naveen Panwar wrote: > Adding a blank line after variable declarations Why? > > Signed-off-by: Naveen Panwar > --- > drivers/staging/ralink-gdma/ralink-gdma.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git

Re: [PATCH] drivers: staging: ralink-gdma: fixing codestyle related changes

2020-09-07 Thread Greg KH
On Mon, Sep 07, 2020 at 03:05:03PM +0530, Naveen Panwar wrote: > Fixing the codestyle related changes in the ralink-gdma driver > > Signed-off-by: Naveen Panwar > --- > drivers/staging/ralink-gdma/ralink-gdma.c | 23 --- > 1 file changed, 12 insertions(+), 11 deletions(-) >

[PATCH] driver: staging: ralink-gdma: fixing codestyle change

2020-09-07 Thread Naveen Panwar
Adding a blank line after variable declarations Signed-off-by: Naveen Panwar --- drivers/staging/ralink-gdma/ralink-gdma.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/staging/ralink-gdma/ralink-gdma.c b/drivers/staging/ralink-gdma/ralink-gdma.c index eabf1093328e..9ad012d1581f

[PATCH 00/31] staging: wfx: fix last items of the TODO list

2020-09-07 Thread Jerome Pouiller
From: Jérôme Pouiller Hello folks, This PR fixes most of the items of the TODO list associated to the wfx driver. Normally, my next PR will ask to move the wfx driver out of the staging area. Jérôme Pouiller (31): staging: wfx: improve readability of association processing staging: wfx:

[PATCH 05/31] staging: wfx: drop 'secure link' feature

2020-09-07 Thread Jerome Pouiller
From: Jérôme Pouiller The Secure Link (slk) feature allows to encrypt (and authenticate) the traffic between the host and the device. The official implementation of this feature relies on mbedTLS. For that reason, this implementation is not included in the current driver. To be included, the

[PATCH 09/31] staging: wfx: drop useless union hif_commands_ids

2020-09-07 Thread Jerome Pouiller
From: Jérôme Pouiller Union hif_commands_ids is unused. Signed-off-by: Jérôme Pouiller --- drivers/staging/wfx/hif_api_cmd.h | 6 -- 1 file changed, 6 deletions(-) diff --git a/drivers/staging/wfx/hif_api_cmd.h b/drivers/staging/wfx/hif_api_cmd.h index 75e8c2a7fdf9..c132d8e43b50 100644

[PATCH 03/31] staging: wfx: simplify hif_set_association_mode()

2020-09-07 Thread Jerome Pouiller
From: Jérôme Pouiller The file hif_tx_mib.c expects to contain functions that format messages for the hardware. It is unexpected to find function that manipulate RCU and structures from mac80211. Keep hif_set_association_mode() with the code necessary for message formatting and relocate the

[PATCH 01/31] staging: wfx: improve readability of association processing

2020-09-07 Thread Jerome Pouiller
From: Jérôme Pouiller The statements in wfx_bss_info_changed() has no particular order. For better readability, group and sort the statements relative to the association processing. Signed-off-by: Jérôme Pouiller --- drivers/staging/wfx/sta.c | 53 +++ 1

[PATCH 07/31] staging: wfx: drop useless function

2020-09-07 Thread Jerome Pouiller
From: Jérôme Pouiller Since the code for multicast filtering has been dropped, the function hif_set_data_filtering() is only called to disable multicast filtering. In fact, the multicast filtering is already disabled by default. So, this function is useless and can be dropped. Signed-off-by:

[PATCH 20/31] staging: wfx: drop useless stricts only used in hif_req_start_scan_alt

2020-09-07 Thread Jerome Pouiller
From: Jérôme Pouiller The structs hif_scan_type, hif_scan_flags and hif_auto_scan_param have no real reasons to exist (apart maybe defining namespaces). Moreover, the names of the fields within these structs are not all meaningful. Drop the structs and rename the fields. Signed-off-by: Jérôme

[PATCH 16/31] staging: wfx: drop useless struct hif_pm_mode

2020-09-07 Thread Jerome Pouiller
From: Jérôme Pouiller Struct hif_pm_mode has no reason to exist. Drop it and simplify access to struct hif_req_set_pm_mode. Signed-off-by: Jérôme Pouiller --- drivers/staging/wfx/hif_api_cmd.h | 6 +- drivers/staging/wfx/hif_tx.c | 4 ++-- 2 files changed, 3 insertions(+), 7

[PATCH 02/31] staging: wfx: relocate wfx_join() beside wfx_join_finalize()

2020-09-07 Thread Jerome Pouiller
From: Jérôme Pouiller wfx_join() and wfx_join_finalize() are the two halves of the association process. Group them. In addition, for better uniformity of the code, rename wfx_do_join() in wfx_join(). Signed-off-by: Jérôme Pouiller --- drivers/staging/wfx/sta.c | 100

[PATCH 12/31] staging: wfx: drop useless struct hif_join_flags

2020-09-07 Thread Jerome Pouiller
From: Jérôme Pouiller Struct hif_join_flags has no reason to exist. Drop it and simplify access to struct hif_req_join. Signed-off-by: Jérôme Pouiller --- drivers/staging/wfx/hif_api_cmd.h | 18 +++--- 1 file changed, 7 insertions(+), 11 deletions(-) diff --git

[PATCH 04/31] staging: wfx: keep API error list up-to-date

2020-09-07 Thread Jerome Pouiller
From: Jérôme Pouiller A new kind of error has appeared in API 3.4. The Linux driver is not concerned by this new error, but let's keep the API in sync with the firmware. Signed-off-by: Jérôme Pouiller --- drivers/staging/wfx/hif_api_general.h | 1 + drivers/staging/wfx/hif_rx.c | 2

[PATCH 11/31] staging: wfx: drop useless struct hif_ie_flags

2020-09-07 Thread Jerome Pouiller
From: Jérôme Pouiller Struct hif_ie_flags has no reason to exist. Drop it and simplify access to struct hif_req_update_ie. Signed-off-by: Jérôme Pouiller --- drivers/staging/wfx/hif_api_cmd.h | 14 +- drivers/staging/wfx/hif_tx.c | 2 +- 2 files changed, 6 insertions(+), 10

[PATCH 31/31] staging: wfx: update TODO list

2020-09-07 Thread Jerome Pouiller
From: Jérôme Pouiller The driver is now close to leave the staging directory. Update the TODO list to reflect the work done. Signed-off-by: Jérôme Pouiller --- drivers/staging/wfx/TODO | 19 --- 1 file changed, 19 deletions(-) diff --git a/drivers/staging/wfx/TODO

[PATCH 30/31] staging: wfx: drop async field from struct hif_cmd

2020-09-07 Thread Jerome Pouiller
From: Jérôme Pouiller The parameter "async" in wfx_cmd_send() allows to send command without waiting for the reply. In this case, the mutex hif_cmd.lock is released asynchronously in the context of the receiver workqueue. However, "kbuild test robot" complains about this architecture[1] since

[PATCH 13/31] staging: wfx: drop useless struct hif_bss_flags

2020-09-07 Thread Jerome Pouiller
From: Jérôme Pouiller Struct hif_bss_flags has no reason to exist. In add, it is never used. Drop it. Signed-off-by: Jérôme Pouiller --- drivers/staging/wfx/hif_api_cmd.h | 6 +- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/drivers/staging/wfx/hif_api_cmd.h

[PATCH 15/31] staging: wfx: drop useless struct hif_suspend_resume_flags

2020-09-07 Thread Jerome Pouiller
From: Jérôme Pouiller Struct hif_suspend_resume_flags has no reason to exist. Drop it and simplify access to struct hif_ind_suspend_resume_tx. Signed-off-by: Jérôme Pouiller --- drivers/staging/wfx/hif_api_cmd.h | 6 +- drivers/staging/wfx/hif_rx.c | 6 +++--- 2 files changed, 4

[PATCH 19/31] staging: wfx: drop useless structs only used in hif_req_tx

2020-09-07 Thread Jerome Pouiller
From: Jérôme Pouiller The structs hif_queue, hif_data_flags, hif_tx_flags and hif_ht_tx_parameters have no real reasons to exist. Drop them and simplify access to fields of struct hif_req_tx. Signed-off-by: Jérôme Pouiller --- drivers/staging/wfx/data_tx.c | 39 ++--

Re: [PATCH] media: ipu3: add a module to probe sensors via ACPI

2020-09-07 Thread Dan Scally
On 01/07/2020 02:16, Jordan Hand wrote: > On 5/26/20 7:31 AM, Heikki Krogerus wrote: >> On Fri, May 22, 2020 at 11:57:36AM +0200, Mauro Carvalho Chehab wrote: >>> Em Thu, 21 May 2020 11:00:19 +0300 >>> Andy Shevchenko escreveu: >>> +Cc: Heikki (swnode expert) On Wed, May 20, 2020

[PATCH 28/31] staging: wfx: fix spaces

2020-09-07 Thread Jerome Pouiller
From: Jérôme Pouiller There is no reason to place two spaces between the field tx_conf_payload and its type. In the same vein, remove duplicate empty lines between declarations. Signed-off-by: Jérôme Pouiller --- drivers/staging/wfx/hif_api_cmd.h | 4 +---

Re: [PATCH v11 07/11] device-mapping: Introduce DMA range map, supplanting dma_pfn_offset

2020-09-07 Thread Nicolas Saenz Julienne
Hi Jim, sorry I'm a little late to the party, but was on vacation. On Thu, 2020-09-03 at 13:32 -0400, Jim Quinlan wrote: > On Wed, Sep 2, 2020 at 8:52 PM Nathan Chancellor > wrote: > > On Wed, Sep 02, 2020 at 05:36:29PM -0700, Florian Fainelli wrote: > > > > > > On 9/2/2020 3:38 PM, Nathan

Re: [PATCH v11 07/11] device-mapping: Introduce DMA range map, supplanting dma_pfn_offset

2020-09-07 Thread Nicolas Saenz Julienne
Hi Christoph, a small fix to your fixes: On Tue, 2020-09-01 at 10:24 +0200, Christoph Hellwig wrote: > I've applied this to the dma-mapping tree. > > I had to resolve a conflict in drivers/of/address.c with a recent > mainline commit. I also applied the minor tweaks Andy pointed out > plus a