Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1361303

[PATCH] staging: rtl8712: Fixed Multiple Parenthesis Alignment

From Parth Sane <laerdevstudios@gmail.com>
Newsgroups linux.kernel
Subject [PATCH] staging: rtl8712: Fixed Multiple Parenthesis Alignment
Date 2016-03-20 15:40 +0100
Message-ID <reMGm-8a8-9@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


Fixed multiple parenthesis alignment warnings.
Signed-off-by: Parth Sane <laerdevstudios@gmail.com>
---
 drivers/staging/rtl8712/hal_init.c | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/drivers/staging/rtl8712/hal_init.c b/drivers/staging/rtl8712/hal_init.c
index 225ef37..afa7fe78 100644
--- a/drivers/staging/rtl8712/hal_init.c
+++ b/drivers/staging/rtl8712/hal_init.c
@@ -197,7 +197,7 @@ static u8 rtl8712_dl_fw(struct _adapter *padapter)
 						       0x0000ffff);
 			memcpy(ppayload, ptr, dump_imem_sz);
 			r8712_write_mem(padapter, RTL8712_DMA_VOQ,
-				  dump_imem_sz + TXDESC_SIZE,
+					dump_imem_sz + TXDESC_SIZE,
 				  (u8 *)ptx_desc);
 			ptr += dump_imem_sz;
 			imem_sz -= dump_imem_sz;
@@ -226,7 +226,8 @@ static u8 rtl8712_dl_fw(struct _adapter *padapter)
 						       0x0000ffff);
 			memcpy(ppayload, ptr, dump_emem_sz);
 			r8712_write_mem(padapter, RTL8712_DMA_VOQ,
-				  dump_emem_sz + TXDESC_SIZE, (u8 *)ptx_desc);
+					dump_emem_sz + TXDESC_SIZE,
+					(u8 *)ptx_desc);
 			ptr += dump_emem_sz;
 			emem_sz -= dump_emem_sz;
 		} while (emem_sz > 0);
@@ -278,7 +279,7 @@ static u8 rtl8712_dl_fw(struct _adapter *padapter)
 		ptx_desc->txdw0 |= cpu_to_le32(BIT(28));
 		memcpy(ppayload, &fwhdr.fwpriv, fwhdr.fw_priv_sz);
 		r8712_write_mem(padapter, RTL8712_DMA_VOQ,
-			  fwhdr.fw_priv_sz + TXDESC_SIZE, (u8 *)ptx_desc);
+				fwhdr.fw_priv_sz + TXDESC_SIZE, (u8 *)ptx_desc);
 
 		/* polling dmem code done */
 		i = 100;
-- 
1.9.1

Back to linux.kernel | Previous | NextNext in thread | Find similar | Unroll thread


Thread

[PATCH] staging: rtl8712: Fixed Multiple Parenthesis Alignment Parth Sane <laerdevstudios@gmail.com> - 2016-03-20 15:40 +0100
  Re: [PATCH] staging: rtl8712: Fixed Multiple Parenthesis Alignment Joe Perches <joe@perches.com> - 2016-03-20 16:50 +0100
    Re: [PATCH] staging: rtl8712: Fixed Multiple Parenthesis Alignment Parth Sane <laerdevstudios@gmail.com> - 2016-03-20 17:00 +0100
      Re: [PATCH] staging: rtl8712: Fixed Multiple Parenthesis Alignment Parth Sane <laerdevstudios@gmail.com> - 2016-03-20 17:50 +0100

csiph-web