[driver-core:debugfs_remove_return_value] BUILD SUCCESS 636a3ba6ba05515c6a8627ab7d0009af118d0d51

2021-02-19 Thread kernel test robot
allmodconfig powerpc allyesconfig powerpc allmodconfig powerpc allnoconfig i386 randconfig-a005-20210219 i386 randconfig-a003-20210219 i386 randconfig-a002-20210219

[driver-core:driver-core-testing] BUILD SUCCESS 3e4c982f1ce75faf5314477b8da296d2d00919df

2021-02-19 Thread kernel test robot
ig powerpc allnoconfig i386 randconfig-a005-20210219 i386 randconfig-a003-20210219 i386 randconfig-a002-20210219 i386 randconfig-a004-20210219 i386 randconfig-a001-20210219 i386 randconfig-a006-20210

Re: [PATCH] Staging: rtl8192e: fix kconfig dependency on CRYPTO

2021-02-19 Thread Greg KH
On Fri, Feb 19, 2021 at 06:14:57PM -0500, Julian Braha wrote: > commit 1a3f343027d7f5a6475a019aa20be89795b8c8e0 > Author: Julian Braha > Date: Fri Feb 19 17:02:24 2021 -0500 > > staging: rtl8192e: fix kconfig dependency on CRYPTO > > When RTLLIB_CRYPTO_TKIP is enabled and CRYPTO

Low-Cost Loans for SMEs & Investment Funding.

2021-02-19 Thread Nicholas Toms
Spam detection software, running on the system "smtp1.osuosl.org", has identified this incoming email as possible spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details.

Low-Cost Loans for SMEs & Investment Funding.

2021-02-19 Thread Nicholas Toms
Spam detection software, running on the system "smtp3.osuosl.org", has identified this incoming email as possible spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details.

Low-Cost Loans for SMEs & Investment Funding.

2021-02-19 Thread Nicholas Toms
My name is Nicholas Toms, an investment portfolio manage. We offer the right loan Investment funding with low interest to finance your business or project ranging from US$1M to US$2BIllion. Kindly contact me for more details as I am open to questions. Sincerely, Nicholas Toms

[PATCH] Staging: rtl8192e: fix kconfig dependency on CRYPTO

2021-02-19 Thread Julian Braha
commit 1a3f343027d7f5a6475a019aa20be89795b8c8e0 Author: Julian Braha Date: Fri Feb 19 17:02:24 2021 -0500 staging: rtl8192e: fix kconfig dependency on CRYPTO When RTLLIB_CRYPTO_TKIP is enabled and CRYPTO is disabled, Kbuild gives the following warning: WARNING: unmet

[PATCH v3] staging: rtl8723bs: fix code style comparison warning

2021-02-19 Thread Kurt Manucredo
checkpatch gives the following WARNING: WARNING: Comparisons should place the constant on the right side of the test this patch fixes the coding style warning. Signed-off-by: Kurt Manucredo --- changes since previous version: - put version chatter below the --- cut off line. thank you very

[PATCH] staging: gasket: removed unnecessary debug message to fix coding style warning

2021-02-19 Thread Ashish Vara
From: Ashish Vara removed unnecessary out of memory message to fix coding style warning. Signed-off-by: Ashish Vara --- drivers/staging/gasket/gasket_page_table.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/staging/gasket/gasket_page_table.c

[staging:staging-testing] BUILD SUCCESS 5fdd46f1d75e5d6f740faf26aa798fbd08a79029

2021-02-19 Thread kernel test robot
i386 randconfig-a005-20210219 i386 randconfig-a003-20210219 i386 randconfig-a002-20210219 i386 randconfig-a004-20210219 i386 randconfig-a001-20210219 i386 randconfig-a006-20210219 x86_64

[PATCH 3/5] staging: rtl8192e: rename Reserved to reserved in delba_param_set union

2021-02-19 Thread William Durand
This change uses lowercase for a field name to be more consistent with the rest of the union. Signed-off-by: William Durand --- drivers/staging/rtl8192e/rtl819x_BA.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/rtl8192e/rtl819x_BA.h

[PATCH 2/5] staging: rtl8192e: rename shortData to short_data in delba_param_set union

2021-02-19 Thread William Durand
Fixes a checkpatch CHECK message. Signed-off-by: William Durand --- drivers/staging/rtl8192e/rtl819x_BA.h | 2 +- drivers/staging/rtl8192e/rtl819x_BAProc.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/rtl8192e/rtl819x_BA.h

[PATCH 5/5] staging: rtl8192e: rename TID to tid in delba_param_set union

2021-02-19 Thread William Durand
This change uses lowercase for a field name to be more consistent with the rest of the union. Signed-off-by: William Durand --- drivers/staging/rtl8192e/rtl819x_BA.h | 2 +- drivers/staging/rtl8192e/rtl819x_BAProc.c | 8 2 files changed, 5 insertions(+), 5 deletions(-) diff --git

[PATCH 4/5] staging: rtl8192e: rename Initiator to initiator in delba_param_set union

2021-02-19 Thread William Durand
Fixes a checkpatch CHECK message. Signed-off-by: William Durand --- drivers/staging/rtl8192e/rtl819x_BA.h | 2 +- drivers/staging/rtl8192e/rtl819x_BAProc.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/staging/rtl8192e/rtl819x_BA.h

[PATCH 1/5] staging: rtl8192e: rename charData to char_data in delba_param_set union

2021-02-19 Thread William Durand
Fixes a checkpatch CHECK message. Signed-off-by: William Durand --- drivers/staging/rtl8192e/rtl819x_BA.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/rtl8192e/rtl819x_BA.h b/drivers/staging/rtl8192e/rtl819x_BA.h index 36280c62fa56..de41d2182ff5 100644

[PATCH 0/5] staging: rtl8192e: delba_param_set union cleanups

2021-02-19 Thread William Durand
This patchset fixes the checkpatch issues related to the `delba_param_set` union defined in `rtl8192e/rtl819x_BA.h` (avoid camelcase). William Durand (5): staging: rtl8192e: rename charData to char_data in delba_param_set union staging: rtl8192e: rename shortData to short_data in

[PATCH] staging: wimax: Fix block comment style issue in stack.c

2021-02-19 Thread Amrit Khera
This change fixes a checkpatch warning for "Block comments use * on subsequent lines". Signed-off-by: Amrit Khera --- drivers/staging/wimax/stack.c | 11 ++- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/drivers/staging/wimax/stack.c b/drivers/staging/wimax/stack.c index

[PATCH v2] staging: rtl8723bs: fix code style comparison warning

2021-02-19 Thread Kurt Manucredo
changes since previous version: - change Subject line - change commit message - change commit message position to above signed-off-by checkpatch gives the following WARNING: WARNING: Comparisons should place the constant on the right side of the test this patch fixes the coding style warning.

Re: [PATCH v2] staging: rtl8723bs: fix code style comparison warning

2021-02-19 Thread Greg KH
On Fri, Feb 19, 2021 at 02:50:53PM +, Kurt Manucredo wrote: > > > changes since previous version: > - change Subject line > - change commit message > - change commit message position to above signed-off-by This all goes below the --- line please. Please make a v3. thanks, greg k-h

[PATCH] staging: gasket Fix comparison with Null

2021-02-19 Thread mayanksuman
From: Mayank Suman Comparison with NULL is redundant as pointer will evaluate to true if is non-NULL. The change was suggested by checkpatch.pl. Signed-off-by: Mayank Suman --- drivers/staging/gasket/gasket_sysfs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

Re: [PATCH v2] staging: rtl8723bs: fix code style comparison warning

2021-02-19 Thread Dan Carpenter
On Fri, Feb 19, 2021 at 02:50:53PM +, Kurt Manucredo wrote: > > > changes since previous version: > - change Subject line > - change commit message > - change commit message position to above signed-off-by > These comments need to go below the --- cut off line. > checkpatch gives the

[PATCH] staging: octeon: cleanup unnecessary parentheses in ethernet-spmi.c

2021-02-19 Thread Shreesh Adiga
checkpatch.pl reported issue of unnecessary parentheses for the expression. It has been removed to fix the report. Signed-off-by: Shreesh Adiga <16567adigashre...@gmail.com> --- drivers/staging/octeon/ethernet-spi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[PATCH v3 02/02] staging: kpc2000: code style: fix alignment issues

2021-02-19 Thread Nikolay Kyx
This patch fixes the following checkpatch.pl warning: WARNING: line length of 124 exceeds 100 columns in file kpc2000_i2c.c Signed-off-by: Nikolay Kyx --- Additionally some style warnings remain valid here and could be fixed by another patch. v2: Edited changelog, as suggested by Greg KH

[PATCH v3 01/02] staging: kpc2000: code style: fix alignment issues

2021-02-19 Thread Nikolay Kyx
This patch fixes the following checkpatch.pl check: CHECK: Alignment should match open parenthesis in files kpc2000_i2c.c kpc2000_spi.c Signed-off-by: Nikolay Kyx --- Additionally some style warnings remain valid here and could be fixed by another patch. v2: Edited changelog, as suggested by

[PATCH v3] staging: fwserial: match alignment with open parenthesis

2021-02-19 Thread Nikolay Kyx
This patch fixes the following checkpatch.pl check: CHECK: Alignment should match open parenthesis in file fwserial.c Signed-off-by: Nikolay Kyx --- Additionally some style warnings remain valid here and could be fixed by another patch. v2: Edited changelog, as suggested by Greg KH v3:

[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

[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] staging: greybus: Fix blank line style issue in sdio.c

2021-02-19 Thread Amrit Khera
This change fixes a checkpatch check for "Please don't use multiple blank lines". Signed-off-by: Amrit Khera --- drivers/staging/greybus/sdio.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/staging/greybus/sdio.c b/drivers/staging/greybus/sdio.c index 0939f4a4c963..37bf04c22dbc

[PATCH] staging: hikey9xx: Fix space tab style warnings

2021-02-19 Thread Lee Gibson
This patch fixes the checkpatch warnings such as: hi6421-spmi-pmic.c:51: WARNING: please, no space before tabs Signed-off-by: Lee Gibson --- drivers/staging/hikey9xx/hi6421-spmi-pmic.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git

Re: [PATCH v2] staging: android: Fix const keyword style issue in ashmem.c

2021-02-19 Thread Amrit Khera
On Fri, Feb 19, 2021 at 01:12:49PM +0100, Greg KH wrote: > On Fri, Feb 19, 2021 at 05:12:38PM +0530, Amrit Khera wrote: > > This change fixes a checkpatch warning for "struct file_operations > > should normally be const". > > > > Signed-off-by: Amrit Khera > > --- > > Changes in v2: > > -

Re: [PATCH v2] staging: fwserial: fix alignment of function parameters

2021-02-19 Thread Greg KH
On Fri, Feb 19, 2021 at 04:21:12PM +0530, Prakash Dubey wrote: > This patch fixes the following checkpatch.pl check: > > CHECK: Alignment should match open parenthesis > > Signed-off-by: Prakash Dubey > --- > drivers/staging/fwserial/fwserial.c | 4 ++-- > 1 file changed, 2 insertions(+), 2

Re: [PATCH] staging: vt6656: fixed a CamelCase coding style issue.

2021-02-19 Thread Selvakumar E
Hi Dan Carpenter Thanks for the feedback, I'll work on the suggestion and come back with a fix. Regards Selvakumar Elangovan On Fri, Feb 19, 2021 at 5:42 PM Dan Carpenter wrote: > > You're not asking the right questions. > > On Fri, Feb 19, 2021 at 03:28:35PM +0530, Selvakumar Elangovan wrote:

Re: [PATCH v2] staging: android: Fix const keyword style issue in ashmem.c

2021-02-19 Thread Greg KH
On Fri, Feb 19, 2021 at 05:12:38PM +0530, Amrit Khera wrote: > This change fixes a checkpatch warning for "struct file_operations > should normally be const". > > Signed-off-by: Amrit Khera > --- > Changes in v2: > - Wrapped the commit description > - Build tested If you tested it, what

Re: [PATCH] staging: fwserial: Fix alignment of function parameters

2021-02-19 Thread Prakash Dubey
On Fri, Feb 19, 2021 at 02:52:21PM +0300, Dan Carpenter wrote: > On Fri, Feb 19, 2021 at 11:39:27AM +0100, Greg KH wrote: > > On Fri, Feb 19, 2021 at 03:25:38PM +0530, 17UCS047_Prakash Dubey wrote: > > > I was unable to align it right below the opening parenthesis, just by > > > using > > > tabs.

Re: [PATCH] staging: vt6656: fixed a CamelCase coding style issue.

2021-02-19 Thread Dan Carpenter
You're not asking the right questions. On Fri, Feb 19, 2021 at 03:28:35PM +0530, Selvakumar Elangovan wrote: > This patch renames CamelCase macros uVar and uModulo into u_var and > u_module in device.h > Is "u_var" a good name? What does the "u_" even mean? > This issue was reported by

Re: [PATCH v2] staging: android: Fix const keyword style issue in ashmem.c

2021-02-19 Thread Dan Carpenter
On Fri, Feb 19, 2021 at 05:12:38PM +0530, Amrit Khera wrote: > This change fixes a checkpatch warning for "struct file_operations > should normally be const". > > Signed-off-by: Amrit Khera > --- > Changes in v2: > - Wrapped the commit description > - Build tested Heh. Nope.

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

2021-02-19 Thread Dan Carpenter
It's against the rules to send two patches with the same subject. Also both subjects are too vague. regards, dan carpenter ___ devel mailing list de...@linuxdriverproject.org http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel

[PATCH v2] staging: android: Fix const keyword style issue in ashmem.c

2021-02-19 Thread Amrit Khera
This change fixes a checkpatch warning for "struct file_operations should normally be const". Signed-off-by: Amrit Khera --- Changes in v2: - Wrapped the commit description - Build tested --- drivers/staging/android/ashmem.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[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

[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

Re: [PATCH] staging: fwserial: Fix alignment of function parameters

2021-02-19 Thread Dan Carpenter
On Fri, Feb 19, 2021 at 11:39:27AM +0100, Greg KH wrote: > On Fri, Feb 19, 2021 at 03:25:38PM +0530, 17UCS047_Prakash Dubey wrote: > > I was unable to align it right below the opening parenthesis, just by using > > tabs. And when I did that with spaces, the checkpatch yelled at me for > > using

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

2021-02-19 Thread Greg Kroah-Hartman
On Fri, Feb 19, 2021 at 07:07:54PM +0800, Du Cheng wrote: > 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 +- >

[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

[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

[PATCH v2] staging: fwserial: fix alignment of function parameters

2021-02-19 Thread Prakash Dubey
This patch fixes the following checkpatch.pl check: CHECK: Alignment should match open parenthesis Signed-off-by: Prakash Dubey --- drivers/staging/fwserial/fwserial.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/fwserial/fwserial.c

Re: [PATCH] staging: android: Fix const keyword style issue in ashmem.c

2021-02-19 Thread Greg KH
On Fri, Feb 19, 2021 at 03:43:39PM +0530, Amrit Khera wrote: > This change fixes a checkpatch warning for "struct file_operations should > normally be const". > > Signed-off-by: Amrit Khera > --- > drivers/staging/android/ashmem.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >

Re: [PATCH] staging: vt6656: fixed a CamelCase coding style issue.

2021-02-19 Thread Greg KH
On Fri, Feb 19, 2021 at 03:28:35PM +0530, Selvakumar Elangovan wrote: > This patch renames CamelCase macros uVar and uModulo into u_var and > u_module in device.h > > This issue was reported by checkpatch.pl > > Signed-off-by: Selvakumar Elangovan > --- > drivers/staging/vt6656/device.h | 8

Re: [PATCH] staging: fwserial: Fix alignment of function parameters

2021-02-19 Thread Greg KH
On Fri, Feb 19, 2021 at 03:25:38PM +0530, 17UCS047_Prakash Dubey wrote: > I was unable to align it right below the opening parenthesis, just by using > tabs. And when I did that with spaces, the checkpatch yelled at me for > using spaces. Any suggestions how to do this without using spaces? I am >

[PATCH] staging: hikey9xx: fix warning styling issues

2021-02-19 Thread Alaa Emad
Fix "WARNING: please, no space before tabs" styling issue in hi6421-spmi-pmic.c for lines 51,52,53 and 69. Signed-off-by: Alaa Emad --- drivers/staging/hikey9xx/hi6421-spmi-pmic.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git

[PATCH] staging: android: Fix const keyword style issue in ashmem.c

2021-02-19 Thread Amrit Khera
This change fixes a checkpatch warning for "struct file_operations should normally be const". Signed-off-by: Amrit Khera --- drivers/staging/android/ashmem.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/android/ashmem.c b/drivers/staging/android/ashmem.c

[PATCH 1/6] staging: rtl8192e: rename charData to char_data in ba_param_set union

2021-02-19 Thread William Durand
Fixes a checkpatch CHECK message. Signed-off-by: William Durand --- drivers/staging/rtl8192e/rtl819x_BA.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/rtl8192e/rtl819x_BA.h b/drivers/staging/rtl8192e/rtl819x_BA.h index b2a784fa051e..4fdff19bb4ae 100644

[PATCH 3/6] staging: rtl8192e: rename BAPolicy to ba_policy in ba_param_set union

2021-02-19 Thread William Durand
Fixes a checkpatch CHECK message. Signed-off-by: William Durand --- drivers/staging/rtl8192e/rtl819x_BA.h | 2 +- drivers/staging/rtl8192e/rtl819x_BAProc.c | 8 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/staging/rtl8192e/rtl819x_BA.h

[PATCH 5/6] staging: rtl8192e: rename AMSDU_Support to amsdu_support in ba_param_set union

2021-02-19 Thread William Durand
This change does not fix a checkpatch issue but it is more consistent with the rest of the union. Signed-off-by: William Durand --- drivers/staging/rtl8192e/rtl819x_BA.h | 2 +- drivers/staging/rtl8192e/rtl819x_BAProc.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git

[PATCH 2/6] staging: rtl8192e: rename shortData to short_data in ba_param_set union

2021-02-19 Thread William Durand
Fixes a checkpatch CHECK message. Signed-off-by: William Durand --- drivers/staging/rtl8192e/rtl819x_BA.h | 2 +- drivers/staging/rtl8192e/rtl819x_BAProc.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/staging/rtl8192e/rtl819x_BA.h

[PATCH 6/6] staging: rtl8192e: rename TID to tid in ba_param_set union

2021-02-19 Thread William Durand
This change uses lowercase for a field name to be more consistent with the rest of the union. Signed-off-by: William Durand --- drivers/staging/rtl8192e/rtl819x_BA.h | 2 +- drivers/staging/rtl8192e/rtl819x_BAProc.c | 9 - 2 files changed, 5 insertions(+), 6 deletions(-) diff --git

[PATCH 0/6] staging: rtl8192e: ba_param_set union cleanups

2021-02-19 Thread William Durand
This patchset fixes the checkpatch issues related to the `ba_param_set` union defined in `rtl8192e/rtl819x_BA.h` (avoid camelcase). William Durand (6): staging: rtl8192e: rename charData to char_data in ba_param_set union staging: rtl8192e: rename shortData to short_data in ba_param_set

[PATCH 4/6] staging: rtl8192e: rename BufferSize to buffer_size in ba_param_set union

2021-02-19 Thread William Durand
Fixes a checkpatch CHECK message. Signed-off-by: William Durand --- drivers/staging/rtl8192e/rtl819x_BA.h | 2 +- drivers/staging/rtl8192e/rtl819x_BAProc.c | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/staging/rtl8192e/rtl819x_BA.h

[PATCH] staging: sm750fb: added identifier names for function declarations

2021-02-19 Thread shivang upadhyay
checkpatch.pl complains about not having identifiers names in function declarations . This patch uses the same names as are used in source file sm750_accel.c , but with snake case. Signed-off-by: shivang upadhyay --- drivers/staging/sm750fb/sm750.h | 30 ++ 1 file

[PATCH] staging: vt6656: fixed a CamelCase coding style issue.

2021-02-19 Thread Selvakumar Elangovan
This patch renames CamelCase macros uVar and uModulo into u_var and u_module in device.h This issue was reported by checkpatch.pl Signed-off-by: Selvakumar Elangovan --- drivers/staging/vt6656/device.h | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git

RE: [PATCH] staging: comedi: cast to (unsigned int *)

2021-02-19 Thread David Laight
From: Dan Carpenter > Sent: 19 February 2021 09:26 > > On Fri, Feb 19, 2021 at 09:03:59AM +, David Laight wrote: > > > It's kind of moot anyway because the patch is outdated. But the reason > > > for the ___force is that the same `struct comedi_cmd` is used in both > > > user and kernel

Re: [PATCH] staging: comedi: cast to (unsigned int *)

2021-02-19 Thread Ian Abbott
On 19/02/2021 09:03, David Laight wrote: >> It's kind of moot anyway because the patch is outdated. But the reason >> for the ___force is that the same `struct comedi_cmd` is used in both >> user and kernel contexts. In user contexts, the `chanlist` member >> points to user memory and in kernel

Re: [PATCH v2] staging: fwserial: match alignment with open parenthesis

2021-02-19 Thread Dan Carpenter
On Fri, Feb 19, 2021 at 12:03:18PM +0300, Nikolay Kyx wrote: > This patch fixes the following checkpatch.pl check: > > CHECK: Alignment should match open parenthesis > > in file fwserial.c > > Additionally some style warnings remain valid here and could be fixed by > another patch. > Don't

Re: [PATCH] staging: comedi: cast to (unsigned int *)

2021-02-19 Thread Dan Carpenter
On Fri, Feb 19, 2021 at 09:03:59AM +, David Laight wrote: > > It's kind of moot anyway because the patch is outdated. But the reason > > for the ___force is that the same `struct comedi_cmd` is used in both > > user and kernel contexts. In user contexts, the `chanlist` member > > points to

[PATCH v2] staging: fwserial: match alignment with open parenthesis

2021-02-19 Thread Nikolay Kyx
This patch fixes the following checkpatch.pl check: CHECK: Alignment should match open parenthesis in file fwserial.c Additionally some style warnings remain valid here and could be fixed by another patch. Signed-off-by: Nikolay Kyx --- v2: Edited changelog, as suggested by Greg KH

RE: [PATCH] staging: comedi: cast to (unsigned int *)

2021-02-19 Thread David Laight
> It's kind of moot anyway because the patch is outdated. But the reason > for the ___force is that the same `struct comedi_cmd` is used in both > user and kernel contexts. In user contexts, the `chanlist` member > points to user memory and in kernel contexts it points to kernel memory > (copied

Re: [PATCH v2] staging: kpc2000: code style: fix alignment issues

2021-02-19 Thread Greg KH
On Fri, Feb 19, 2021 at 11:04:51AM +0300, Nikolay Kyx wrote: > This patch fixes the following checkpatch.pl warnings: > > WARNING: line length of 124 exceeds 100 columns > CHECK: Alignment should match open parenthesis That's two different things, please make this two different patches. thanks,

[PATCH v2] staging: kpc2000: code style: fix alignment issues

2021-02-19 Thread Nikolay Kyx
This patch fixes the following checkpatch.pl warnings: WARNING: line length of 124 exceeds 100 columns CHECK: Alignment should match open parenthesis in files kpc2000_i2c.c kpc2000_spi.c Additionally some style warnings remain valid here and could be fixed by another patch. Signed-off-by:

Re: [PATCH] staging: fwserial: match alignment with open parenthesis

2021-02-19 Thread Greg KH
On Thu, Feb 18, 2021 at 10:43:33PM +0300, Nikolay Kyx wrote: > fwserial.c: Why is this here? > fix CHECK: Alignment should match open parenthesis What does this mean? Please read the section entitled "The canonical patch format" in the kernel file, Documentation/SubmittingPatches for what is

Re: [PATCH] staging: fwserial: Fix alignment of function parameters

2021-02-19 Thread Greg KH
On Thu, Feb 18, 2021 at 03:58:51PM +0530, Prakash Dubey wrote: > This patch fixes the following checkpatch.pl check: > > CHECK: Alignment should match open parenthesis > > Signed-off-by: Prakash Dubey > --- > drivers/staging/fwserial/fwserial.c | 4 ++-- > 1 file changed, 2 insertions(+), 2

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

2021-02-19 Thread Greg Kroah-Hartman
On Tue, Feb 16, 2021 at 06:28:06PM +0800, Du Cheng wrote: > 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() > > these coding style

Re: [PATCH v2] staging: hikey9xx: fix styling issues

2021-02-19 Thread Greg KH
On Tue, Feb 16, 2021 at 02:42:55PM +0200, Alaa Emad wrote: > In hi6421-spmi-pmic.c, there are some warnings and Check: > > "WARNING: please, no space before tabs" in lines 51,52,53 and 69. > "CHECK: Alignment should match open parenthesis" in lines 180 and 238. > > Signed-off-by: Alaa Emad

Re: [PATCH] use explicit host byte-order types in comparison

2021-02-19 Thread Dan Carpenter
On Fri, Feb 19, 2021 at 05:51:59AM +0530, karthik alapati wrote: > convert le32 types to host byte-order types before > comparison > Already fixed. Please work against staging-next or linux-next. regards, dan carpenter ___ devel mailing list

Re: [PATCH] staging: removed unnecessary debug message to fix coding style warning

2021-02-19 Thread Greg KH
On Sun, Feb 14, 2021 at 07:44:52PM +0530, Ashish Vara wrote: > From: Ashish Vara > > removed unnecessary out of memory message to fix coding style warning. > > Signed-off-by: Ashish Vara > --- > drivers/staging/gasket/gasket_page_table.c | 2 -- > 1 file changed, 2 deletions(-) Your subject

Re: [PATCH] staging: rtl8712: cleanup checkpatch.pl warnings

2021-02-19 Thread Greg Kroah-Hartman
On Sun, Feb 14, 2021 at 03:56:01PM +0530, Shreesh Adiga wrote: > Cleanup warnings displayed by checkpatch.pl for the > file rtl8171x_mlme.c for the below warning: > WARNING: Avoid multiple line dereference > > Signed-off-by: Shreesh Adiga <16567adigashre...@gmail.com> > --- >