All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/5] Remove unnecessary functions and return
@ 2019-03-22 14:38 Nishka Dasgupta
  2019-03-22 14:38 ` [PATCH v2 1/5] staging; rtl8723bs: Remove unnecessary function rtw_init_mlme_priv() Nishka Dasgupta
                   ` (4 more replies)
  0 siblings, 5 replies; 9+ messages in thread
From: Nishka Dasgupta @ 2019-03-22 14:38 UTC (permalink / raw)
  To: gregkh, outreachy-kernel; +Cc: Nishka Dasgupta

Remove unnecessary functions and return variables in the driver
rtl8723bs. Issues found while using ret.cocci and Coccinelle.

Nishka Dasgupta (5):
  staging; rtl8723bs: Remove unnecessary function rtw_init_mlme_priv()
  staging: rtl8723bs: core: Change datatype from sint to int
  staging: rtl8723bs: core: Remove parentheses
  staging: rtl8723bs: Remove function rtw_alloc_network()
  staging: rtl8723bs: core: Remove return variable in rtw_io.c

 drivers/staging/rtl8723bs/core/rtw_cmd.c     |  2 +-
 drivers/staging/rtl8723bs/core/rtw_io.c      |  3 +-
 drivers/staging/rtl8723bs/core/rtw_mlme.c    | 39 ++++++--------------
 drivers/staging/rtl8723bs/include/rtw_mlme.h |  4 +-
 4 files changed, 14 insertions(+), 34 deletions(-)

-- 
Changes in v2:
- Drop Patches 1 and 2 from series as they have already been accepted.
- Remove functions that now consist of only one return statement.
- Remove trailing whitespace.
- Change function datatypes and names.
2.19.1



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

* [PATCH v2 1/5] staging; rtl8723bs: Remove unnecessary function rtw_init_mlme_priv()
  2019-03-22 14:38 [PATCH v2 0/5] Remove unnecessary functions and return Nishka Dasgupta
@ 2019-03-22 14:38 ` Nishka Dasgupta
  2019-03-22 14:38 ` [PATCH v2 2/5] staging: rtl8723bs: core: Change datatype from sint to int Nishka Dasgupta
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 9+ messages in thread
From: Nishka Dasgupta @ 2019-03-22 14:38 UTC (permalink / raw)
  To: gregkh, outreachy-kernel; +Cc: Nishka Dasgupta

Remove function rtw_init_mlme_priv() as all it does is call
_rtw_init_mlme_priv().
Change the name of _rtw_init_mlme_priv() to rtw_init_mlme_priv() and its
return type to int.
Remove references to _rtw_init_mlme_priv() from the corresponding header
file.
Suggestion to delete return variable from rtw_init_mlme_priv() put forward
by Coccinelle using ret.cocci.

Signed-off-by: Nishka Dasgupta <nishka.dasgupta@yahoo.com>
---
Changes in v2:
- Remove rtw_init_mlme_priv entirely, now that it has been whittled down
  to a single return statement.
- Make the other changes listed above.

 drivers/staging/rtl8723bs/core/rtw_mlme.c    | 13 ++-----------
 drivers/staging/rtl8723bs/include/rtw_mlme.h |  2 --
 2 files changed, 2 insertions(+), 13 deletions(-)

diff --git a/drivers/staging/rtl8723bs/core/rtw_mlme.c b/drivers/staging/rtl8723bs/core/rtw_mlme.c
index 79adc6f1e53a..8f1defdd47f0 100644
--- a/drivers/staging/rtl8723bs/core/rtw_mlme.c
+++ b/drivers/staging/rtl8723bs/core/rtw_mlme.c
@@ -13,13 +13,13 @@
 
 extern u8 rtw_do_join(struct adapter *padapter);
 
-sint	_rtw_init_mlme_priv(struct adapter *padapter)
+int	rtw_init_mlme_priv(struct adapter *padapter)
 {
 	sint	i;
 	u8 *pbuf;
 	struct wlan_network	*pnetwork;
 	struct mlme_priv 	*pmlmepriv = &padapter->mlmepriv;
-	sint	res = _SUCCESS;
+	int	res = _SUCCESS;
 
 	pmlmepriv->nic_hdl = (u8 *)padapter;
 
@@ -350,15 +350,6 @@ u8 *rtw_get_beacon_interval_from_ie(u8 *ie)
 	return (ie + 8);
 }
 
-
-int	rtw_init_mlme_priv(struct adapter *padapter)/* struct	mlme_priv *pmlmepriv) */
-{
-	int	res;
-
-	res = _rtw_init_mlme_priv(padapter);/*  (pmlmepriv); */
-	return res;
-}
-
 void rtw_free_mlme_priv(struct mlme_priv *pmlmepriv)
 {
 	RT_TRACE(_module_rtl871x_mlme_c_, _drv_err_, ("rtw_free_mlme_priv\n"));
diff --git a/drivers/staging/rtl8723bs/include/rtw_mlme.h b/drivers/staging/rtl8723bs/include/rtw_mlme.h
index ed59f16c26c4..82f378c6789e 100644
--- a/drivers/staging/rtl8723bs/include/rtw_mlme.h
+++ b/drivers/staging/rtl8723bs/include/rtw_mlme.h
@@ -592,8 +592,6 @@ void rtw_clear_scan_deny(struct adapter *adapter);
 void rtw_set_scan_deny_timer_hdl(struct adapter *adapter);
 void rtw_set_scan_deny(struct adapter *adapter, u32 ms);
 
-extern int _rtw_init_mlme_priv(struct adapter *padapter);
-
 void rtw_free_mlme_priv_ie_data(struct mlme_priv *pmlmepriv);
 
 extern void _rtw_free_mlme_priv(struct mlme_priv *pmlmepriv);
-- 
2.19.1



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

* [PATCH v2 2/5] staging: rtl8723bs: core: Change datatype from sint to int
  2019-03-22 14:38 [PATCH v2 0/5] Remove unnecessary functions and return Nishka Dasgupta
  2019-03-22 14:38 ` [PATCH v2 1/5] staging; rtl8723bs: Remove unnecessary function rtw_init_mlme_priv() Nishka Dasgupta
@ 2019-03-22 14:38 ` Nishka Dasgupta
  2019-03-22 14:38 ` [PATCH v2 3/5] staging: rtl8723bs: core: Remove parentheses Nishka Dasgupta
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 9+ messages in thread
From: Nishka Dasgupta @ 2019-03-22 14:38 UTC (permalink / raw)
  To: gregkh, outreachy-kernel; +Cc: Nishka Dasgupta

Change datatype of local variable from sint to int.

Signed-off-by: Nishka Dasgupta <nishka.dasgupta@yahoo.com>
---
Changes in v2:
- Add this patch to the patch series.

 drivers/staging/rtl8723bs/core/rtw_mlme.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/staging/rtl8723bs/core/rtw_mlme.c b/drivers/staging/rtl8723bs/core/rtw_mlme.c
index 8f1defdd47f0..599958819d2d 100644
--- a/drivers/staging/rtl8723bs/core/rtw_mlme.c
+++ b/drivers/staging/rtl8723bs/core/rtw_mlme.c
@@ -15,7 +15,7 @@ extern u8 rtw_do_join(struct adapter *padapter);
 
 int	rtw_init_mlme_priv(struct adapter *padapter)
 {
-	sint	i;
+	int	i;
 	u8 *pbuf;
 	struct wlan_network	*pnetwork;
 	struct mlme_priv 	*pmlmepriv = &padapter->mlmepriv;
-- 
2.19.1



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

* [PATCH v2 3/5] staging: rtl8723bs: core: Remove parentheses
  2019-03-22 14:38 [PATCH v2 0/5] Remove unnecessary functions and return Nishka Dasgupta
  2019-03-22 14:38 ` [PATCH v2 1/5] staging; rtl8723bs: Remove unnecessary function rtw_init_mlme_priv() Nishka Dasgupta
  2019-03-22 14:38 ` [PATCH v2 2/5] staging: rtl8723bs: core: Change datatype from sint to int Nishka Dasgupta
@ 2019-03-22 14:38 ` Nishka Dasgupta
  2019-03-22 14:38 ` [PATCH v2 4/5] staging: rtl8723bs: Remove function rtw_alloc_network() Nishka Dasgupta
  2019-03-22 14:38 ` [PATCH v2 5/5] staging: rtl8723bs: core: Remove return variable in rtw_io.c Nishka Dasgupta
  4 siblings, 0 replies; 9+ messages in thread
From: Nishka Dasgupta @ 2019-03-22 14:38 UTC (permalink / raw)
  To: gregkh, outreachy-kernel; +Cc: Nishka Dasgupta

Remove unnecessary parentheses around variables. Issue found with
Checkpatch.

Signed-off-by: Nishka Dasgupta <nishka.dasgupta@yahoo.com>
---
Changes in v2:
- Add this patch to the series.

 drivers/staging/rtl8723bs/core/rtw_mlme.c | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/drivers/staging/rtl8723bs/core/rtw_mlme.c b/drivers/staging/rtl8723bs/core/rtw_mlme.c
index 599958819d2d..8b3a095f0c4c 100644
--- a/drivers/staging/rtl8723bs/core/rtw_mlme.c
+++ b/drivers/staging/rtl8723bs/core/rtw_mlme.c
@@ -29,9 +29,9 @@ int	rtw_init_mlme_priv(struct adapter *padapter)
 	pmlmepriv->cur_network.network.InfrastructureMode = Ndis802_11AutoUnknown;
 	pmlmepriv->scan_mode = SCAN_ACTIVE;/*  1: active, 0: pasive. Maybe someday we should rename this varable to "active_mode" (Jeff) */
 
-	spin_lock_init(&(pmlmepriv->lock));
-	_rtw_init_queue(&(pmlmepriv->free_bss_pool));
-	_rtw_init_queue(&(pmlmepriv->scanned_queue));
+	spin_lock_init(&pmlmepriv->lock);
+	_rtw_init_queue(&pmlmepriv->free_bss_pool);
+	_rtw_init_queue(&pmlmepriv->scanned_queue);
 
 	set_scanned_network_val(pmlmepriv, 0);
 
@@ -48,9 +48,9 @@ int	rtw_init_mlme_priv(struct adapter *padapter)
 	pnetwork = (struct wlan_network *)pbuf;
 
 	for (i = 0; i < MAX_BSS_CNT; i++) {
-		INIT_LIST_HEAD(&(pnetwork->list));
+		INIT_LIST_HEAD(&pnetwork->list);
 
-		list_add_tail(&(pnetwork->list), &(pmlmepriv->free_bss_pool.queue));
+		list_add_tail(&pnetwork->list, &pmlmepriv->free_bss_pool.queue);
 
 		pnetwork++;
 	}
-- 
2.19.1



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

* [PATCH v2 4/5] staging: rtl8723bs: Remove function rtw_alloc_network()
  2019-03-22 14:38 [PATCH v2 0/5] Remove unnecessary functions and return Nishka Dasgupta
                   ` (2 preceding siblings ...)
  2019-03-22 14:38 ` [PATCH v2 3/5] staging: rtl8723bs: core: Remove parentheses Nishka Dasgupta
@ 2019-03-22 14:38 ` Nishka Dasgupta
  2019-03-22 14:38 ` [PATCH v2 5/5] staging: rtl8723bs: core: Remove return variable in rtw_io.c Nishka Dasgupta
  4 siblings, 0 replies; 9+ messages in thread
From: Nishka Dasgupta @ 2019-03-22 14:38 UTC (permalink / raw)
  To: gregkh, outreachy-kernel; +Cc: Nishka Dasgupta

Remove function rtw_alloc_network() as all it does is call
_rtw_alloc_network().
Rename _rtw_alloc_network() to rtw_alloc_network().
Change references to _rtw_alloc_network() to refer to
rtw_alloc_network().
Issue first noticed while using Coccinelle and ret.cocci.

Signed-off-by: Nishka Dasgupta <nishka.dasgupta@yahoo.com>
---
Changes in v2:
- Delete rtw_alloc_network() entirely, now that it was only a return
  statement.
- Make changes listed above. 

 drivers/staging/rtl8723bs/core/rtw_cmd.c     |  2 +-
 drivers/staging/rtl8723bs/core/rtw_mlme.c    | 14 +++-----------
 drivers/staging/rtl8723bs/include/rtw_mlme.h |  2 +-
 3 files changed, 5 insertions(+), 13 deletions(-)

diff --git a/drivers/staging/rtl8723bs/core/rtw_cmd.c b/drivers/staging/rtl8723bs/core/rtw_cmd.c
index 04c6927dab8b..ecaa769f12e6 100644
--- a/drivers/staging/rtl8723bs/core/rtw_cmd.c
+++ b/drivers/staging/rtl8723bs/core/rtw_cmd.c
@@ -2100,7 +2100,7 @@ void rtw_createbss_cmd_callback(struct adapter *padapter, struct cmd_obj *pcmd)
 
 		rtw_indicate_connect(padapter);
 	} else {
-		pwlan = _rtw_alloc_network(pmlmepriv);
+		pwlan = rtw_alloc_network(pmlmepriv);
 		spin_lock_bh(&(pmlmepriv->scanned_queue.lock));
 		if (pwlan == NULL) {
 			pwlan = rtw_get_oldest_wlan_network(&pmlmepriv->scanned_queue);
diff --git a/drivers/staging/rtl8723bs/core/rtw_mlme.c b/drivers/staging/rtl8723bs/core/rtw_mlme.c
index 8b3a095f0c4c..552df9e3cd14 100644
--- a/drivers/staging/rtl8723bs/core/rtw_mlme.c
+++ b/drivers/staging/rtl8723bs/core/rtw_mlme.c
@@ -143,7 +143,7 @@ struct	wlan_network *_rtw_dequeue_network(struct __queue *queue)
 }
 */
 
-struct	wlan_network *_rtw_alloc_network(struct	mlme_priv *pmlmepriv)/* _queue *free_queue) */
+struct	wlan_network *rtw_alloc_network(struct	mlme_priv *pmlmepriv)
 {
 	struct	wlan_network	*pnetwork;
 	struct __queue *free_queue = &pmlmepriv->free_bss_pool;
@@ -161,7 +161,8 @@ struct	wlan_network *_rtw_alloc_network(struct	mlme_priv *pmlmepriv)/* _queue *f
 
 	list_del_init(&pnetwork->list);
 
-	RT_TRACE(_module_rtl871x_mlme_c_, _drv_info_, ("_rtw_alloc_network: ptr =%p\n", plist));
+	RT_TRACE(_module_rtl871x_mlme_c_, _drv_info_,
+		 ("rtw_alloc_network: ptr =%p\n", plist));
 	pnetwork->network_type = 0;
 	pnetwork->fixed = false;
 	pnetwork->last_scanned = jiffies;
@@ -366,15 +367,6 @@ static struct	wlan_network *rtw_dequeue_network(struct __queue *queue)
 }
 */
 
-struct	wlan_network *rtw_alloc_network(struct	mlme_priv *pmlmepriv);
-struct	wlan_network *rtw_alloc_network(struct	mlme_priv *pmlmepriv)/* _queue	*free_queue) */
-{
-	struct	wlan_network	*pnetwork;
-
-	pnetwork = _rtw_alloc_network(pmlmepriv);
-	return pnetwork;
-}
-
 void rtw_free_network_nolock(struct adapter *padapter, struct wlan_network *pnetwork);
 void rtw_free_network_nolock(struct adapter *padapter, struct wlan_network *pnetwork)
 {
diff --git a/drivers/staging/rtl8723bs/include/rtw_mlme.h b/drivers/staging/rtl8723bs/include/rtw_mlme.h
index 82f378c6789e..2693b554f414 100644
--- a/drivers/staging/rtl8723bs/include/rtw_mlme.h
+++ b/drivers/staging/rtl8723bs/include/rtw_mlme.h
@@ -598,7 +598,7 @@ extern void _rtw_free_mlme_priv(struct mlme_priv *pmlmepriv);
 
 /* extern struct wlan_network* _rtw_dequeue_network(struct __queue *queue); */
 
-extern struct wlan_network* _rtw_alloc_network(struct mlme_priv *pmlmepriv);
+extern struct wlan_network *rtw_alloc_network(struct mlme_priv *pmlmepriv);
 
 
 extern void _rtw_free_network(struct mlme_priv *pmlmepriv, struct wlan_network *pnetwork, u8 isfreeall);
-- 
2.19.1



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

* [PATCH v2 5/5] staging: rtl8723bs: core: Remove return variable in rtw_io.c
  2019-03-22 14:38 [PATCH v2 0/5] Remove unnecessary functions and return Nishka Dasgupta
                   ` (3 preceding siblings ...)
  2019-03-22 14:38 ` [PATCH v2 4/5] staging: rtl8723bs: Remove function rtw_alloc_network() Nishka Dasgupta
@ 2019-03-22 14:38 ` Nishka Dasgupta
  2019-03-24  8:49   ` Greg KH
  4 siblings, 1 reply; 9+ messages in thread
From: Nishka Dasgupta @ 2019-03-22 14:38 UTC (permalink / raw)
  To: gregkh, outreachy-kernel; +Cc: Nishka Dasgupta

Remove unnecessary local return variable in rtw_io.c. Issue found with
Coccinelle using ret.cocci.

Signed-off-by: Nishka Dasgupta <nishka.dasgupta@yahoo.com>
---
Changes in v2:
- Remove trailing whitespace.

 drivers/staging/rtl8723bs/core/rtw_io.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/drivers/staging/rtl8723bs/core/rtw_io.c b/drivers/staging/rtl8723bs/core/rtw_io.c
index d341069097e2..985eaa49ad3c 100644
--- a/drivers/staging/rtl8723bs/core/rtw_io.c
+++ b/drivers/staging/rtl8723bs/core/rtw_io.c
@@ -45,8 +45,7 @@ u8 _rtw_read8(struct adapter *adapter, u32 addr)
 
 	_read8 = pintfhdl->io_ops._read8;
 
-	r_val = _read8(pintfhdl, addr);
-	return r_val;
+	return _read8(pintfhdl, addr);
 }
 
 u16 _rtw_read16(struct adapter *adapter, u32 addr)
-- 
2.19.1



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

* Re: [PATCH v2 5/5] staging: rtl8723bs: core: Remove return variable in rtw_io.c
  2019-03-22 14:38 ` [PATCH v2 5/5] staging: rtl8723bs: core: Remove return variable in rtw_io.c Nishka Dasgupta
@ 2019-03-24  8:49   ` Greg KH
  2019-03-24  8:53     ` Greg KH
  0 siblings, 1 reply; 9+ messages in thread
From: Greg KH @ 2019-03-24  8:49 UTC (permalink / raw)
  To: Nishka Dasgupta; +Cc: outreachy-kernel

On Fri, Mar 22, 2019 at 08:08:27PM +0530, Nishka Dasgupta wrote:
> Remove unnecessary local return variable in rtw_io.c. Issue found with
> Coccinelle using ret.cocci.
> 
> Signed-off-by: Nishka Dasgupta <nishka.dasgupta@yahoo.com>
> ---
> Changes in v2:
> - Remove trailing whitespace.
> 
>  drivers/staging/rtl8723bs/core/rtw_io.c | 3 +--
>  1 file changed, 1 insertion(+), 2 deletions(-)
> 
> diff --git a/drivers/staging/rtl8723bs/core/rtw_io.c b/drivers/staging/rtl8723bs/core/rtw_io.c
> index d341069097e2..985eaa49ad3c 100644
> --- a/drivers/staging/rtl8723bs/core/rtw_io.c
> +++ b/drivers/staging/rtl8723bs/core/rtw_io.c
> @@ -45,8 +45,7 @@ u8 _rtw_read8(struct adapter *adapter, u32 addr)
>  
>  	_read8 = pintfhdl->io_ops._read8;
>  
> -	r_val = _read8(pintfhdl, addr);
> -	return r_val;
> +	return _read8(pintfhdl, addr);

This did not give you a build warning when you applied it?  Odd, let me
check...


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

* Re: [PATCH v2 5/5] staging: rtl8723bs: core: Remove return variable in rtw_io.c
  2019-03-24  8:49   ` Greg KH
@ 2019-03-24  8:53     ` Greg KH
  2019-03-24 17:48       ` [Outreachy kernel] " Nishka Dasgupta
  0 siblings, 1 reply; 9+ messages in thread
From: Greg KH @ 2019-03-24  8:53 UTC (permalink / raw)
  To: Nishka Dasgupta; +Cc: outreachy-kernel

On Sun, Mar 24, 2019 at 09:49:46AM +0100, Greg KH wrote:
> On Fri, Mar 22, 2019 at 08:08:27PM +0530, Nishka Dasgupta wrote:
> > Remove unnecessary local return variable in rtw_io.c. Issue found with
> > Coccinelle using ret.cocci.
> > 
> > Signed-off-by: Nishka Dasgupta <nishka.dasgupta@yahoo.com>
> > ---
> > Changes in v2:
> > - Remove trailing whitespace.
> > 
> >  drivers/staging/rtl8723bs/core/rtw_io.c | 3 +--
> >  1 file changed, 1 insertion(+), 2 deletions(-)
> > 
> > diff --git a/drivers/staging/rtl8723bs/core/rtw_io.c b/drivers/staging/rtl8723bs/core/rtw_io.c
> > index d341069097e2..985eaa49ad3c 100644
> > --- a/drivers/staging/rtl8723bs/core/rtw_io.c
> > +++ b/drivers/staging/rtl8723bs/core/rtw_io.c
> > @@ -45,8 +45,7 @@ u8 _rtw_read8(struct adapter *adapter, u32 addr)
> >  
> >  	_read8 = pintfhdl->io_ops._read8;
> >  
> > -	r_val = _read8(pintfhdl, addr);
> > -	return r_val;
> > +	return _read8(pintfhdl, addr);
> 
> This did not give you a build warning when you applied it?  Odd, let me
> check...

Yes, this adds a build warning, so I can not take this patch.

Always test-build your patches.

thanks,

greg k-h


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

* Re: [Outreachy kernel] Re: [PATCH v2 5/5] staging: rtl8723bs: core: Remove return variable in rtw_io.c
  2019-03-24  8:53     ` Greg KH
@ 2019-03-24 17:48       ` Nishka Dasgupta
  0 siblings, 0 replies; 9+ messages in thread
From: Nishka Dasgupta @ 2019-03-24 17:48 UTC (permalink / raw)
  To: Greg KH; +Cc: Nishka Dasgupta, outreachy-kernel

On Sun, Mar 24, 2019 at 2:23 PM Greg KH <gregkh@linuxfoundation.org> wrote:
>
> On Sun, Mar 24, 2019 at 09:49:46AM +0100, Greg KH wrote:
> > On Fri, Mar 22, 2019 at 08:08:27PM +0530, Nishka Dasgupta wrote:
> > > Remove unnecessary local return variable in rtw_io.c. Issue found with
> > > Coccinelle using ret.cocci.
> > >
> > > Signed-off-by: Nishka Dasgupta <nishka.dasgupta@yahoo.com>
> > > ---
> > > Changes in v2:
> > > - Remove trailing whitespace.
> > >
> > >  drivers/staging/rtl8723bs/core/rtw_io.c | 3 +--
> > >  1 file changed, 1 insertion(+), 2 deletions(-)
> > >
> > > diff --git a/drivers/staging/rtl8723bs/core/rtw_io.c b/drivers/staging/rtl8723bs/core/rtw_io.c
> > > index d341069097e2..985eaa49ad3c 100644
> > > --- a/drivers/staging/rtl8723bs/core/rtw_io.c
> > > +++ b/drivers/staging/rtl8723bs/core/rtw_io.c
> > > @@ -45,8 +45,7 @@ u8 _rtw_read8(struct adapter *adapter, u32 addr)
> > >
> > >     _read8 = pintfhdl->io_ops._read8;
> > >
> > > -   r_val = _read8(pintfhdl, addr);
> > > -   return r_val;
> > > +   return _read8(pintfhdl, addr);
> >
> > This did not give you a build warning when you applied it?  Odd, let me
> > check...
>
> Yes, this adds a build warning, so I can not take this patch.
>
> Always test-build your patches.

Sorry about that! I'll take another look at this.
- Nishka

> thanks,
>
> greg k-h
>
> --
> 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 outreachy-kernel+unsubscribe@googlegroups.com.
> To post to this group, send email to outreachy-kernel@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/outreachy-kernel/20190324085328.GA21171%40kroah.com.
> For more options, visit https://groups.google.com/d/optout.


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

end of thread, other threads:[~2019-03-24 17:48 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-03-22 14:38 [PATCH v2 0/5] Remove unnecessary functions and return Nishka Dasgupta
2019-03-22 14:38 ` [PATCH v2 1/5] staging; rtl8723bs: Remove unnecessary function rtw_init_mlme_priv() Nishka Dasgupta
2019-03-22 14:38 ` [PATCH v2 2/5] staging: rtl8723bs: core: Change datatype from sint to int Nishka Dasgupta
2019-03-22 14:38 ` [PATCH v2 3/5] staging: rtl8723bs: core: Remove parentheses Nishka Dasgupta
2019-03-22 14:38 ` [PATCH v2 4/5] staging: rtl8723bs: Remove function rtw_alloc_network() Nishka Dasgupta
2019-03-22 14:38 ` [PATCH v2 5/5] staging: rtl8723bs: core: Remove return variable in rtw_io.c Nishka Dasgupta
2019-03-24  8:49   ` Greg KH
2019-03-24  8:53     ` Greg KH
2019-03-24 17:48       ` [Outreachy kernel] " Nishka Dasgupta

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.