staging: rtl8723bs: include: Eliminate p
PATCH v2 2/2 staging: rtl8723bs: include: Eliminate p
Getting rid of p's from pointer's name
---
changes in v2:
-added this patch to patchset
drivers/staging/rtl8723bs/include/rtw_mp.h | 2 +- drivers/staging/rtl8723bs/include/rtw_recv.h | 2 +- drivers/staging/rtl8723bs/include/rtw_xmit.h | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-)
drivers/staging/rtl8723bs/include/rtw_mp.h +1 -1
@@ -44,7 +44,7 @@ struct mp_tx/* struct tx_desc desc; */ /* u8 resvdtx[7]; */ u8 desc[TXDESC_SIZE ]; -u8 *pallocated_buf; +u8 *allocated_buf;u8 *buf;u32 buf_size, write_size;void *PktTxThread;
drivers/staging/rtl8723bs/include/rtw_recv.h +1 -1
@@ -305,7 +305,7 @@ struct recv_bufstruct adapter *adapter;u8 *pbuf; -u8 *pallocated_buf; +u8 *allocated_buf;u32 len;u8 *phead;
drivers/staging/rtl8723bs/include/rtw_xmit.h +1 -1
@@ -252,7 +252,7 @@ struct xmit_bufstruct adapter *padapter; -u8 *pallocated_buf; +u8 *allocated_buf;u8 *pbuf;
Signature · 1 line
2.17.1
Quoted 30 lines · Vatsala Narang
Getting rid of p's from pointer's name
Signed-off-by Vatsala Narang <[email protected]>---
changes in v2:(quoted diff) +0
-1-added this patch to patchset drivers/staging/rtl8723bs/include/rtw_mp.h | 2 +- drivers/staging/rtl8723bs/include/rtw_recv.h | 2 +- drivers/staging/rtl8723bs/include/rtw_xmit.h | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-)drivers/staging/rtl8723bs/include/rtw_mp.h +1
-1@@ -44,7 +44,7 @@ struct mp_tx/* struct tx_desc desc; */ /* u8 resvdtx[7]; */ u8 desc[TXDESC_SIZE ]; -u8 *pallocated_buf; +u8 *allocated_buf;u8 *buf;u32 buf_size, write_size;void *PktTxThread;drivers/staging/rtl8723bs/include/rtw_recv.h +0
-0
drivers/staging/rtl8723bs/include/rtw_recv.h struct recv_buf · line 307
Quoted 3 lines
drivers/staging/rtl8723bs/include/rtw_recv.h +0
-0@@ -305,7 +305,7 @@ struct recv_bufstruct adapter *adapter;u8 *pbuf;
You missed one.
Quoted 10 lines
drivers/staging/rtl8723bs/include/rtw_recv.h +1
-1-u8 *pallocated_buf; +u8 *allocated_buf;u32 len;u8 *phead;drivers/staging/rtl8723bs/include/rtw_xmit.h +0
-0
drivers/staging/rtl8723bs/include/rtw_xmit.h struct xmit_buf · line 257
Quoted 7 lines
drivers/staging/rtl8723bs/include/rtw_xmit.h +1
-1@@ -252,7 +252,7 @@ struct xmit_bufstruct adapter *padapter; -u8 *pallocated_buf; +u8 *allocated_buf;u8 *pbuf;
And another one.
These are all structure fields. Are they never used? Did you compile the driver?
julia
Quoted 11 lines
drivers/staging/rtl8723bs/include/rtw_xmit.h +0
-1--2.17.1
--
You received this message because you are subscribed to the Google Groups "outreachy-kernel" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected].
To view this discussion on the web visit https://groups.google.com/d/msgid/outreachy-kernel/20190323174121.5857-1-vatsalanarang%40gmail.com.
For more options, visit https://groups.google.com/d/optout.
A message that is not in the archive (sent off-list or not yet received): [email protected]
Quoted 22 lines · Vatsala Narang
> u8 *pbuf;
You missed one.
> - u8 *pallocated_buf; > + u8 *allocated_buf; > > u8 *pbuf; And another one. These are all structure fields. Are they never used? Did you compile the driver? julia
Quoted 5 lines
yes, I have compiled the driver and these structure fields are used in the code.
I missed *pbuf as it was used more than 150 times in the code so patch size will become too long, I will make appropriate changes if you suggest me to do so.
You may as well go for it.
julia
Quoted 14 lines
thanks in advance,
Vatsala--
You received this message because you are subscribed to the Google Groups
"outreachy-kernel" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visithttps://groups.google.com/d/msgid/outreachy-kernel/f926567f-8df4-4812-a8ce- 6383a32307d2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Quoted 22 lines · Vatsala Narang
> u8 *pbuf;
You missed one.
> - u8 *pallocated_buf; > + u8 *allocated_buf; > > u8 *pbuf; And another one. These are all structure fields. Are they never used? Did you compile the driver? julia
Quoted 5 lines
yes, I have compiled the driver and these structure fields are used in the code.
I missed *pbuf as it was used more than 150 times in the code so patch size will become too long, I will make appropriate changes if you suggest me to do so.
You can make one patch for each field.
julia
Quoted 14 lines
thanks in advance,
Vatsala--
You received this message because you are subscribed to the Google Groups
"outreachy-kernel" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visithttps://groups.google.com/d/msgid/outreachy-kernel/f926567f-8df4-4812-a8ce- 6383a32307d2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.