staging: rtl8723bs: split multiple assignment in osdep_service.c
PATCH 1/1 staging: rtl8723bs: split multiple assignment in osdep_service.c
From: grizzo <[email protected]>
Avoid multiple assignments in a single statement.
No functional change.
--- drivers/staging/rtl8723bs/os_dep/osdep_service.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
drivers/staging/rtl8723bs/os_dep/osdep_service.c +2 -1
@@ -226,7 +226,8 @@ struct rtw_cbuf *rtw_cbuf_alloc(u32 size) cbuf =rtw_malloc (struct_size (cbuf, bufs, size));if (cbuf) { - cbuf->write = cbuf->read =0 ; + cbuf->write =0 ; + cbuf->read =0 ; cbuf->size = size; }
Signature · 1 line
2.34.1
Greg Kroah-Hartman
maintainerQuoted 1 line · Juyeong Jun
From: grizzo <[email protected]>
Something went wrong with your git setup :(
PATCH 1/1 staging: rtl8723bs: split multiple assignment in osdep_service.c
v2:
- Fix incorrect Author email in commit
Sorry for the mistake. This is my first time, and I sent a new email instead of a reply. Resending as a reply. My apologies
Avoid multiple assignments in a single statement.
No functional change.
--- drivers/staging/rtl8723bs/os_dep/osdep_service.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
drivers/staging/rtl8723bs/os_dep/osdep_service.c +2 -1
@@ -226,7 +226,8 @@ struct rtw_cbuf *rtw_cbuf_alloc(u32 size) cbuf =rtw_malloc (struct_size (cbuf, bufs, size));if (cbuf) { - cbuf->write = cbuf->read =0 ; + cbuf->write =0 ; + cbuf->read =0 ; cbuf->size = size; }
Signature · 1 line
2.34.1
Quoted 8 lines · Juyeong Jun
v2:
- Fix incorrect Author email in commitSorry for the mistake. This is my first time, and I sent a new email instead of a reply. Resending as a reply. My apologies
Avoid multiple assignments in a single statement.
No functional change.
---
This isn't the right format.
https://staticthinking.wordpress.com/2022/07/27/how-to-send-a-v2-patch/
regards,
dan carpenter