All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v6] rtl8712: Fixed alignment to match open parenthesis
@ 2016-04-25 15:43 Parth Sane
  2016-04-26 14:30 ` Luis de Bethencourt
  0 siblings, 1 reply; 4+ messages in thread
From: Parth Sane @ 2016-04-25 15:43 UTC (permalink / raw)
  To: gregkh
  Cc: Larry.Finger, florian.c.schilhabel, amitoj1606, luisbg,
	juliana.orod, devel, linux-kernel, Parth Sane

Fixed alignment to match open parenthesis.

Signed-off-by: Parth Sane <laerdevstudios@gmail.com>

---
Changes in v6:
	-Added line before Signed-off message

 drivers/staging/rtl8712/hal_init.c | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/drivers/staging/rtl8712/hal_init.c b/drivers/staging/rtl8712/hal_init.c
index 0c76fbc..0dd458d 100644
--- a/drivers/staging/rtl8712/hal_init.c
+++ b/drivers/staging/rtl8712/hal_init.c
@@ -197,8 +197,8 @@ 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,
-				  (u8 *)ptx_desc);
+					dump_imem_sz + TXDESC_SIZE,
+					(u8 *)ptx_desc);
 			ptr += dump_imem_sz;
 			imem_sz -= dump_imem_sz;
 		} while (imem_sz > 0);
@@ -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

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

* Re: [PATCH v6] rtl8712: Fixed alignment to match open parenthesis
  2016-04-25 15:43 [PATCH v6] rtl8712: Fixed alignment to match open parenthesis Parth Sane
@ 2016-04-26 14:30 ` Luis de Bethencourt
  2016-04-26 14:33   ` Parth Sane
  0 siblings, 1 reply; 4+ messages in thread
From: Luis de Bethencourt @ 2016-04-26 14:30 UTC (permalink / raw)
  To: Parth Sane, gregkh
  Cc: Larry.Finger, florian.c.schilhabel, amitoj1606, juliana.orod,
	devel, linux-kernel

On 25/04/16 16:43, Parth Sane wrote:
> Fixed alignment to match open parenthesis.
> 
> Signed-off-by: Parth Sane <laerdevstudios@gmail.com>
> 
> ---
> Changes in v6:
> 	-Added line before Signed-off message
> 

This last version looks good to me. Did you find this issue with checkpatch.pl?

Thanks,
Luis

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

* Re: [PATCH v6] rtl8712: Fixed alignment to match open parenthesis
  2016-04-26 14:30 ` Luis de Bethencourt
@ 2016-04-26 14:33   ` Parth Sane
       [not found]     ` <571F7ED9.9060509@osg.samsung.com>
  0 siblings, 1 reply; 4+ messages in thread
From: Parth Sane @ 2016-04-26 14:33 UTC (permalink / raw)
  To: Luis de Bethencourt
  Cc: Greg KH, Larry.Finger, florian.c.schilhabel, amitoj1606,
	juliana.orod, open list:STAGING SUBSYSTEM, linux-kernel

[-- Attachment #1: Type: text/plain, Size: 549 bytes --]

Hi,
Thanks for the feedback. I did find this issue with the assistance checkpatch.pl script.
Regards,
Parth Sane
> On 26-Apr-2016, at 8:00 PM, Luis de Bethencourt <luisbg@osg.samsung.com> wrote:
> 
> On 25/04/16 16:43, Parth Sane wrote:
>> Fixed alignment to match open parenthesis.
>> 
>> Signed-off-by: Parth Sane <laerdevstudios@gmail.com>
>> 
>> ---
>> Changes in v6:
>> 	-Added line before Signed-off message
>> 
> 
> This last version looks good to me. Did you find this issue with checkpatch.pl?
> 
> Thanks,
> Luis
> 


[-- Attachment #2: Message signed with OpenPGP using GPGMail --]
[-- Type: application/pgp-signature, Size: 842 bytes --]

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

* Re: [PATCH v6] rtl8712: Fixed alignment to match open parenthesis
       [not found]     ` <571F7ED9.9060509@osg.samsung.com>
@ 2016-04-26 14:47       ` Parth Sane
  0 siblings, 0 replies; 4+ messages in thread
From: Parth Sane @ 2016-04-26 14:47 UTC (permalink / raw)
  To: Luis de Bethencourt
  Cc: Greg KH, Larry.Finger, florian.c.schilhabel, amitoj1606,
	juliana.orod, open list:STAGING SUBSYSTEM, linux-kernel

[-- Attachment #1: Type: text/plain, Size: 1286 bytes --]

Hi,
Yes you are right on that regard. I did do that in my previous patches.
It’s just something that I will have to remember now onwards. Thanks.
Regards,
Parth Sane
> On 26-Apr-2016, at 8:14 PM, Luis de Bethencourt <luisbg@osg.samsung.com> wrote:
> 
> On 26/04/16 15:33, Parth Sane wrote:
>> Hi,
>> Thanks for the feedback. I did find this issue with the assistance checkpatch.pl script.
>> Regards,
>> Parth Sane
> 
> Normally people mention the checkpatch warning they are fixing.
> 
> For example:
> https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=5f10ef7dce02d8e36665974aca0977cda58c1122
> 
> Verbosity in the commit message is a good thing :)
> 
> I have tested that your patch still applies cleanly to Greg's staging-testing branch.
> 
> Thanks,
> Luis
> 
>>> On 26-Apr-2016, at 8:00 PM, Luis de Bethencourt <luisbg@osg.samsung.com> wrote:
>>> 
>>> On 25/04/16 16:43, Parth Sane wrote:
>>>> Fixed alignment to match open parenthesis.
>>>> 
>>>> Signed-off-by: Parth Sane <laerdevstudios@gmail.com>
>>>> 
>>>> ---
>>>> Changes in v6:
>>>> 	-Added line before Signed-off message
>>>> 
>>> 
>>> This last version looks good to me. Did you find this issue with checkpatch.pl?
>>> 
>>> Thanks,
>>> Luis
>>> 
>> 


[-- Attachment #2: Message signed with OpenPGP using GPGMail --]
[-- Type: application/pgp-signature, Size: 842 bytes --]

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

end of thread, other threads:[~2016-04-26 14:48 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-04-25 15:43 [PATCH v6] rtl8712: Fixed alignment to match open parenthesis Parth Sane
2016-04-26 14:30 ` Luis de Bethencourt
2016-04-26 14:33   ` Parth Sane
     [not found]     ` <571F7ED9.9060509@osg.samsung.com>
2016-04-26 14:47       ` Parth Sane

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.