diff for duplicates of <537B38FF.4050106@bfs.de> diff --git a/a/1.txt b/N1/1.txt index 8faa7d9..066a7f9 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -47,7 +47,7 @@ Am 20.05.2014 12:33, schrieb Peter Senna Tschudin: > > @@ -324,13 +324,13 @@ int r8712_parse_wpa_ie(u8 *wpa_ie, int wpa_ie_len, int *group_cipher, > } -> } else if (left = 1) +> } else if (left == 1) > return _FAIL; > - return ret; > + return _SUCCESS; @@ -63,7 +63,7 @@ Am 20.05.2014 12:33, schrieb Peter Senna Tschudin: > > @@ -364,7 +364,7 @@ int r8712_parse_wpa2_ie(u8 *rsn_ie, int rsn_ie_len, int *group_cipher, > } -> } else if (left = 1) +> } else if (left == 1) > return _FAIL; > - return ret; > + return _SUCCESS; @@ -138,7 +138,7 @@ Is this function still needed ? > - sint ret = _SUCCESS; > > pcmd = (struct cmd_obj *)_malloc(sizeof(struct cmd_obj)); -> if (pcmd = NULL) +> if (pcmd == NULL) > @@ -1232,7 +1231,7 @@ sint r8712_set_auth(struct _adapter *adapter, > pcmd->rspsz = 0; > _init_listhead(&pcmd->list); @@ -325,7 +325,8 @@ Is this function realy needed and why must it return int ? > if (poid_par_priv->type_of_oid != QUERY_OID) > return RNDIS_STATUS_NOT_ACCEPTED; > @@ -897,7 +887,7 @@ uint oid_rt_get_thermal_meter_hdl(struct oid_par_priv *poid_par_priv) -> *(u32 *)poid_par_priv->information_buf > Adapter->mppriv.workparam.io_value; +> *(u32 *)poid_par_priv->information_buf = +> Adapter->mppriv.workparam.io_value; > *poid_par_priv->bytes_rw = sizeof(u32); > - return status; > + return RNDIS_STATUS_SUCCESS; @@ -392,7 +393,8 @@ Is this function realy needed and why must it return int ? > if (poid_par_priv->type_of_oid != QUERY_OID) > return RNDIS_STATUS_NOT_ACCEPTED; > @@ -1270,7 +1255,7 @@ uint oid_rt_get_efuse_max_size_hdl(struct oid_par_priv *poid_par_priv) -> *(int *)poid_par_priv->information_buf > r8712_efuse_get_max_size(Adapter); +> *(int *)poid_par_priv->information_buf = +> r8712_efuse_get_max_size(Adapter); > *poid_par_priv->bytes_rw = poid_par_priv->information_buf_len; > - return status; > + return RNDIS_STATUS_SUCCESS; diff --git a/a/content_digest b/N1/content_digest index fecd9b8..ac84db7 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -1,7 +1,7 @@ "ref\01400582028-24990-1-git-send-email-peter.senna@gmail.com\0" "From\0walter harms <wharms@bfs.de>\0" "Subject\0Re: [PATCH 1/8] staging: r8712u: Remove useless return variables\0" - "Date\0Tue, 20 May 2014 11:14:07 +0000\0" + "Date\0Tue, 20 May 2014 13:14:07 +0200\0" "To\0Peter Senna Tschudin <peter.senna@gmail.com>\0" "Cc\0Larry Finger <Larry.Finger@lwfinger.net>" kernel-janitors@vger.kernel.org @@ -60,7 +60,7 @@ "> \n" "> @@ -324,13 +324,13 @@ int r8712_parse_wpa_ie(u8 *wpa_ie, int wpa_ie_len, int *group_cipher,\n" "> \t\t}\n" - "> \t} else if (left = 1)\n" + "> \t} else if (left == 1)\n" "> \t\treturn _FAIL;\n" "> -\treturn ret;\n" "> +\treturn _SUCCESS;\n" @@ -76,7 +76,7 @@ "> \n" "> @@ -364,7 +364,7 @@ int r8712_parse_wpa2_ie(u8 *rsn_ie, int rsn_ie_len, int *group_cipher,\n" "> \t\t}\n" - "> \t} else if (left = 1)\n" + "> \t} else if (left == 1)\n" "> \t\treturn _FAIL;\n" "> -\treturn ret;\n" "> +\treturn _SUCCESS;\n" @@ -151,7 +151,7 @@ "> -\tsint ret = _SUCCESS;\n" "> \n" "> \tpcmd = (struct cmd_obj *)_malloc(sizeof(struct cmd_obj));\n" - "> \tif (pcmd = NULL)\n" + "> \tif (pcmd == NULL)\n" "> @@ -1232,7 +1231,7 @@ sint r8712_set_auth(struct _adapter *adapter,\n" "> \tpcmd->rspsz = 0;\n" "> \t_init_listhead(&pcmd->list);\n" @@ -338,7 +338,8 @@ "> \tif (poid_par_priv->type_of_oid != QUERY_OID)\n" "> \t\treturn RNDIS_STATUS_NOT_ACCEPTED;\n" "> @@ -897,7 +887,7 @@ uint oid_rt_get_thermal_meter_hdl(struct oid_par_priv *poid_par_priv)\n" - "> \t*(u32 *)poid_par_priv->information_buf > \t\t\t\t Adapter->mppriv.workparam.io_value;\n" + "> \t*(u32 *)poid_par_priv->information_buf =\n" + "> \t\t\t\t Adapter->mppriv.workparam.io_value;\n" "> \t*poid_par_priv->bytes_rw = sizeof(u32);\n" "> -\treturn status;\n" "> +\treturn RNDIS_STATUS_SUCCESS;\n" @@ -405,7 +406,8 @@ "> \tif (poid_par_priv->type_of_oid != QUERY_OID)\n" "> \t\treturn RNDIS_STATUS_NOT_ACCEPTED;\n" "> @@ -1270,7 +1255,7 @@ uint oid_rt_get_efuse_max_size_hdl(struct oid_par_priv *poid_par_priv)\n" - "> \t*(int *)poid_par_priv->information_buf > \t\t\t\t\t r8712_efuse_get_max_size(Adapter);\n" + "> \t*(int *)poid_par_priv->information_buf =\n" + "> \t\t\t\t\t r8712_efuse_get_max_size(Adapter);\n" "> \t*poid_par_priv->bytes_rw = poid_par_priv->information_buf_len;\n" "> -\treturn status;\n" "> +\treturn RNDIS_STATUS_SUCCESS;\n" @@ -474,4 +476,4 @@ "> More majordomo info at http://vger.kernel.org/majordomo-info.html\n" > -07fd913dfe8351d745b562bb9e9a81aabe8c9cacc24b1058389b75c7665a2fc5 +090811604a2758afd345818fe7421f2d384162360a054841055ef0159030a7ac
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.