mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Gustavo A. R. Silva" <gustavo@embeddedor.com>
To: Scott Tracy <scott.a.tracy@gmail.com>,
	Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
	devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] staging/rtlwifi: Fixing formatting warnings.
Date: Fri, 5 Oct 2018 23:15:57 +0200	[thread overview]
Message-ID: <fe44162d-57de-2f5e-7cfb-ff0a15688c7c@embeddedor.com> (raw)
In-Reply-To: <20181005205815.GA2624@hax0rtop>



On 10/5/18 10:58 PM, Scott Tracy wrote:
> Signed-off-by: Scott Tracy <scott.a.tracy@gmail.com>
> ---
>  drivers/staging/rtlwifi/core.c  | 5 +++--
>  drivers/staging/rtlwifi/efuse.c | 5 +++--
>  2 files changed, 6 insertions(+), 4 deletions(-)
> 
> diff --git a/drivers/staging/rtlwifi/core.c b/drivers/staging/rtlwifi/core.c
> index ca37f7511c4d..a36cb44a5388 100644
> --- a/drivers/staging/rtlwifi/core.c
> +++ b/drivers/staging/rtlwifi/core.c
> @@ -1109,7 +1109,7 @@ static void rtl_op_bss_info_changed(struct ieee80211_hw *hw,
>  			if (rtlpriv->dm.supp_phymode_switch) {
>  				if (sta->ht_cap.ht_supported)
>  					rtl_send_smps_action(hw, sta,
> -							     IEEE80211_SMPS_STATIC);
> +							IEEE80211_SMPS_STATIC);
>  			}
>  
>  			if (rtlhal->current_bandtype == BAND_ON_5G) {
> @@ -1882,7 +1882,8 @@ bool rtl_hal_pwrseqcmdparsing(struct rtl_priv *rtlpriv, u8 cut_version,
>  				return true;
>  			default:
>  				WARN_ONCE(true,
> -					  "rtlwifi: %s(): Unknown CMD!!\n", __func__);
> +					 "rtlwifi: %s(): Unknown CMD!!\n",
> +					  __func__);
>  				break;
>  			}
>  		}
> diff --git a/drivers/staging/rtlwifi/efuse.c b/drivers/staging/rtlwifi/efuse.c
> index 1dc71455f270..5b8afdb3e0fe 100644
> --- a/drivers/staging/rtlwifi/efuse.c
> +++ b/drivers/staging/rtlwifi/efuse.c
> @@ -245,7 +245,8 @@ void read_efuse(struct ieee80211_hw *hw, u16 _offset, u16 _size_byte, u8 *pbuf)
>  	if (!efuse_word)
>  		goto out;
>  	for (i = 0; i < EFUSE_MAX_WORD_UNIT; i++) {
> -		efuse_word[i] = kcalloc(efuse_max_section, sizeof(u16), GFP_ATOMIC);
> +		efuse_word[i] = kcalloc(efuse_max_section,
> +					sizeof(u16), GFP_ATOMIC);
>  		if (!efuse_word[i])
>  			goto done;
>  	}
> @@ -375,7 +376,7 @@ bool efuse_shadow_update_chk(struct ieee80211_hw *hw)
>  		for (i = 0; i < 8; i = i + 2) {
>  			if ((rtlefuse->efuse_map[EFUSE_INIT_MAP][base + i] !=
>  			     rtlefuse->efuse_map[EFUSE_MODIFY_MAP][base + i]) ||
> -			    (rtlefuse->efuse_map[EFUSE_INIT_MAP][base + i + 1] !=
> +			   (rtlefuse->efuse_map[EFUSE_INIT_MAP][base + i + 1] !=
>  			     rtlefuse->efuse_map[EFUSE_MODIFY_MAP][base + i +
>  								   1])) {
>  				words_need++;
> 

Hi,

Please, always add a commit log explaining what exactly are you trying to fix.

Thanks
--
Gustavo

  reply	other threads:[~2018-10-05 21:16 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-10-05 20:58 Scott Tracy
2018-10-05 21:15 ` Gustavo A. R. Silva [this message]
2018-10-05 22:31 ` Greg Kroah-Hartman

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=fe44162d-57de-2f5e-7cfb-ff0a15688c7c@embeddedor.com \
    --to=gustavo@embeddedor.com \
    --cc=devel@driverdev.osuosl.org \
    --cc=gregkh@linuxfoundation.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=scott.a.tracy@gmail.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®