[PATCH v5 2/2] staging: rtl8192u: remove unnecessary return in r8190_rtl8256.c

2021-02-19 Thread Du Cheng
remove the unnecessary return at the end of function phy_set_rf8256_ofdm_tx_power(), reported by scripts/checkpatch.pl. Signed-off-by: Du Cheng --- drivers/staging/rtl8192u/r8190_rtl8256.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/staging/rtl8192u/r8190_rtl8256.c b/drivers

[PATCH v5 1/2] staging: rtl8192u: fix RT_TRACE() in r8190_rtl8256.c

2021-02-19 Thread Du Cheng
use MACRO __func__ instead of the literal names for RT_TRACE() in phy_set_rf8256_bandwidth() and phy_rf8256_config_para_file(), as reported by scripts/checkpatch.pl. Signed-off-by: Du Cheng --- changes v5: * fixed subject lines to be distinct and more specific changes v4: * merge two similar

[PATCH v4 2/2] staging: rtl8192u: fixed coding style of r8190_rtl8256.c

2021-02-19 Thread Du Cheng
remove the unnecessary return at the end of function phy_set_rf8256_ofdm_tx_power(), reported by scripts/checkpatch.pl. Signed-off-by: Du Cheng --- drivers/staging/rtl8192u/r8190_rtl8256.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/staging/rtl8192u/r8190_rtl8256.c b/drivers

[PATCH v4 1/2] staging: rtl8192u: fixed coding style of r8190_rtl8256.c

2021-02-19 Thread Du Cheng
use MACRO __func__ instead of the literal names for RT_TRACE() in phy_set_rf8256_bandwidth() and phy_rf8256_config_para_file(), as reported by scripts/checkpatch.pl. Signed-off-by: Du Cheng --- changes v4: * merge two similar patches into 1 changes v3: * break up changes into 3 patches changes

[PATCH v3 1/3] staging: rtl8192u: fixed coding style of r8190_rtl8256.c

2021-02-19 Thread Du Cheng
use MACRO __func__ instead of "phy_set_rf8256_bandwidth" for RT_TRACE() inside phy_set_rf8256_bandwidth(), reported by scripts/checkpatch.pl. Signed-off-by: Du Cheng --- changes v3: * break up changes into 3 patches changes v2: * improve description changes v1: * fix coding style

[PATCH v3 3/3] staging: rtl8192u: fixed coding style of r8190_rtl8256.c

2021-02-19 Thread Du Cheng
remove the unnecessary return at the end of function phy_set_rf8256_ofdm_tx_power(), reported by scripts/checkpatch.pl. Signed-off-by: Du Cheng --- drivers/staging/rtl8192u/r8190_rtl8256.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/staging/rtl8192u/r8190_rtl8256.c b/drivers

[PATCH v3 2/3] staging: rtl8192u: fixed coding style of r8190_rtl8256.c

2021-02-19 Thread Du Cheng
use MACRO __func__ instead of "phy_rf8256_config_para_file" for RT_TRACE() inside phy_rf8256_config_para_file(), reported by scripts/checkpatch.pl. Signed-off-by: Du Cheng --- drivers/staging/rtl8192u/r8190_rtl8256.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

Re: [PATCH v2] staging: greybus: fix coding style of greybus/loopback.c

2021-02-16 Thread Du Cheng
On Tue, Feb 16, 2021 at 12:28:01PM +0100, Greg Kroah-Hartman wrote: > On Tue, Feb 16, 2021 at 07:13:53PM +0800, Du Cheng wrote: > > fix macro gb_loopback_stats_attrs by wrapping its multi-line definition > > inside a do {} while(0) block, in compliance to scripts/checkpatch.pl. >

[PATCH v2] staging: greybus: fix coding style of greybus/loopback.c

2021-02-16 Thread Du Cheng
fix macro gb_loopback_stats_attrs by wrapping its multi-line definition inside a do {} while(0) block, in compliance to scripts/checkpatch.pl. Signed-off-by: Du Cheng --- changes v2: * relign backslashes with tabstop=8 * improve description and subject changes v1: * fix coding style of the

[PATCH v2] staging: rtl8192u: fix coding style in r8190_rtl8256.c

2021-02-16 Thread Du Cheng
: Du Cheng --- changes v2: * improve description and subject changes v1: * fix coding style drivers/staging/rtl8192u/r8190_rtl8256.c | 7 +++ 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/drivers/staging/rtl8192u/r8190_rtl8256.c b/drivers/staging/rtl8192u/r8190_rtl8256.c index

[PATCH v5] staging: qlge: fix comment style in qlge_main.c

2021-02-16 Thread Du Cheng
fix the closing of a one-line block comment, marked incorrect by scripts/checkpatch.pl. Signed-off-by: Du Cheng --- changes v5: - improve description changes v4: - move "changes" after triple-tiret changes v3: - add SUBSYSTEM in subject line - add explanation to past version of

[PATCH v4] staging: qlge: fix comment style in qlge_main.c

2021-02-16 Thread Du Cheng
align * in block comments on each line This series of patches is for Task 10 of the Eudyptula Challenge Signed-off-by: Du Cheng --- changes v4: - move "changes" after triple-tiret changes v3: - add SUBSYSTEM in subject line - add explanation to past version of this patch changes

[PATCH v3] staging: fix coding style in driver/staging/qlge/qlge_main.c

2021-02-16 Thread Du Cheng
align * in block comments on each line changes v3: - add SUBSYSTEM in subject line - add explanation to past version of this patch changes v2: - move closing of comment to the same line changes v1: - align * in block comments Signed-off-by: Du Cheng --- drivers/staging/qlge/qlge_main.c | 3

[PATCH] fix coding style of drivers/staging/rtl8192u/r8190_rtl8256.c

2021-02-15 Thread Du Cheng
use __func__ macro instead of literal function name in RT_TRACE() in * phy_set_rf8256_bandwidth() * phy_rf8256_config_para_file() remove unnecessary return at the end of phy_set_rf8256_ofdm_tx_power() Signed-off-by: Du Cheng --- drivers/staging/rtl8192u/r8190_rtl8256.c | 7 +++ 1 file