All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Staging: rtl8723bs/core: fix space coding style issue
@ 2021-03-15  1:56 ` Qiang Ma
  0 siblings, 0 replies; 2+ messages in thread
From: Qiang Ma @ 2021-03-15  1:56 UTC (permalink / raw)
  To: gregkh, ross.schm.dev, singhalsimran0, matthew.v.deangelis,
	hannes, john.oldman, longman, izabela.bakollari
  Cc: devel, linux-kernel, Qiang Ma

Add one space around (on each side of) '*' binary operators.

Signed-off-by: Qiang Ma <maqianga@uniontech.com>
---
 drivers/staging/rtl8723bs/core/rtw_security.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/staging/rtl8723bs/core/rtw_security.c b/drivers/staging/rtl8723bs/core/rtw_security.c
index a311595deafb..6d53c08b29d1 100644
--- a/drivers/staging/rtl8723bs/core/rtw_security.c
+++ b/drivers/staging/rtl8723bs/core/rtw_security.c
@@ -319,7 +319,7 @@ static u32 secmicgetuint32(u8 *p)
 	u32 res = 0;
 
 	for (i = 0; i < 4; i++)
-		res |= ((u32)(*p++)) << (8*i);
+		res |= ((u32)(*p++)) << (8 * i);
 
 	return res;
 }
-- 
2.20.1




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

* [PATCH] Staging: rtl8723bs/core: fix space coding style issue
@ 2021-03-15  1:56 ` Qiang Ma
  0 siblings, 0 replies; 2+ messages in thread
From: Qiang Ma @ 2021-03-15  1:56 UTC (permalink / raw)
  To: gregkh, ross.schm.dev, singhalsimran0, matthew.v.deangelis,
	hannes, john.oldman, longman, izabela.bakollari
  Cc: devel, linux-kernel, Qiang Ma

Add one space around (on each side of) '*' binary operators.

Signed-off-by: Qiang Ma <maqianga@uniontech.com>
---
 drivers/staging/rtl8723bs/core/rtw_security.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/staging/rtl8723bs/core/rtw_security.c b/drivers/staging/rtl8723bs/core/rtw_security.c
index a311595deafb..6d53c08b29d1 100644
--- a/drivers/staging/rtl8723bs/core/rtw_security.c
+++ b/drivers/staging/rtl8723bs/core/rtw_security.c
@@ -319,7 +319,7 @@ static u32 secmicgetuint32(u8 *p)
 	u32 res = 0;
 
 	for (i = 0; i < 4; i++)
-		res |= ((u32)(*p++)) << (8*i);
+		res |= ((u32)(*p++)) << (8 * i);
 
 	return res;
 }
-- 
2.20.1



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

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

end of thread, other threads:[~2021-03-15  1:58 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-15  1:56 [PATCH] Staging: rtl8723bs/core: fix space coding style issue Qiang Ma
2021-03-15  1:56 ` Qiang Ma

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.