Skip to contentSkip to conversation

staging: wilc1000: Modify return statement

PATCH In review Sanjana Sanikommu 3 participants 16 messages Mar 30, 2019 – Mar 31, 2019 Staging

lore
Share & tools
lore
#0 lore raw

cover staging: wilc1000: Modify return statement

This patchset does the following things.
1.Modify return statement in wilc_spi.c
2.Modify return statement in host_interface.c

Changes in v3:
Make a patch series.

Changes in v2:
Adjust spaces for last argument in return statement host_interface.c. Adjust space for last argument in return statement in wilc_spi.c.

Sanjana Sanikommu (2):
staging: wilc1000: wilc_spi.c: Modify return statement.
staging: wilc1000: host_interface.c: Modify return statement.

 drivers/staging/wilc1000/host_interface.c | 31 +++++++----------------
 drivers/staging/wilc1000/wilc_spi.c       | 10 +++-----
 2 files changed, 13 insertions(+), 28 deletions(-)
Signature · 1 line
2.17.1
#1 lore raw

PATCH v3 1/2 staging: wilc1000: wilc_spi.c: Modify return statement.

Challenge suggested by coccinelle.
Remove return variable and directly return the value Issue found using ret.cocci

---
Changes in v3:
Make a patch series.

Changes in v2:
Adjust space for last argument in return statement.

 drivers/staging/wilc1000/wilc_spi.c | 10 ++++------
 1 file changed, 4 insertions(+), 6 deletions(-)
drivers/staging/wilc1000/wilc_spi.c +4 -6
index 4a1be9e60d74..47c777c5d1a7 100644
@@ -934,9 +934,8 @@ static int wilc_spi_read_int(struct wilc *wilc, u32 *int_status)
 	int k = IRG_FLAGS_OFFSET + 5;
 
 	if (spi_priv->has_thrpt_enh) {
-		ret = spi_internal_read(wilc, 0xe840 - WILC_SPI_REG_BASE,
-					int_status);
-		return ret;
+		return spi_internal_read(wilc, 0xe840 - WILC_SPI_REG_BASE,
+					 int_status);
 	}
 	ret = wilc_spi_read_reg(wilc, WILC_VMM_TO_HOST_SIZE, &byte_cnt);
 	if (!ret) {
@@ -982,9 +981,8 @@ static int wilc_spi_clear_int_ext(struct wilc *wilc, u32 val)
 	u32 tbl_ctl;
 
 	if (spi_priv->has_thrpt_enh) {
-		ret = spi_internal_write(wilc, 0xe844 - WILC_SPI_REG_BASE,
-					 val);
-		return ret;
+		return spi_internal_write(wilc, 0xe844 - WILC_SPI_REG_BASE,
+					  val);
 	}
 
 	flags = val & (BIT(MAX_NUM_INT) - 1);
Signature · 1 line
2.17.1
#2 lore raw

PATCH v3 2/2 staging: wilc1000: host_interface.c: Modify return statement.

In reply to Sanjana Sanikommu

Challenge suggested by coccinelle.
Remove return variable and directly return the value Issue found using ret.cocci

---
Changes in v3:
Make a patch series.

Changes in v2:
Adjust space for last argument in return statement.

 drivers/staging/wilc1000/host_interface.c | 31 +++++++----------------
 1 file changed, 9 insertions(+), 22 deletions(-)
drivers/staging/wilc1000/host_interface.c +9 -22
index 4dd9a20f6a0b..09c3095c0392 100644
@@ -1358,17 +1358,14 @@ int wilc_add_rx_gtk(struct wilc_vif *vif, const u8 *rx_gtk, u8 gtk_key_len,
 int wilc_set_pmkid_info(struct wilc_vif *vif, struct wilc_pmkid_attr *pmkid)
 {
 	struct wid wid;
-	int result;
 
 	wid.id = WID_PMKID_INFO;
 	wid.type = WID_STR;
 	wid.size = (pmkid->numpmkid * sizeof(struct wilc_pmkid)) + 1;
 	wid.val = (u8 *)pmkid;
 
-	result = wilc_send_config_pkt(vif, WILC_SET_CFG, &wid, 1,
-				      wilc_get_vif_idx(vif));
-
-	return result;
+	return wilc_send_config_pkt(vif, WILC_SET_CFG, &wid, 1,
+				    wilc_get_vif_idx(vif));
 }
 
 int wilc_get_mac_address(struct wilc_vif *vif, u8 *mac_addr)
@@ -1403,8 +1400,7 @@ int wilc_set_join_req(struct wilc_vif *vif, u8 *bssid, const u8 *ies,
 		conn_info->req_ies_len = ies_len;
 		conn_info->req_ies = kmemdup(ies, ies_len, GFP_KERNEL);
 		if (!conn_info->req_ies) {
-			result = -ENOMEM;
-			return result;
+			return -ENOMEM;
 		}
 	}
 
@@ -1570,7 +1566,6 @@ int wilc_hif_set_cfg(struct wilc_vif *vif, struct cfg_param_attr *param)
 {
 	struct wid wid_list[4];
 	int i = 0;
-	int result;
 
 	if (param->flag & WILC_CFG_PARAM_RETRY_SHORT) {
 		wid_list[i].id = WID_SHORT_RETRY_LIMIT;
@@ -1601,10 +1596,8 @@ int wilc_hif_set_cfg(struct wilc_vif *vif, struct cfg_param_attr *param)
 		i++;
 	}
 
-	result = wilc_send_config_pkt(vif, WILC_SET_CFG, wid_list,
-				      i, wilc_get_vif_idx(vif));
-
-	return result;
+	return wilc_send_config_pkt(vif, WILC_SET_CFG, wid_list,
+				    i, wilc_get_vif_idx(vif));
 }
 
 static void get_periodic_rssi(struct timer_list *t)
@@ -2121,7 +2114,6 @@ int wilc_setup_multicast_filter(struct wilc_vif *vif, u32 enabled, u32 count,
 
 int wilc_set_tx_power(struct wilc_vif *vif, u8 tx_power)
 {
-	int ret;
 	struct wid wid;
 
 	wid.id = WID_TX_POWER;
@@ -2129,15 +2121,12 @@ int wilc_set_tx_power(struct wilc_vif *vif, u8 tx_power)
 	wid.val = &tx_power;
 	wid.size = sizeof(char);
 
-	ret = wilc_send_config_pkt(vif, WILC_SET_CFG, &wid, 1,
-				   wilc_get_vif_idx(vif));
-
-	return ret;
+	return wilc_send_config_pkt(vif, WILC_SET_CFG, &wid, 1,
+				    wilc_get_vif_idx(vif));
 }
 
 int wilc_get_tx_power(struct wilc_vif *vif, u8 *tx_power)
 {
-	int ret;
 	struct wid wid;
 
 	wid.id = WID_TX_POWER;
@@ -2145,8 +2134,6 @@ int wilc_get_tx_power(struct wilc_vif *vif, u8 *tx_power)
 	wid.val = tx_power;
 	wid.size = sizeof(char);
 
-	ret = wilc_send_config_pkt(vif, WILC_GET_CFG, &wid, 1,
-				   wilc_get_vif_idx(vif));
-
-	return ret;
+	return wilc_send_config_pkt(vif, WILC_GET_CFG, &wid, 1,
+				    wilc_get_vif_idx(vif));
 }
Signature · 1 line
2.17.1
#3 lore raw
In reply to Sanjana Sanikommu

The cover letter should also be v3.

julia

Quoted 29 lines · Sanjana Sanikommu

This patchset does the following things.
1.Modify return statement in wilc_spi.c
2.Modify return statement in host_interface.c

Changes in v3:
Make a patch series.

Changes in v2:
Adjust spaces for last argument in return statement host_interface.c. Adjust space for last argument in return statement in wilc_spi.c.

Sanjana Sanikommu (2):
staging: wilc1000: wilc_spi.c: Modify return statement.
staging: wilc1000: host_interface.c: Modify return statement.

 drivers/staging/wilc1000/host_interface.c | 31 +++++++----------------
 drivers/staging/wilc1000/wilc_spi.c       | 10 +++-----
 2 files changed, 13 insertions(+), 28 deletions(-)

--
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/20190330170116.4761-1-sanjana99reddy99%40gmail.com.
For more options, visit https://groups.google.com/d/optout.

#4 lore raw
Quoted 2 lines · On Sat, 30 Mar 2019, 22:35 Julia Lawall, <[email protected]> wrote:

The cover letter should also be v3.

Shall I change the version number for only cover letter or send again
the whole series in v4?plz let me know.

Sanjana.

Quoted 39 lines

julia

Quoted 19 lines · Sanjana Sanikommu

This patchset does the following things.
1.Modify return statement in wilc_spi.c
2.Modify return statement in host_interface.c

Changes in v3:
Make a patch series.

Changes in v2:
Adjust spaces for last argument in return statement host_interface.c. Adjust space for last argument in return statement in wilc_spi.c.

Sanjana Sanikommu (2):
staging: wilc1000: wilc_spi.c: Modify return statement.
staging: wilc1000: host_interface.c: Modify return statement.

 drivers/staging/wilc1000/host_interface.c | 31 +++++++----------------
 drivers/staging/wilc1000/wilc_spi.c       | 10 +++-----
 2 files changed, 13 insertions(+), 28 deletions(-)
Quoted 5 lines

--
2.17.1

--
You received this message because you are subscribed to the Google

Groups "outreachy-kernel" group.

Quoted 1 line

To unsubscribe from this group and stop receiving emails from it, send

an email to [email protected].

Quoted 2 lines

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/20190330170116.4761-1-sanjana99reddy99%40gmail.com
.

Quoted 2 lines

For more options, visit https://groups.google.com/d/optout.

#5 lore raw
Quoted 8 lines · Sanjana Sanikommu

On Sat, 30 Mar 2019, 22:35 Julia Lawall, <[email protected]> wrote:
The cover letter should also be v3.

     Shall I change the version number for only cover letter or send again the whole series in v4?plz let me know.

Sendng the whole thing again as v4 would be more clear.

julia

Quoted 57 lines


Sanjana.

julia

On Sat, 30 Mar 2019, Sanjana Sanikommu wrote:

> This patchset does the following things.
> 1.Modify return statement in wilc_spi.c
> 2.Modify return statement in host_interface.c
>
> Changes in v3:
> Make a patch series.
>
> Changes in v2:
> Adjust spaces for last argument in return statement
host_interface.c.
> Adjust space for last argument in return statement in
wilc_spi.c.
>
> Sanjana Sanikommu (2):
>   staging: wilc1000: wilc_spi.c: Modify return statement.
>   staging: wilc1000: host_interface.c: Modify return
statement.
>
>  drivers/staging/wilc1000/host_interface.c | 31
+++++++----------------
>  drivers/staging/wilc1000/wilc_spi.c       | 10 +++-----
>  2 files changed, 13 insertions(+), 28 deletions(-)
>
> --
> 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 visithttps://groups.google.com/d/msgid/outreachy-kernel/20190330170116.4761-1-sa njana99reddy99%40gmail.com.
> For more options, visit https://groups.google.com/d/optout.
>

--
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/CAO-bXGDmAJVPyODMynGrPTu ttnKkJbivpaVYQSUYAOmj8v4e%2BQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

#6 lore raw
Quoted 9 lines · Julia Lawall
Quoted 3 lines · Sanjana Sanikommu

On Sat, 30 Mar 2019, 22:35 Julia Lawall, <[email protected] <javascript:>>

wrote:

Quoted 9 lines
Quoted 4 lines

The cover letter should also be v3.

Shall I change the version number for only cover letter or send

again

Quoted 1 line

the whole series in v4?plz let me know.

Sendng the whole thing again as v4 would be more clear.

Sure, I would send :)
Sanjana

Quoted 66 lines

julia

Quoted 34 lines

Sanjana.

julia

On Sat, 30 Mar 2019, Sanjana Sanikommu wrote:

> This patchset does the following things.
> 1.Modify return statement in wilc_spi.c
> 2.Modify return statement in host_interface.c >
> Changes in v3:
> Make a patch series.
>
> Changes in v2:
> Adjust spaces for last argument in return statement host_interface.c.
> Adjust space for last argument in return statement in wilc_spi.c.
>
> Sanjana Sanikommu (2):
> staging: wilc1000: wilc_spi.c: Modify return statement.
> staging: wilc1000: host_interface.c: Modify return
statement.
>
> drivers/staging/wilc1000/host_interface.c | 31
+++++++----------------
> drivers/staging/wilc1000/wilc_spi.c | 10 +++-----
> 2 files changed, 13 insertions(+), 28 deletions(-) >
> --
> 2.17.1
>
> --

Quoted 8 lines

> 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] <javascript:>.
> To post to this group, send email to [email protected] <javascript:>.
> To view this discussion on the web visithttps://

groups.google.com/d/msgid/outreachy-kernel/20190330170116.4761-1-sa

Quoted 6 lines
      njana99reddy99%40gmail.com. 
      > For more options, visit https://groups.google.com/d/optout. 
      > 
Signature · 1 line
You received this message because you are subscribed to the Google 

Groups

Quoted 2 lines

"outreachy-kernel" group.
To unsubscribe from this group and stop receiving emails from it, send

an

Quoted 2 lines

email to [email protected] <javascript:>.
To post to this group, send email to [email protected]

<javascript:>.

Quoted 1 line

To view this discussion on the web visithttps://

groups.google.com/d/msgid/outreachy-kernel/CAO-bXGDmAJVPyODMynGrPTu

Quoted 4 lines

ttnKkJbivpaVYQSUYAOmj8v4e%2BQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.

#7 lore raw

v4 cover staging: wilc1000: Modify return statement

In reply to Sanjana Sanikommu

This patchset does the following things.
1.Modify return statement in wilc_spi.c
2.Modify return statement in host_interface.c

Changes in v4:
Correct the version number for [PATCH 0/2] i.e
rename it as [PATCH V4 0/2]
No changes from [PATCH v3 1/2]
No changes from [PATCH v3 2/2]

Changes in v3:
Make a patch series.

Changes in v2:
Adjust spaces for last argument in return statement host_interface.c. Adjust space for last argument in return statement in wilc_spi.c.

Sanjana Sanikommu (2):
staging: wilc1000: wilc_spi.c: Modify return statement.
staging: wilc1000: host_interface.c: Modify return statement.

 drivers/staging/wilc1000/host_interface.c | 31 +++++++----------------
 drivers/staging/wilc1000/wilc_spi.c       | 10 +++-----
 2 files changed, 13 insertions(+), 28 deletions(-)
Signature · 1 line
2.17.1
#8 lore raw

PATCH v4 1/2 staging: wilc1000: wilc_spi.c: Modify return statement.

In reply to Sanjana Sanikommu

Challenge suggested by coccinelle.
Remove return variable and directly return the value Issue found using ret.cocci

---
Changes in v4:
No changes

Changes in v3:
Make a patch series.

Changes in v2:
Adjust space for last argument in return statement.

 drivers/staging/wilc1000/wilc_spi.c | 10 ++++------
 1 file changed, 4 insertions(+), 6 deletions(-)
drivers/staging/wilc1000/wilc_spi.c +4 -6
index 4a1be9e60d74..47c777c5d1a7 100644
@@ -934,9 +934,8 @@ static int wilc_spi_read_int(struct wilc *wilc, u32 *int_status)
 	int k = IRG_FLAGS_OFFSET + 5;
 
 	if (spi_priv->has_thrpt_enh) {
-		ret = spi_internal_read(wilc, 0xe840 - WILC_SPI_REG_BASE,
-					int_status);
-		return ret;
+		return spi_internal_read(wilc, 0xe840 - WILC_SPI_REG_BASE,
+					 int_status);
 	}
 	ret = wilc_spi_read_reg(wilc, WILC_VMM_TO_HOST_SIZE, &byte_cnt);
 	if (!ret) {
@@ -982,9 +981,8 @@ static int wilc_spi_clear_int_ext(struct wilc *wilc, u32 val)
 	u32 tbl_ctl;
 
 	if (spi_priv->has_thrpt_enh) {
-		ret = spi_internal_write(wilc, 0xe844 - WILC_SPI_REG_BASE,
-					 val);
-		return ret;
+		return spi_internal_write(wilc, 0xe844 - WILC_SPI_REG_BASE,
+					  val);
 	}
 
 	flags = val & (BIT(MAX_NUM_INT) - 1);
Signature · 1 line
2.17.1
maintainer
#9 lore raw

Re: [Outreachy kernel] [PATCH v4 1/2] staging: wilc1000: wilc_spi.c: Modify return statement.

Quoted 5 lines · Sanjana Sanikommu

Challenge suggested by coccinelle.
Remove return variable and directly return the value Issue found using ret.cocci

Patch does not apply to my tree at all. Please rebase and resend.

thanks,

greg k-h

#10 lore raw

Re: [Outreachy kernel] [PATCH v4 1/2] staging: wilc1000: wilc_spi.c: Modify return statement.

Quoted 6 lines · gregkh
Quoted 4 lines · Sanjana Sanikommu

Challenge suggested by coccinelle.
Remove return variable and directly return the value Issue found using ret.cocci

Quoted 7 lines
Quoted 1 line
Signed-off-by Sanjana Sanikommu <[email protected] <javascript:>>

Patch does not apply to my tree at all. Please rebase and resend.

Sure I will remove them. Thanks

Sanjana

Quoted 4 lines

thanks,

greg k-h

#11 lore raw

PATCH v4 2/2 staging: wilc1000: host_interface.c: Modify return statement.

In reply to Sanjana Sanikommu

Challenge suggested by coccinelle.
Remove return variable and directly return the value Issue found using ret.cocci

---
Changes in v4:
No changes

Changes in v3:
Make a patch series.

Changes in v2:
Adjust space for last argument in return statement.

 drivers/staging/wilc1000/host_interface.c | 31 +++++++----------------
 1 file changed, 9 insertions(+), 22 deletions(-)
drivers/staging/wilc1000/host_interface.c +9 -22
index 4dd9a20f6a0b..09c3095c0392 100644
@@ -1358,17 +1358,14 @@ int wilc_add_rx_gtk(struct wilc_vif *vif, const u8 *rx_gtk, u8 gtk_key_len,
 int wilc_set_pmkid_info(struct wilc_vif *vif, struct wilc_pmkid_attr *pmkid)
 {
 	struct wid wid;
-	int result;
 
 	wid.id = WID_PMKID_INFO;
 	wid.type = WID_STR;
 	wid.size = (pmkid->numpmkid * sizeof(struct wilc_pmkid)) + 1;
 	wid.val = (u8 *)pmkid;
 
-	result = wilc_send_config_pkt(vif, WILC_SET_CFG, &wid, 1,
-				      wilc_get_vif_idx(vif));
-
-	return result;
+	return wilc_send_config_pkt(vif, WILC_SET_CFG, &wid, 1,
+				    wilc_get_vif_idx(vif));
 }
 
 int wilc_get_mac_address(struct wilc_vif *vif, u8 *mac_addr)
@@ -1403,8 +1400,7 @@ int wilc_set_join_req(struct wilc_vif *vif, u8 *bssid, const u8 *ies,
 		conn_info->req_ies_len = ies_len;
 		conn_info->req_ies = kmemdup(ies, ies_len, GFP_KERNEL);
 		if (!conn_info->req_ies) {
-			result = -ENOMEM;
-			return result;
+			return -ENOMEM;
 		}
 	}
 
@@ -1570,7 +1566,6 @@ int wilc_hif_set_cfg(struct wilc_vif *vif, struct cfg_param_attr *param)
 {
 	struct wid wid_list[4];
 	int i = 0;
-	int result;
 
 	if (param->flag & WILC_CFG_PARAM_RETRY_SHORT) {
 		wid_list[i].id = WID_SHORT_RETRY_LIMIT;
@@ -1601,10 +1596,8 @@ int wilc_hif_set_cfg(struct wilc_vif *vif, struct cfg_param_attr *param)
 		i++;
 	}
 
-	result = wilc_send_config_pkt(vif, WILC_SET_CFG, wid_list,
-				      i, wilc_get_vif_idx(vif));
-
-	return result;
+	return wilc_send_config_pkt(vif, WILC_SET_CFG, wid_list,
+				    i, wilc_get_vif_idx(vif));
 }
 
 static void get_periodic_rssi(struct timer_list *t)
@@ -2121,7 +2114,6 @@ int wilc_setup_multicast_filter(struct wilc_vif *vif, u32 enabled, u32 count,
 
 int wilc_set_tx_power(struct wilc_vif *vif, u8 tx_power)
 {
-	int ret;
 	struct wid wid;
 
 	wid.id = WID_TX_POWER;
@@ -2129,15 +2121,12 @@ int wilc_set_tx_power(struct wilc_vif *vif, u8 tx_power)
 	wid.val = &tx_power;
 	wid.size = sizeof(char);
 
-	ret = wilc_send_config_pkt(vif, WILC_SET_CFG, &wid, 1,
-				   wilc_get_vif_idx(vif));
-
-	return ret;
+	return wilc_send_config_pkt(vif, WILC_SET_CFG, &wid, 1,
+				    wilc_get_vif_idx(vif));
 }
 
 int wilc_get_tx_power(struct wilc_vif *vif, u8 *tx_power)
 {
-	int ret;
 	struct wid wid;
 
 	wid.id = WID_TX_POWER;
@@ -2145,8 +2134,6 @@ int wilc_get_tx_power(struct wilc_vif *vif, u8 *tx_power)
 	wid.val = tx_power;
 	wid.size = sizeof(char);
 
-	ret = wilc_send_config_pkt(vif, WILC_GET_CFG, &wid, 1,
-				   wilc_get_vif_idx(vif));
-
-	return ret;
+	return wilc_send_config_pkt(vif, WILC_GET_CFG, &wid, 1,
+				    wilc_get_vif_idx(vif));
 }
Signature · 1 line
2.17.1
maintainer
#12 lore raw

Re: [PATCH v4 2/2] staging: wilc1000: host_interface.c: Modify return statement.

Quoted 5 lines · Sanjana Sanikommu

Challenge suggested by coccinelle.
Remove return variable and directly return the value Issue found using ret.cocci

Are you sure this isn't already in the tree? It does not apply.

thanks,

greg k-h

#13 lore raw

Re: [PATCH v4 2/2] staging: wilc1000: host_interface.c: Modify return statement.

Quoted 9 lines · gregkh
Quoted 5 lines · Sanjana Sanikommu

Challenge suggested by coccinelle.
Remove return variable and directly return the value Issue found using ret.cocci

Signed-off-by Sanjana Sanikommu <[email protected] <javascript:>>

Are you sure this isn't already in the tree? It does not apply.

Changes are made in drivers/staging/wilc1000/
I don't know where it went wrong.
Thank you
Sanjana

Quoted 5 lines

thanks,

greg k-h

#14 lore raw

Re: [Outreachy kernel] Re: [PATCH v4 2/2] staging: wilc1000: host_interface.c: Modify return statement.

Quoted 11 lines · On Sun, 31 Mar 2019, [email protected] wrote:

On Sunday, March 31, 2019 at 1:09:44 AM UTC+5:30, gregkh wrote:
On Sat, Mar 30, 2019 at 11:08:36PM +0530, Sanjana Sanikommu wrote:
> Challenge suggested by coccinelle.
> Remove return variable and directly return the value > Issue found using ret.cocci
>
> Signed-off-by: Sanjana Sanikommu <[email protected]>

Quoted 5 lines

Are you sure this isn't already in the tree?  It does not apply.


   Changes are made in drivers/staging/wilc1000/
   I don't know where it went wrong.

Perhaps you need to do git pull?

julia

Quoted 18 lines

   Thank you
    Sanjana

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 [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/9d78f23f-4105-4dd7-ab9e- 05faa57f23fb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

#15 lore raw

Re: [Outreachy kernel] Re: [PATCH v4 2/2] staging: wilc1000: host_interface.c: Modify return statement.

Quoted 16 lines · Julia Lawall
Quoted 11 lines · On Sun, 31 Mar 2019, [email protected] <javascript:> wrote:

On Sunday, March 31, 2019 at 1:09:44 AM UTC+5:30, gregkh wrote:
On Sat, Mar 30, 2019 at 11:08:36PM +0530, Sanjana Sanikommu wrote:
> Challenge suggested by coccinelle.
> Remove return variable and directly return the value > Issue found using ret.cocci
>
> Signed-off-by: Sanjana Sanikommu <[email protected]>

Quoted 8 lines
Quoted 5 lines

Are you sure this isn't already in the tree? It does not apply.

Changes are made in drivers/staging/wilc1000/
I don't know where it went wrong.

Perhaps you need to do git pull?

I will try that.
Thank you.
Sanjana

Quoted 26 lines

julia

Quoted 9 lines

Thank you
Sanjana

thanks,

greg k-h

Signature · 1 line
You received this message because you are subscribed to the Google 

Groups

Quoted 2 lines

"outreachy-kernel" group.
To unsubscribe from this group and stop receiving emails from it, send

an

Quoted 2 lines

email to [email protected] <javascript:>.
To post to this group, send email to [email protected]

<javascript:>.

Quoted 1 line

To view this discussion on the web visithttps://

groups.google.com/d/msgid/outreachy-kernel/9d78f23f-4105-4dd7-ab9e-

Quoted 4 lines

05faa57f23fb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.