All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jes Sorensen <jes.sorensen@gmail.com>
To: Dilek Uzulmez <dilekuzulmez@gmail.com>,
	 outreachy-kernel@googlegroups.com
Subject: Re: [Outreachy kernel] [PATCH] Staging: rtl8188eu: Add blank line after declarations
Date: Mon, 23 Feb 2015 14:26:52 -0500	[thread overview]
Message-ID: <54EB7EFC.1010005@gmail.com> (raw)
In-Reply-To: <1424702944-6713-1-git-send-email-dilekuzulmez@gmail.com>

On 02/23/15 09:49, Dilek Uzulmez wrote:
> This patch fixes these warning messages found by checkpatch.pl:
> WARNING: Missing a blank line after declarations.
> 
> Signed-off-by: Dilek Uzulmez <dilekuzulmez@gmail.com>
> ---
>  drivers/staging/rtl8188eu/core/rtw_pwrctrl.c | 2 ++
>  1 file changed, 2 insertions(+)

The patch is good, however a more personalized commit message is
preferred. Something like:

"
Insert blank line between declarations and actual code.

This was found using checkpatch.pl
"

Cheers,
Jes


> diff --git a/drivers/staging/rtl8188eu/core/rtw_pwrctrl.c b/drivers/staging/rtl8188eu/core/rtw_pwrctrl.c
> index df463a2..20e12d0 100644
> --- a/drivers/staging/rtl8188eu/core/rtw_pwrctrl.c
> +++ b/drivers/staging/rtl8188eu/core/rtw_pwrctrl.c
> @@ -550,6 +550,7 @@ void rtw_init_pwrctrl_priv(struct adapter *padapter)
>  inline void rtw_set_ips_deny(struct adapter *padapter, u32 ms)
>  {
>  	struct pwrctrl_priv *pwrpriv = &padapter->pwrctrlpriv;
> +
>  	pwrpriv->ips_deny_time = jiffies + msecs_to_jiffies(ms);
>  }
>  
> @@ -573,6 +574,7 @@ int _rtw_pwr_wakeup(struct adapter *padapter, u32 ips_deffer_ms, const char *cal
>  
>  {
>  	u32 start = jiffies;
> +
>  	if (pwrpriv->ps_processing) {
>  		DBG_88E("%s wait ps_processing...\n", __func__);
>  		while (pwrpriv->ps_processing && rtw_get_passing_time_ms(start) <= 3000)
> 



  reply	other threads:[~2015-02-23 19:26 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-02-23 14:49 [PATCH] Staging: rtl8188eu: Add blank line after declarations Dilek Uzulmez
2015-02-23 19:26 ` Jes Sorensen [this message]
  -- strict thread matches above, loose matches on Subject: below --
2015-02-23 15:16 Dilek Uzulmez
2015-02-23 17:21 ` [Outreachy kernel] " Julia Lawall
2015-02-23 22:32 Melike Yurtoglu
2015-02-23 23:23 ` [Outreachy kernel] " Jes Sorensen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=54EB7EFC.1010005@gmail.com \
    --to=jes.sorensen@gmail.com \
    --cc=dilekuzulmez@gmail.com \
    --cc=outreachy-kernel@googlegroups.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.