[PATCHSET] remove 153 useless typedefs in staging/rtl8723bs

2021-03-12 Thread Marco Cesati
This set of patches remove 153 useless typedef instructions in the staging/rtl8723bs source code, as identified by the checkpatch.pl script. Every patch is purely syntactical: it does not change the generated machine code. Furthermore, every single patch leaves the source code fully compilable, so

[PATCH 02/33] staging: rtl8723bs: remove typedefs in rtw_mlme.h

2021-03-12 Thread Marco Cesati
This commit fixes the following checkpatch.pl warnings: WARNING: do not add new typedefs #84: FILE: include/rtw_mlme.h:84: +typedef enum _RT_SCAN_TYPE { WARNING: do not add new typedefs #137: FILE: include/rtw_mlme.h:137: +typedef struct _RT_LINK_DETECT_T { Signed-off-by:

[PATCH 05/33] staging: rtl8723bs: remove typedefs in odm_NoiseMonitor.h

2021-03-12 Thread Marco Cesati
This commit fixes the following checkpatch.pl warning: WARNING: do not add new typedefs #27: FILE: hal/odm_NoiseMonitor.h:27: +typedef struct _ODM_NOISE_MONITOR_ { Signed-off-by: Marco Cesati --- drivers/staging/rtl8723bs/hal/odm.h | 2 +- drivers/staging/rtl8723bs/hal/

[PATCH 04/33] staging: rtl8723bs: remove typedefs in odm_CfoTracking.h

2021-03-12 Thread Marco Cesati
This commit fixes the following checkpatch.pl warning: WARNING: do not add new typedefs #15: FILE: hal/odm_CfoTracking.h:15: +typedef struct _CFO_TRACKING_ { Signed-off-by: Marco Cesati --- drivers/staging/rtl8723bs/hal/odm.h | 2 +- drivers/staging/rtl8723bs/hal/odm_Cf

[PATCH 06/33] staging: rtl8723bs: remove typedefs in odm_interface.h

2021-03-12 Thread Marco Cesati
This commit fixes the following checkpatch.pl warning: WARNING: do not add new typedefs #42: FILE: hal/odm_interface.h:42: +typedef enum _ODM_H2C_CMD { Signed-off-by: Marco Cesati --- drivers/staging/rtl8723bs/hal/odm_interface.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletion

[PATCH 01/33] staging: rtl8723bs: remove typedefs in HalBtcOutSrc.h

2021-03-12 Thread Marco Cesati
This commit fixes the following checkpatch.pl warnings: WARNING: do not add new typedefs #47: FILE: hal/HalBtcOutSrc.h:47: +typedef enum _BTC_POWERSAVE_TYPE { WARNING: do not add new typedefs #54: FILE: hal/HalBtcOutSrc.h:54: +typedef enum _BTC_BT_REG_TYPE { WARNING:

[PATCH 08/33] staging: rtl8723bs: remove typedefs in odm_HWConfig.h

2021-03-12 Thread Marco Cesati
This commit fixes the following checkpatch.pl warnings: WARNING: do not add new typedefs #33: FILE: hal/odm_HWConfig.h:33: +typedef struct _Phy_Rx_AGC_Info { WARNING: do not add new typedefs #41: FILE: hal/odm_HWConfig.h:41: +typedef struct _Phy_Status_Rpt_8192cd { WA

[PATCH 07/33] staging: rtl8723bs: remove typedefs in odm_EdcaTurboCheck.h

2021-03-12 Thread Marco Cesati
This commit fixes the following checkpatch.pl warning: WARNING: do not add new typedefs #11: FILE: hal/odm_EdcaTurboCheck.h:11: +typedef struct _EDCA_TURBO_ { Signed-off-by: Marco Cesati --- drivers/staging/rtl8723bs/hal/odm.h| 2 +- drivers/staging/rtl8723bs/hal/odm

[PATCH 09/33] staging: rtl8723bs: remove typedefs in odm_types.h

2021-03-12 Thread Marco Cesati
This commit fixes the following checkpatch.pl warnings: WARNING: do not add new typedefs #18: FILE: hal/odm_types.h:18: +typedef enum _HAL_STATUS { WARNING: do not add new typedefs #33: FILE: hal/odm_types.h:33: +typedef enum _RT_SPINLOCK_TYPE { WARNING: do not add ne

[PATCH 10/33] staging: rtl8723bs: remove typedefs in rtw_eeprom.h

2021-03-12 Thread Marco Cesati
This commit fixes the following checkpatch.pl warning: WARNING: do not add new typedefs #45: FILE: include/rtw_eeprom.h:45: +typedef enum _RT_CUSTOMER_ID { Signed-off-by: Marco Cesati --- drivers/staging/rtl8723bs/include/rtw_eeprom.h | 4 ++-- 1 file changed, 2 insertions(+), 2 del

[PATCH 03/33] staging: rtl8723bs: remove typedefs in odm.h

2021-03-12 Thread Marco Cesati
This commit fixes the following checkpatch.pl warnings: WARNING: do not add new typedefs #95: FILE: hal/odm.h:95: +typedef struct _Rate_Adaptive_Table_ { WARNING: do not add new typedefs #99: FILE: hal/odm.h:99: +typedef struct _RX_High_Power_ { WARNING: do not add ne

[PATCH 11/33] staging: rtl8723bs: remove typedefs in hal_com.h

2021-03-12 Thread Marco Cesati
This commit fixes the following checkpatch.pl warning: WARNING: do not add new typedefs #168: FILE: include/hal_com.h:168: +typedef enum _RT_MEDIA_STATUS { Signed-off-by: Marco Cesati --- drivers/staging/rtl8723bs/hal/HalBtcOutSrc.h | 2 +- drivers/staging/rtl8723bs/hal/hal_btcoex.c

[PATCH 12/33] staging: rtl8723bs: remove typedefs in drv_types.h

2021-03-12 Thread Marco Cesati
This commit fixes the following checkpatch.pl warning: WARNING: do not add new typedefs #374: FILE: include/drv_types.h:374: +typedef enum _DRIVER_STATE { Signed-off-by: Marco Cesati --- drivers/staging/rtl8723bs/include/drv_types.h | 4 ++-- 1 file changed, 2 insertions(+), 2 delet

[PATCH 14/33] staging: rtl8723bs: remove typedefs in rtw_ioctl_set.h

2021-03-12 Thread Marco Cesati
This commit fixes the following checkpatch.pl warning: WARNING: do not add new typedefs #13: FILE: include/rtw_ioctl_set.h:13: +typedef struct _BSSIDInfo { Signed-off-by: Marco Cesati --- drivers/staging/rtl8723bs/include/rtw_ioctl_set.h | 4 ++-- 1 file changed, 2 insertions(+), 2

[PATCH 13/33] staging: rtl8723bs: remove typedefs in rtw_ht.h

2021-03-12 Thread Marco Cesati
This commit fixes the following checkpatch.pl warnings: WARNING: do not add new typedefs #40: FILE: include/rtw_ht.h:40: +typedef enum AGGRE_SIZE { WARNING: do not add new typedefs #51: FILE: include/rtw_ht.h:51: +typedef enum _RT_HT_INF0_CAP { WARNING: do not add new

[PATCH 15/33] staging: rtl8723bs: remove typedefs in wlan_bssdef.h

2021-03-12 Thread Marco Cesati
This commit fixes the following checkpatch.pl warnings: WARNING: do not add new typedefs #130: FILE: include/wlan_bssdef.h:130: +typedef struct _NDIS_802_11_ASSOCIATION_INFORMATION { WARNING: do not add new typedefs #148: FILE: include/wlan_bssdef.h:148: +typedef struct _N

[PATCH 16/33] staging: rtl8723bs: remove typedefs in rtw_mp.h

2021-03-12 Thread Marco Cesati
This commit fixes the following checkpatch.pl warnings: WARNING: do not add new typedefs #52: FILE: include/rtw_mp.h:52: +typedef struct _MPT_CONTEXT { WARNING: do not add new typedefs #268: FILE: include/rtw_mp.h:268: +typedef struct _IOCMD_STRUCT_ { Signed-off-by: Marco

[PATCH 17/33] staging: rtl8723bs: remove typedefs in osdep_service.h

2021-03-12 Thread Marco Cesati
This commit fixes the following checkpatch.pl warnings: WARNING: do not add new typedefs #83: FILE: include/osdep_service.h:83: +typedef enum mstat_status { Signed-off-by: Marco Cesati --- drivers/staging/rtl8723bs/include/osdep_service.h | 4 ++-- 1 file changed, 2 insertions(+), 2

[PATCH 18/33] staging: rtl8723bs: remove typedefs in rtw_security.h

2021-03-12 Thread Marco Cesati
This commit fixes the following checkpatch.pl warning: WARNING: do not add new typedefs #87: FILE: include/rtw_security.h:87: +typedef struct _RT_PMKID_LIST { Signed-off-by: Marco Cesati --- drivers/staging/rtl8723bs/include/rtw_security.h | 6 +++--- drivers/staging/rtl8723bs/os_d

[PATCH 20/33] staging: rtl8723bs: remove typedefs in rtl8723b_xmit.h

2021-03-12 Thread Marco Cesati
This commit fixes the following checkpatch.pl warning: WARNING: do not add new typedefs #62: FILE: include/rtl8723b_xmit.h:62: +typedef struct txdesc_8723b { Signed-off-by: Marco Cesati --- drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c | 8 drivers/staging/rtl8723bs/inc

[PATCH 19/33] staging: rtl8723bs: remove typedefs in hal_com_h2c.h

2021-03-12 Thread Marco Cesati
This commit fixes the following checkpatch.pl warning: WARNING: do not add new typedefs #251: FILE: include/hal_com_h2c.h:251: +typedef struct _RSVDPAGE_LOC { Signed-off-by: Marco Cesati --- drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c | 20 +-- .../staging/rtl8723b

[PATCH 21/33] staging: rtl8723bs: remove typedefs in HalVerDef.h

2021-03-12 Thread Marco Cesati
This commit fixes the following checkpatch.pl warnings: WARNING: do not add new typedefs #11: FILE: include/HalVerDef.h:11: +typedef enum tag_HAL_IC_Type_Definition { WARNING: do not add new typedefs #25: FILE: include/HalVerDef.h:25: +typedef enum tag_HAL_CHIP_Type_Defini

[PATCH 22/33] staging: rtl8723bs: remove typedefs in rtl8723b_hal.h

2021-03-12 Thread Marco Cesati
This commit fixes the following checkpatch.pl warnings: WARNING: do not add new typedefs #173: FILE: include/rtl8723b_hal.h:173: +typedef enum _C2H_EVT { WARNING: do not add new typedefs #189: FILE: include/rtl8723b_hal.h:189: +typedef struct _C2H_EVT_HDR { WARNING: d

[PATCH 23/33] staging: rtl8723bs: remove typedefs in rtw_mlme_ext.h

2021-03-12 Thread Marco Cesati
This commit fixes the following checkpatch.pl warnings: WARNING: do not add new typedefs #118: FILE: include/rtw_mlme_ext.h:118: +typedef enum _RT_CHANNEL_DOMAIN { WARNING: do not add new typedefs #186: FILE: include/rtw_mlme_ext.h:186: +typedef enum _RT_CHANNEL_DOMAIN_2G

[PATCH 24/33] staging: rtl8723bs: remove typedefs in HalPwrSeqCmd.h

2021-03-12 Thread Marco Cesati
This commit fixes the following checkpatch.pl warnings: WARNING: do not add new typedefs #85: FILE: include/HalPwrSeqCmd.h:85: +typedef enum _PWRSEQ_CMD_DELAY_UNIT_ { WARNING: do not add new typedefs #90: FILE: include/HalPwrSeqCmd.h:90: +typedef struct _WL_PWR_CFG_ { Sig

[PATCH 26/33] staging: rtl8723bs: remove typedefs in ieee80211.h

2021-03-12 Thread Marco Cesati
This commit fixes the following checkpatch.pl warnings: WARNING: do not add new typedefs #128: FILE: include/ieee80211.h:128: +typedef enum _RATEID_IDX_ { WARNING: do not add new typedefs #142: FILE: include/ieee80211.h:142: +typedef enum _RATR_TABLE_MODE { WARNING: d

[PATCH 25/33] staging: rtl8723bs: remove typedefs in sta_info.h

2021-03-12 Thread Marco Cesati
This commit fixes the following checkpatch.pl warning: WARNING: do not add new typedefs #34: FILE: include/sta_info.h:34: +typedef struct _RSSI_STA { Signed-off-by: Marco Cesati --- drivers/staging/rtl8723bs/include/sta_info.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions

[PATCH 29/33] staging: rtl8723bs: remove typedefs in rtw_efuse.h

2021-03-12 Thread Marco Cesati
This commit fixes the following checkpatch.pl warnings: WARNING: do not add new typedefs #60: FILE: include/rtw_efuse.h:60: +typedef struct PG_PKT_STRUCT_A { WARNING: do not add new typedefs #68: FILE: include/rtw_efuse.h:68: +typedef struct _EFUSE_HAL { Signed-off-by: Ma

[PATCH 27/33] staging: rtl8723bs: remove typedefs in basic_types.h

2021-03-12 Thread Marco Cesati
This commit fixes the following checkpatch.pl warning: WARNING: do not add new typedefs #16: FILE: include/basic_types.h:16: +typedefsigned int sint; Signed-off-by: Marco Cesati --- drivers/staging/rtl8723bs/core/rtw_ap.c | 2 +- .../staging/rtl8723bs/core/rtw_ieee80211.c

[PATCH 28/33] staging: rtl8723bs: remove typedefs in osdep_service_linux.h

2021-03-12 Thread Marco Cesati
This commit fixes the following checkpatch.pl warnings: WARNING: do not add new typedefs #43: FILE: include/osdep_service_linux.h:43: + typedef spinlock_t _lock; WARNING: do not add new typedefs #44: FILE: include/osdep_service_linux.h:44: + typedef struct mutex

[PATCH 31/33] staging: rtl8723bs: remove typedefs in odm_DIG.h

2021-03-12 Thread Marco Cesati
This commit fixes the following checkpatch.pl warnings: WARNING: do not add new typedefs #11: FILE: hal/odm_DIG.h:11: +typedef struct _Dynamic_Initial_Gain_Threshold_ { WARNING: do not add new typedefs #62: FILE: hal/odm_DIG.h:62: +typedef struct false_ALARM_STATISTICS {

[PATCH 32/33] staging: rtl8723bs: remove typedefs in hal_btcoex.c

2021-03-12 Thread Marco Cesati
This commit fixes the following checkpatch.pl warning: WARNING: do not add new typedefs #23: FILE: hal/hal_btcoex.c:23: +typedef struct _btcoexdbginfo { Signed-off-by: Marco Cesati --- drivers/staging/rtl8723bs/hal/hal_btcoex.c | 14 +++--- 1 file changed, 7 insertions(+), 7

[PATCH 30/33] staging: rtl8723bs: remove typedefs in hal_btcoex.h

2021-03-12 Thread Marco Cesati
This commit fixes the following checkpatch.pl warning: WARNING: do not add new typedefs #14: FILE: include/hal_btcoex.h:14: +typedef struct _BT_COEXIST { Signed-off-by: Marco Cesati --- drivers/staging/rtl8723bs/include/hal_btcoex.h | 4 ++-- drivers/staging/rtl8723bs/include/hal_da

[PATCH 33/33] staging: rtl8723bs: remove typedefs in odm_DynamicBBPowerSaving.h

2021-03-12 Thread Marco Cesati
This commit fixes the following checkpatch.pl warning: WARNING: do not add new typedefs #11: FILE: hal/odm_DynamicBBPowerSaving.h:11: +typedef struct _Dynamic_Power_Saving_ { Signed-off-by: Marco Cesati --- drivers/staging/rtl8723bs/hal/odm.h | 2 +- drivers/sta

Re: [PATCH] staging: rtl8723bs: add initial value

2021-03-12 Thread Dan Carpenter
On Thu, Mar 11, 2021 at 02:38:38PM +0800, Hao Peng wrote: > Add initial value for some uninitialized variable and array. > None of these are ever used uninitialized. It's weird that you would even think that. > if (pmlmeext->active_keep_alive_check) { > -

[PATCH] staging: rtl8723bs: put quoted string in a single line

2021-03-12 Thread Fabio Aiuto
fix the following checkpatch issues: WARNING: quoted string split across lines + DBG_871X("HT: STA %pM HT Capabilities " + "Info: 0x%04x\n", MAC_ARG(psta->hwaddr), ht_capab); WARNING: quoted string split across lines + DBG_871X("%s STA

[PATCH] staging: wimax: i2400m: Mundane typos fix in the file tx.c

2021-03-12 Thread Bhaskar Chowdhury
s/exahusted/exhausted/ s/caleed/called/ Signed-off-by: Bhaskar Chowdhury --- drivers/staging/wimax/i2400m/tx.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/wimax/i2400m/tx.c b/drivers/staging/wimax/i2400m/tx.c index e9436212fe54..2d15de653951 100644

[PATCH v8 01/11] firmware: raspberrypi: Keep count of all consumers

2021-03-12 Thread Nicolas Saenz Julienne
When unbinding the firmware device we need to make sure it has no consumers left. Otherwise we'd leave them with a firmware handle pointing at freed memory. Keep a reference count of all consumers and introduce rpi_firmware_put() which will permit automatically decrease the reference count upon un

[PATCH v8 00/11] Raspberry Pi PoE HAT fan support

2021-03-12 Thread Nicolas Saenz Julienne
The aim of this series is to add support to the fan found on RPi's PoE HAT. Some commentary on the design can be found below. But the important part to the people CC'd here not involved with PWM is that, in order to achieve this properly, we also have to fix the firmware interface the driver uses t

[PATCH v8 02/11] firmware: raspberrypi: Introduce devm_rpi_firmware_get()

2021-03-12 Thread Nicolas Saenz Julienne
It'll simplify the firmware handling for most consumers. Suggested-by: Bartosz Golaszewski Signed-off-by: Nicolas Saenz Julienne Reviewed-by: Florian Fainelli Reviewed-by: Bartosz Golaszewski --- Changes since v4: - Rearrange function calls for clarity, same functionality Changes since v2:

[PATCH v8 03/11] clk: bcm: rpi: Release firmware handle on unbind

2021-03-12 Thread Nicolas Saenz Julienne
Use devm_rpi_firmware_get() so as to make sure we release RPi's firmware interface when unbinding the device. Signed-off-by: Nicolas Saenz Julienne Reviewed-by: Florian Fainelli Acked-by: Stephen Boyd drivers/clk/bcm/clk-raspberrypi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---

[PATCH v8 04/11] gpio: raspberrypi-exp: Release firmware handle on unbind

2021-03-12 Thread Nicolas Saenz Julienne
Use devm_rpi_firmware_get() so as to make sure we release RPi's firmware interface when unbinding the device. Signed-off-by: Nicolas Saenz Julienne Reviewed-by: Florian Fainelli Acked-by: Bartosz Golaszewski --- drivers/gpio/gpio-raspberrypi-exp.c | 2 +- 1 file changed, 1 insertion(+), 1 dele

[PATCH v8 05/11] reset: raspberrypi: Release firmware handle on unbind

2021-03-12 Thread Nicolas Saenz Julienne
Use devm_rpi_firmware_get() so as to make sure we release RPi's firmware interface when unbinding the device. Signed-off-by: Nicolas Saenz Julienne Reviewed-by: Florian Fainelli --- drivers/reset/reset-raspberrypi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/res

[PATCH v8 06/11] soc: bcm: raspberrypi-power: Release firmware handle on unbind

2021-03-12 Thread Nicolas Saenz Julienne
Use devm_rpi_firmware_get() so as to make sure we release RPi's firmware interface when unbinding the device. Signed-off-by: Nicolas Saenz Julienne Reviewed-by: Florian Fainelli --- drivers/soc/bcm/raspberrypi-power.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/s

[PATCH v8 07/11] staging: vchiq: Release firmware handle on unbind

2021-03-12 Thread Nicolas Saenz Julienne
Use devm_rpi_firmware_get() so as to make sure we release RPi's firmware interface when unbinding the device. Signed-off-by: Nicolas Saenz Julienne Reviewed-by: Florian Fainelli Reviewed-by: Greg Kroah-Hartman --- drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c | 2 +- 1 file cha

[PATCH v8 08/11] input: raspberrypi-ts: Release firmware handle when not needed

2021-03-12 Thread Nicolas Saenz Julienne
There is no use for the firmware interface after getting the touch buffer address, so release it. Signed-off-by: Nicolas Saenz Julienne Acked-by: Dmitry Torokhov Reviewed-by: Florian Fainelli --- Changes since v5: - Correct commit message Changes since v3: - Release firmware handle in probe

[PATCH v8 10/11] DO NOT MERGE: ARM: dts: Add RPi's official PoE hat support

2021-03-12 Thread Nicolas Saenz Julienne
This is an example on how to enable the fan on top of RPi's official PoE hat. Signed-off-by: Nicolas Saenz Julienne --- arch/arm/boot/dts/bcm2711-rpi-4-b.dts | 54 +++ 1 file changed, 54 insertions(+) diff --git a/arch/arm/boot/dts/bcm2711-rpi-4-b.dts b/arch/arm/boot/dt

[PATCH v8 09/11] dt-bindings: pwm: Add binding for RPi firmware PWM bus

2021-03-12 Thread Nicolas Saenz Julienne
The PWM bus controlling the fan in RPi's official PoE hat can only be controlled by the board's co-processor. Signed-off-by: Nicolas Saenz Julienne Reviewed-by: Rob Herring --- Changes since v4: - Rename compatible string to be more explicit with the bus' limitations Changes since v3: - Fix e

[PATCH v8 11/11] pwm: Add Raspberry Pi Firmware based PWM bus

2021-03-12 Thread Nicolas Saenz Julienne
Adds support to control the PWM bus available in official Raspberry Pi PoE HAT. Only RPi's co-processor has access to it, so commands have to be sent through RPi's firmware mailbox interface. Signed-off-by: Nicolas Saenz Julienne --- Changes since v7: - Remove unwarranted RPI_PWM_DEF_DUTY_REG

[PATCH 0/3] staging: rtl8723bs: remove unused code blocks

2021-03-12 Thread Fabio Aiuto
This patch set removes unused code blocks as required in TODO file: find and remove code blocks guarded by never set CONFIG_FOO defines Fabio Aiuto (3): staging: rtl8723bs: remove unused code blocks staging: rtl8723bs: remove unused code blocks staging: rtl8723bs: remove unused code blo

[PATCH 1/3] staging: rtl8723bs: remove unused code blocks

2021-03-12 Thread Fabio Aiuto
Remove conditional code blocks checked by unused CONFIG_PNO_SUPPORT Cleaning required in TODO file: find and remove code blocks guarded by never set CONFIG_FOO defines Signed-off-by: Fabio Aiuto --- drivers/staging/rtl8723bs/core/rtw_pwrctrl.c | 18 -- .../staging/rtl8723bs/core/rtw_wlan_uti

[PATCH 2/3] staging: rtl8723bs: remove unused code blocks

2021-03-12 Thread Fabio Aiuto
remove conditional code blocks checked by unused CONFIG_WOWLAN cleaning required in TODO file: find and remove code blocks guarded by never set CONFIG_FOO defines Signed-off-by: Fabio Aiuto --- drivers/staging/rtl8723bs/core/rtw_mlme.c | 3 - drivers/staging/rtl8723bs/core/rtw_pwrctrl.c

[PATCH 3/3] staging: rtl8723bs: remove unused code blocks

2021-03-12 Thread Fabio Aiuto
remove conditional code blocks checked by unused CONFIG_TCP_CSUM_OFFLOAD_RX cleaning required in TODO file: find and remove code blocks guarded by never set CONFIG_FOO defines Signed-off-by: Fabio Aiuto --- drivers/staging/rtl8723bs/include/rtw_recv.h | 5 - drivers/staging/rtl8723bs/os_d

Re: [PATCH 0/3] staging: rtl8723bs: remove unused code blocks

2021-03-12 Thread Greg KH
On Fri, Mar 12, 2021 at 04:49:40PM +0100, Fabio Aiuto wrote: > This patch set removes unused code blocks as required in > TODO file: > > find and remove code blocks guarded by never set CONFIG_FOO defines > > Fabio Aiuto (3): > staging: rtl8723bs: remove unused code blocks > staging: rtl8

Re: [PATCHSET] remove 153 useless typedefs in staging/rtl8723bs

2021-03-12 Thread Greg Kroah-Hartman
On Fri, Mar 12, 2021 at 09:26:05AM +0100, Marco Cesati wrote: > This set of patches remove 153 useless typedef instructions in the > staging/rtl8723bs source code, as identified by the checkpatch.pl > script. Every patch is purely syntactical: it does not change the > generated machine code. Furthe

Re: [PATCH] Staging: rtl8723bs/core: fix coding style issue

2021-03-12 Thread Greg KH
On Wed, Mar 10, 2021 at 07:35:03PM +0800, Longji Guo wrote: > Move operators and spaces before tabs to fix coding style issues. This change doesn't have anything to do with tabs. confused, greg k-h ___ devel mailing list de...@linuxdriverproject.org ht

Re: [PATCH] staging: wimax: i2400m: Mundane typos fix in the file tx.c

2021-03-12 Thread Randy Dunlap
On 3/12/21 3:42 AM, Bhaskar Chowdhury wrote: > > s/exahusted/exhausted/ > s/caleed/called/ > > Signed-off-by: Bhaskar Chowdhury Acked-by: Randy Dunlap > --- > drivers/staging/wimax/i2400m/tx.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/drivers/staging/wimax

[PATCH v2 0/4] staging: rtl8723bs: remove unused code blocks

2021-03-12 Thread Fabio Aiuto
This patch set removes unused code blocks as required in TODO file: find and remove code blocks guarded by never set CONFIG_FOO defines Changes in v2: - modified sunject lines to make them unique - added a patch previously excluded (removal of CONFIG_PNO_SET_DEBU

[PATCH v2 1/4] staging: rtl8723bs: remove unused code blocks conditioned by never set CONFIG_PNO_SET_DEBUG

2021-03-12 Thread Fabio Aiuto
Remove conditional code block checked by unused CONFIG_PNO_SET_DEBUG Cleaning required in TODO file: find and remove code blocks guarded by never set CONFIG_FOO defines Signed-off-by: Fabio Aiuto --- drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c | 48 drivers/staging/rtl872

[PATCH v2 2/4] staging: rtl8723bs: remove unused code blocks conditioned by never set CONFIG_PNO_SUPPORT

2021-03-12 Thread Fabio Aiuto
Remove conditional code blocks checked by unused CONFIG_PNO_SUPPORT Cleaning required in TODO file: find and remove code blocks guarded by never set CONFIG_FOO defines Signed-off-by: Fabio Aiuto --- drivers/staging/rtl8723bs/core/rtw_pwrctrl.c | 18 -- .../staging/rtl8723bs/core/rtw_wlan_uti

[PATCH v2 3/4] staging: rtl8723bs: remove unused code blocks conditioned by never set CONFIG_WOWLAN

2021-03-12 Thread Fabio Aiuto
remove conditional code blocks checked by unused CONFIG_WOWLAN cleaning required in TODO file: find and remove code blocks guarded by never set CONFIG_FOO defines Signed-off-by: Fabio Aiuto --- drivers/staging/rtl8723bs/core/rtw_mlme.c | 3 - drivers/staging/rtl8723bs/core/rtw_pwrctrl.c

[PATCH v2 4/4] staging: rtl8723bs: remove unused code blocks conditioned by never set CONFIG_TCP_CSUM_OFFLOAD_RX

2021-03-12 Thread Fabio Aiuto
remove conditional code blocks checked by unused CONFIG_TCP_CSUM_OFFLOAD_RX cleaning required in TODO file: find and remove code blocks guarded by never set CONFIG_FOO defines Signed-off-by: Fabio Aiuto --- drivers/staging/rtl8723bs/include/rtw_recv.h | 5 - drivers/staging/rtl8723bs/os_d

Re: [PATCH v8 11/11] pwm: Add Raspberry Pi Firmware based PWM bus

2021-03-12 Thread Uwe Kleine-König
Hello Nicolas, On Fri, Mar 12, 2021 at 01:24:54PM +0100, Nicolas Saenz Julienne wrote: > Adds support to control the PWM bus available in official Raspberry Pi > PoE HAT. Only RPi's co-processor has access to it, so commands have to > be sent through RPi's firmware mailbox interface. > > Signed-o

Re: [PATCH 00/10] spi: finalize 'delay_usecs' removal/transition

2021-03-12 Thread Mark Brown
On Mon, 8 Mar 2021 16:54:52 +0200, Alexandru Ardelean wrote: > A while back I started the introduction of the 'spi_delay' data type: > > https://lore.kernel.org/linux-spi/20190926105147.7839-1-alexandru.ardel...@analog.com/ > > Users of the 'delay_usecs' were removed from drivers. > > Now it's

[staging:staging-testing] BUILD SUCCESS 55c9731662b8bf0bc48aabdbf9f54d779bc072a1

2021-03-12 Thread kernel test robot
allnoconfig i386 randconfig-a001-20210312 i386 randconfig-a005-20210312 i386 randconfig-a002-20210312 i386 randconfig-a003-20210312 i386 randconfig-a004-20210312 i386 randconfig-a006