kernel-janitors.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] Staging: rtl8723bs/core: Add blank line after variable declaration.
@ 2020-11-30 21:47 Brother Matthew De Angelis
  2020-12-01 18:23 ` Dan Carpenter
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Brother Matthew De Angelis @ 2020-11-30 21:47 UTC (permalink / raw)
  To: kernel-janitors

Fix the checkpatch.pl warning:

rtw_security.c:2374: WARNING: Missing a blank line after declarations

Signed-off-by: Brother Matthew De Angelis <matthew.v.deangelis@gmail.com>
---
 drivers/staging/rtl8723bs/core/rtw_security.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/staging/rtl8723bs/core/rtw_security.c b/drivers/staging/rtl8723bs/core/rtw_security.c
index 159d32ace2bc..a3a6558c9e03 100644
--- a/drivers/staging/rtl8723bs/core/rtw_security.c
+++ b/drivers/staging/rtl8723bs/core/rtw_security.c
@@ -2371,6 +2371,7 @@ u8 rtw_handle_tkip_countermeasure(struct adapter *adapter, const char *caller)
 
 	if (securitypriv->btkip_countermeasure) {
 		unsigned long passing_ms = jiffies_to_msecs(jiffies - securitypriv->btkip_countermeasure_time);
+
 		if (passing_ms > 60*1000) {
 			DBG_871X_LEVEL(_drv_always_, "%s("ADPT_FMT") countermeasure time:%lus > 60s\n",
 				caller, ADPT_ARG(adapter), passing_ms/1000);
-- 
2.25.1

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH] Staging: rtl8723bs/core: Add blank line after variable declaration.
  2020-11-30 21:47 [PATCH] Staging: rtl8723bs/core: Add blank line after variable declaration Brother Matthew De Angelis
@ 2020-12-01 18:23 ` Dan Carpenter
  2020-12-01 21:47 ` [PATCH] Staging: rtl8723bs/core: Add blank line after variable declarations Brother Matthew De Angelis
  2020-12-02  5:55 ` Dan Carpenter
  2 siblings, 0 replies; 4+ messages in thread
From: Dan Carpenter @ 2020-12-01 18:23 UTC (permalink / raw)
  To: kernel-janitors

Hi Matthew,

Someone already sent this patch a month back.  You should work against
linux-next so that you have the latest code.  Also kernel janitors
doesn't apply patches.  Send patches to the output from
scripts/get_maintainer.pl

Otherwise it looks fine though and Greg would have applied it if he
hadn't already applied someone else's.

regards,
dan carpenter

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [PATCH] Staging: rtl8723bs/core: Add blank line after variable declarations.
  2020-11-30 21:47 [PATCH] Staging: rtl8723bs/core: Add blank line after variable declaration Brother Matthew De Angelis
  2020-12-01 18:23 ` Dan Carpenter
@ 2020-12-01 21:47 ` Brother Matthew De Angelis
  2020-12-02  5:55 ` Dan Carpenter
  2 siblings, 0 replies; 4+ messages in thread
From: Brother Matthew De Angelis @ 2020-12-01 21:47 UTC (permalink / raw)
  To: kernel-janitors

Fix the checkpatch.pl warning:

rtw_security.c:2374: WARNING: Missing a blank line after declarations

Signed-off-by: Brother Matthew De Angelis <matthew.v.deangelis@gmail.com>
---
 drivers/staging/rtl8723bs/core/rtw_security.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/staging/rtl8723bs/core/rtw_security.c b/drivers/staging/rtl8723bs/core/rtw_security.c
index 159d32ace2bc..a3a6558c9e03 100644
--- a/drivers/staging/rtl8723bs/core/rtw_security.c
+++ b/drivers/staging/rtl8723bs/core/rtw_security.c
@@ -2371,6 +2371,7 @@ u8 rtw_handle_tkip_countermeasure(struct adapter *adapter, const char *caller)
 
 	if (securitypriv->btkip_countermeasure) {
 		unsigned long passing_ms = jiffies_to_msecs(jiffies - securitypriv->btkip_countermeasure_time);
+
 		if (passing_ms > 60*1000) {
 			DBG_871X_LEVEL(_drv_always_, "%s("ADPT_FMT") countermeasure time:%lus > 60s\n",
 				caller, ADPT_ARG(adapter), passing_ms/1000);
-- 
2.25.1

Hello kernel janitors,

this is my third patch and I don't feel very confident yet. Would this patch be worth Greg's time?

Thanks!
Br. Matt

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH] Staging: rtl8723bs/core: Add blank line after variable declarations.
  2020-11-30 21:47 [PATCH] Staging: rtl8723bs/core: Add blank line after variable declaration Brother Matthew De Angelis
  2020-12-01 18:23 ` Dan Carpenter
  2020-12-01 21:47 ` [PATCH] Staging: rtl8723bs/core: Add blank line after variable declarations Brother Matthew De Angelis
@ 2020-12-02  5:55 ` Dan Carpenter
  2 siblings, 0 replies; 4+ messages in thread
From: Dan Carpenter @ 2020-12-02  5:55 UTC (permalink / raw)
  To: kernel-janitors

On Tue, Dec 01, 2020 at 03:47:14PM -0600, Brother Matthew De Angelis wrote:
> Fix the checkpatch.pl warning:
> 
> rtw_security.c:2374: WARNING: Missing a blank line after declarations
> 
> Signed-off-by: Brother Matthew De Angelis <matthew.v.deangelis@gmail.com>
> ---
>  drivers/staging/rtl8723bs/core/rtw_security.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/drivers/staging/rtl8723bs/core/rtw_security.c b/drivers/staging/rtl8723bs/core/rtw_security.c
> index 159d32ace2bc..a3a6558c9e03 100644
> --- a/drivers/staging/rtl8723bs/core/rtw_security.c
> +++ b/drivers/staging/rtl8723bs/core/rtw_security.c
> @@ -2371,6 +2371,7 @@ u8 rtw_handle_tkip_countermeasure(struct adapter *adapter, const char *caller)
>  
>  	if (securitypriv->btkip_countermeasure) {
>  		unsigned long passing_ms = jiffies_to_msecs(jiffies - securitypriv->btkip_countermeasure_time);
> +
>  		if (passing_ms > 60*1000) {
>  			DBG_871X_LEVEL(_drv_always_, "%s("ADPT_FMT") countermeasure time:%lus > 60s\n",
>  				caller, ADPT_ARG(adapter), passing_ms/1000);
> -- 
> 2.25.1
> 
> Hello kernel janitors,
> 
> this is my third patch and I don't feel very confident yet. Would this patch be worth Greg's time?
> 

I already replied about this patch earlier.  Someone already sent it so
it's not needed.

These patches take about 15 seconds of Greg's time and he deliberately
leaves checkpatch warnings like this for people to practice sending him
patches.

regards,
dan carpenter

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2020-12-02  5:55 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-11-30 21:47 [PATCH] Staging: rtl8723bs/core: Add blank line after variable declaration Brother Matthew De Angelis
2020-12-01 18:23 ` Dan Carpenter
2020-12-01 21:47 ` [PATCH] Staging: rtl8723bs/core: Add blank line after variable declarations Brother Matthew De Angelis
2020-12-02  5:55 ` Dan Carpenter

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).