linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] Staging: rtlwifi: efuse: fixed a line length coding style issue
@ 2018-08-13 21:11 Tom Todd
  2018-08-27 17:51 ` Greg KH
  0 siblings, 1 reply; 2+ messages in thread
From: Tom Todd @ 2018-08-13 21:11 UTC (permalink / raw)
  To: gregkh, Larry.Finger; +Cc: thomas.m.a.todd, devel, linux-kernel

Fixed a code style issue. Line length over 80 characters.

Signed-off-by: Tom Todd <thomas.m.a.todd@gmail.com>
---
 drivers/staging/rtlwifi/efuse.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/drivers/staging/rtlwifi/efuse.c b/drivers/staging/rtlwifi/efuse.c
index 1dc71455f270..49ec9728fb04 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;
 	}
-- 
2.18.0


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

* Re: [PATCH] Staging: rtlwifi: efuse: fixed a line length coding style issue
  2018-08-13 21:11 [PATCH] Staging: rtlwifi: efuse: fixed a line length coding style issue Tom Todd
@ 2018-08-27 17:51 ` Greg KH
  0 siblings, 0 replies; 2+ messages in thread
From: Greg KH @ 2018-08-27 17:51 UTC (permalink / raw)
  To: Tom Todd; +Cc: Larry.Finger, devel, linux-kernel

On Mon, Aug 13, 2018 at 10:11:21PM +0100, Tom Todd wrote:
> Fixed a code style issue. Line length over 80 characters.
> 
> Signed-off-by: Tom Todd <thomas.m.a.todd@gmail.com>
> ---
>  drivers/staging/rtlwifi/efuse.c | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
> 
> diff --git a/drivers/staging/rtlwifi/efuse.c b/drivers/staging/rtlwifi/efuse.c
> index 1dc71455f270..49ec9728fb04 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);

No, keep the kcalloc on the same line and just wrap any needed
parameters.

thanks,

greg k-h

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

end of thread, other threads:[~2018-08-27 18:08 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-08-13 21:11 [PATCH] Staging: rtlwifi: efuse: fixed a line length coding style issue Tom Todd
2018-08-27 17:51 ` Greg KH

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).