Staging: rtlwifi: efuse: fixed a line length coding style issue
PATCH 1/1 Staging: rtlwifi: efuse: fixed a line length coding style issue
Fixed a code style issue. Line length over 80 characters.
Signed-off-by Tom Todd <[email protected]>
--- drivers/staging/rtlwifi/efuse.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
drivers/staging/rtlwifi/efuse.c +2 -1
@@ -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; }
Signature · 1 line
2.18.0
Greg KH
maintainerQuoted 12 lines · Tom Todd
Fixed a code style issue. Line length over 80 characters.
Signed-off-by Tom Todd <[email protected]>--- drivers/staging/rtlwifi/efuse.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)drivers/staging/rtlwifi/efuse.c +0
-0
drivers/staging/rtlwifi/efuse.c void read_efuse(struct ieee80211_hw *hw, u16 _offset, u16 _size_byte, u8 *pbuf) · line 249
Quoted 6 lines
drivers/staging/rtlwifi/efuse.c +2
-1@@ -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