All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Staging: rtl8723bs/core: fix coding style issue
@ 2021-03-10 11:35 ` Longji Guo
  0 siblings, 0 replies; 4+ messages in thread
From: Longji Guo @ 2021-03-10 11:35 UTC (permalink / raw)
  To: gregkh, ross.schm.dev, matthew.v.deangelis, dan.carpenter,
	amarjargal16, vkor, pterjan
  Cc: devel, linux-kernel, Longji Guo

Move operators and spaces before tabs to fix coding style issues.

Signed-off-by: Longji Guo <guolongji@uniontech.com>
---
 drivers/staging/rtl8723bs/core/rtw_recv.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/staging/rtl8723bs/core/rtw_recv.c b/drivers/staging/rtl8723bs/core/rtw_recv.c
index 3c9dbd7443d9..f249193edeb3 100644
--- a/drivers/staging/rtl8723bs/core/rtw_recv.c
+++ b/drivers/staging/rtl8723bs/core/rtw_recv.c
@@ -576,7 +576,7 @@ union recv_frame *portctrl(struct adapter *adapter, union recv_frame *precv_fram
 			prtnframe = precv_frame;
 
 			/* get ether_type */
-			ptr = ptr+pfhdr->attrib.hdrlen+pfhdr->attrib.iv_len+LLC_HEADER_SIZE;
+			ptr = ptr + pfhdr->attrib.hdrlen + pfhdr->attrib.iv_len + LLC_HEADER_SIZE;
 			memcpy(&be_tmp, ptr, 2);
 			ether_type = ntohs(be_tmp);
 
-- 
2.30.1




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

* [PATCH] Staging: rtl8723bs/core: fix coding style issue
@ 2021-03-10 11:35 ` Longji Guo
  0 siblings, 0 replies; 4+ messages in thread
From: Longji Guo @ 2021-03-10 11:35 UTC (permalink / raw)
  To: gregkh, ross.schm.dev, matthew.v.deangelis, dan.carpenter,
	amarjargal16, vkor, pterjan
  Cc: devel, Longji Guo, linux-kernel

Move operators and spaces before tabs to fix coding style issues.

Signed-off-by: Longji Guo <guolongji@uniontech.com>
---
 drivers/staging/rtl8723bs/core/rtw_recv.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/staging/rtl8723bs/core/rtw_recv.c b/drivers/staging/rtl8723bs/core/rtw_recv.c
index 3c9dbd7443d9..f249193edeb3 100644
--- a/drivers/staging/rtl8723bs/core/rtw_recv.c
+++ b/drivers/staging/rtl8723bs/core/rtw_recv.c
@@ -576,7 +576,7 @@ union recv_frame *portctrl(struct adapter *adapter, union recv_frame *precv_fram
 			prtnframe = precv_frame;
 
 			/* get ether_type */
-			ptr = ptr+pfhdr->attrib.hdrlen+pfhdr->attrib.iv_len+LLC_HEADER_SIZE;
+			ptr = ptr + pfhdr->attrib.hdrlen + pfhdr->attrib.iv_len + LLC_HEADER_SIZE;
 			memcpy(&be_tmp, ptr, 2);
 			ether_type = ntohs(be_tmp);
 
-- 
2.30.1



_______________________________________________
devel mailing list
devel@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel

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

* Re: [PATCH] Staging: rtl8723bs/core: fix coding style issue
  2021-03-10 11:35 ` Longji Guo
@ 2021-03-12 16:26   ` Greg KH
  -1 siblings, 0 replies; 4+ messages in thread
From: Greg KH @ 2021-03-12 16:26 UTC (permalink / raw)
  To: Longji Guo
  Cc: ross.schm.dev, matthew.v.deangelis, dan.carpenter, amarjargal16,
	vkor, pterjan, devel, linux-kernel

On Wed, Mar 10, 2021 at 07:35:03PM +0800, Longji Guo wrote:
> Move operators and spaces before tabs to fix coding style issues.

This change doesn't have anything to do with tabs.

confused,

greg k-h

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

* Re: [PATCH] Staging: rtl8723bs/core: fix coding style issue
@ 2021-03-12 16:26   ` Greg KH
  0 siblings, 0 replies; 4+ messages in thread
From: Greg KH @ 2021-03-12 16:26 UTC (permalink / raw)
  To: Longji Guo
  Cc: devel, vkor, linux-kernel, matthew.v.deangelis, amarjargal16,
	pterjan, dan.carpenter

On Wed, Mar 10, 2021 at 07:35:03PM +0800, Longji Guo wrote:
> Move operators and spaces before tabs to fix coding style issues.

This change doesn't have anything to do with tabs.

confused,

greg k-h
_______________________________________________
devel mailing list
devel@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel

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

end of thread, other threads:[~2021-03-12 16:27 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-10 11:35 [PATCH] Staging: rtl8723bs/core: fix coding style issue Longji Guo
2021-03-10 11:35 ` Longji Guo
2021-03-12 16:26 ` Greg KH
2021-03-12 16:26   ` Greg KH

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.