[OPW,kernel,02/10] staging: rtl8723au: core: Fix missing blank line warning.
diff mbox

Message ID 1412790434-14086-2-git-send-email-yeliztaneroglu@gmail.com
State New, archived
Headers show

Commit Message

Yeliz Taneroglu Oct. 8, 2014, 5:47 p.m. UTC
The following patch fixes the checkpatch.pl warning:

drivers/staging/rtl8723au/core/rtw_efuse.c warning: Missing a blank line after declarations

Signed-off-by: Yeliz Taneroglu <yeliztaneroglu@gmail.com>
---
 drivers/staging/rtl8723au/core/rtw_efuse.c | 2 ++
 1 file changed, 2 insertions(+)

Comments

Josh Triplett Oct. 8, 2014, 5:52 p.m. UTC | #1
On Wed, Oct 08, 2014 at 08:47:06PM +0300, Yeliz Taneroglu wrote:
> The following patch fixes the checkpatch.pl warning:
> 
> drivers/staging/rtl8723au/core/rtw_efuse.c warning: Missing a blank line after declarations
> 
> Signed-off-by: Yeliz Taneroglu <yeliztaneroglu@gmail.com>
> ---
>  drivers/staging/rtl8723au/core/rtw_efuse.c | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/drivers/staging/rtl8723au/core/rtw_efuse.c b/drivers/staging/rtl8723au/core/rtw_efuse.c
> index 9f6ce7d..9b4b8cb 100644
> --- a/drivers/staging/rtl8723au/core/rtw_efuse.c
> +++ b/drivers/staging/rtl8723au/core/rtw_efuse.c
> @@ -118,6 +118,7 @@ u8
>  Efuse_CalculateWordCnts23a(u8 word_en)
>  {
>  	u8 word_cnts = 0;
> +
>  	if (!(word_en & BIT(0)))	word_cnts++; /*  0 : write enable */
>  	if (!(word_en & BIT(1)))	word_cnts++;
>  	if (!(word_en & BIT(2)))	word_cnts++;

This patch isn't going to apply anymore, as that code was removed.

> @@ -542,6 +543,7 @@ int rtw_efuse_access23a(struct rtw_adapter *padapter, u8 bWrite, u16 start_addr,
>  u16 efuse_GetMaxSize23a(struct rtw_adapter *padapter)
>  {
>  	u16 max_size;
> +
>  	EFUSE_GetEfuseDefinition23a(padapter, EFUSE_WIFI,
>  				 TYPE_AVAILABLE_EFUSE_BYTES_TOTAL,
>  				 (void *)&max_size);
> -- 
> 1.8.3.2
> 
> -- 
> You received this message because you are subscribed to the Google Groups "opw-kernel" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to opw-kernel+unsubscribe@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

Patch
diff mbox

diff --git a/drivers/staging/rtl8723au/core/rtw_efuse.c b/drivers/staging/rtl8723au/core/rtw_efuse.c
index 9f6ce7d..9b4b8cb 100644
--- a/drivers/staging/rtl8723au/core/rtw_efuse.c
+++ b/drivers/staging/rtl8723au/core/rtw_efuse.c
@@ -118,6 +118,7 @@  u8
 Efuse_CalculateWordCnts23a(u8 word_en)
 {
 	u8 word_cnts = 0;
+
 	if (!(word_en & BIT(0)))	word_cnts++; /*  0 : write enable */
 	if (!(word_en & BIT(1)))	word_cnts++;
 	if (!(word_en & BIT(2)))	word_cnts++;
@@ -542,6 +543,7 @@  int rtw_efuse_access23a(struct rtw_adapter *padapter, u8 bWrite, u16 start_addr,
 u16 efuse_GetMaxSize23a(struct rtw_adapter *padapter)
 {
 	u16 max_size;
+
 	EFUSE_GetEfuseDefinition23a(padapter, EFUSE_WIFI,
 				 TYPE_AVAILABLE_EFUSE_BYTES_TOTAL,
 				 (void *)&max_size);