Re: Checkpatch.pl warning

2018-09-30 Thread valdis . kletnieks
On Sun, 30 Sep 2018 16:04:13 +0300, Shubham Singh said: > Regarding the warning of checkpatch.pl, > " 'str' object has no attribute 'decode' " > This warning is related to spdxcheck.py which is because of version of python > In python3 str has no attribute decode(), while it works fine in

Checkpatch.pl warning

2018-09-30 Thread Shubham Singh
Regarding the warning of checkpatch.pl, " 'str' object has no attribute 'decode' " This warning is related to spdxcheck.py which is because of version of python In python3 str has no attribute decode(), while it works fine in python2, without any warning. I checked the patch related to this

Re: [PATCH 390/390] staging:rtl8723bs:core:rtw_btcoex: Fixed checkpatch.pl warning on 'Comparisons should place the constant on the right side of the test'.

2017-07-17 Thread Greg KH
On Wed, Jul 05, 2017 at 02:10:17PM +0530, Shreeya Patel wrote: > Fixed a coding style issue. Why is your subject longer than your changelog text? And where are the other 389 patches in this series? And finally, why are you sending this to kernelnewbies and not the people and mailing list that

[PATCH 390/390] staging:rtl8723bs:core:rtw_btcoex: Fixed checkpatch.pl warning on 'Comparisons should place the constant on the right side of the test'.

2017-07-17 Thread Shreeya Patel
Fixed a coding style issue. Signed-off-by: Shreeya Patel --- drivers/staging/rtl8723bs/core/rtw_btcoex.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/rtl8723bs/core/rtw_btcoex.c b/drivers/staging/rtl8723bs/core/rtw_btcoex.c

Checkpatch.pl warning

2015-08-08 Thread Shraddha Barke
I have come across the following checkpatch.pl warning a number of times: WARNING: Prefer ether_addr_equal() or ether_addr_equal_unaligned() over memcmp() What exactly does it mean? What is the fix for this warning? Any help or links to appropriate Documentation will be good. Thanks in advance