Received: by 2002:a05:6358:795:b0:dc:4c66:fc3e with SMTP id n21csp2134884rwj; Sun, 30 Oct 2022 11:56:43 -0700 (PDT) X-Google-Smtp-Source: AMsMyM56ssCA616aC963OGR/qQS2Qqaukx/NKcjEykTr5JWE+UZmsLtRy8V9yN9cXxCCEg4jlfn/ X-Received: by 2002:a17:90a:1a43:b0:20a:ea98:b962 with SMTP id 3-20020a17090a1a4300b0020aea98b962mr28305999pjl.118.1667156203534; Sun, 30 Oct 2022 11:56:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1667156203; cv=none; d=google.com; s=arc-20160816; b=DFMJ9zCXu+WgZUlFyGxI1g3gGCCoc2eirPHCJ/UVlXYGhMGIc4Q6N+Xx57uGgExfP+ IVkR2r9OGlVrM5CtJE+u5Z0QNdbHii6XcIKOJirvqyAsQCyozRI+VnCIaPk7I9nvn1aE BWh63kJqRloz5udlcseameQ7TvFDIO2mcQlMhU0bvlRbL26TpG5N3SRONW+lRUCl/8i+ zS10U7sYTVKSLy6HfoSyDZf5xiSQ1EbDGI8qy05BMZ93YfXMyzE0k1JD0vq0O2+LOHFM IHEjiVHtu+4bpXIwjCHimSIS32c1Dq7G1Gojemh0EaopcQS1EN1MCABToIkE7hPz5Bnt w52g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=JVxs7NYu64wxvANBqbozzmJQF6UupHoc/YO/3Sjp/e0=; b=Ceu6VXbMz9t6ubingn78UetgnJ5IdKqD1HhbQSVwwJEgIvQ/pF+pQbWMgP5SUrutpM eTVtjMxFo+Ib2GM2dVESjS1FBoPONzB3c6fuBHj6HLjnWARCo9g4ZJWaJo7EfYqR/kOr 92cwdiKXedHQJgnm9xiEALYj0GqmN3jAA5ER0zJKTMuR/FRros0nMcK9vGnz7MhJ/AkY 5xw9S4LLWadgI5+fOKTFpYt+H71TX6/w1cMK+kM5uDjrUxU/sun6R4GUQ7Vud1pF4EKT 5Wlakuqr4W8vy6PKmWzFdHqTR4YF5xgTei9H3UzwP54RHbV4ONSehr49u6XIqZA8qj7e WWcQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=jvVwJUfM; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id 8-20020a17090a098800b00202a519f846si5909339pjo.173.2022.10.30.11.56.30; Sun, 30 Oct 2022 11:56:43 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=jvVwJUfM; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229763AbiJ3SRf (ORCPT + 99 others); Sun, 30 Oct 2022 14:17:35 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49052 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229695AbiJ3SRb (ORCPT ); Sun, 30 Oct 2022 14:17:31 -0400 Received: from mail-wr1-x429.google.com (mail-wr1-x429.google.com [IPv6:2a00:1450:4864:20::429]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 09C51B858 for ; Sun, 30 Oct 2022 11:17:30 -0700 (PDT) Received: by mail-wr1-x429.google.com with SMTP id g12so13123436wrs.10 for ; Sun, 30 Oct 2022 11:17:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=JVxs7NYu64wxvANBqbozzmJQF6UupHoc/YO/3Sjp/e0=; b=jvVwJUfMjOQQY6otEGNtczrtai1xFfHxabQqMvu84R+lU9Atnt6YQQRaWUEAzk++qT AFOeNKT0SOw7sdqtBfsww8a1aOBocFk7tVhiY8/8rzq1R1sdRIMKDiNgvZ7WdkcXIW/L biy+HcZ48+CDEgjReA94S2N6nbA8VAU4NeAxj+LiM1yodA+aI2e0+Q1e0lOk+Px9yjvX 8SJfyQwc96nutL8hMxbsHH5VpNs0ForRPqiSbXesky1FwLBGe0FVDhTgUpC0pF2meQvg OFqKn5IUgDOOMVhyUMwetV4OUxvOLtvcpvYOb8+58/1xx9dLRYu2VH8OnxPvOY+K4DcE 2NeA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=JVxs7NYu64wxvANBqbozzmJQF6UupHoc/YO/3Sjp/e0=; b=1btOyNJ1ziRbjjn5cQadTfAxNYaCmdSKxoxTLxnepDud12lQJH1ekfkqauB4kQ1rYv PckpKmp/HAYTE9SQ5vzewuSe9UibApWIetFDhZXmhpGJ1nVWxz6FzFIdK7whuM29yQto +a6i/5d8XmU/brdIRGdK5rAY97hBg4em4zWZhsNLY+E4MJOnHuiueKR/RfHqXrEQa2wC PjhYfj+h5VVfk6fcFnEvxUcOLxxYSFnVF5OOC96efEV07Xp4I0H63fsqTMx0bcsCkz5o BkA8slzT4qLhsgenQhxKG1uVK1KypPjVpjAxxxEsxEaaPnOQHKn0belhhTmH1V+qh+rM eYwQ== X-Gm-Message-State: ACrzQf1N7SWL3DVnub9yj0YWix4Ci4z6HdR5RaaImE8Gtj8qut5eoosR eDF5UH8h/74NtxFLU1SevdA= X-Received: by 2002:a05:6000:1143:b0:236:5ede:cdad with SMTP id d3-20020a056000114300b002365edecdadmr5751278wrx.410.1667153848470; Sun, 30 Oct 2022 11:17:28 -0700 (PDT) Received: from ?IPV6:2003:c7:8f2a:b825:7539:be75:5415:acef? (p200300c78f2ab8257539be755415acef.dip0.t-ipconnect.de. [2003:c7:8f2a:b825:7539:be75:5415:acef]) by smtp.gmail.com with ESMTPSA id f18-20020a1cc912000000b003cf5ec79bf9sm4961175wmb.40.2022.10.30.11.17.27 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 30 Oct 2022 11:17:28 -0700 (PDT) Message-ID: Date: Sun, 30 Oct 2022 19:17:26 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.11.0 Subject: Re: [PATCH v2 00/13] staging: r8188eu: clean up action frame handlers Content-Language: en-US To: Martin Kaiser , Greg Kroah-Hartman Cc: Larry Finger , Phillip Potter , Michael Straube , Pavel Skripkin , linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org References: <20221030173326.1588647-1-martin@kaiser.cx> From: Philipp Hortmann In-Reply-To: <20221030173326.1588647-1-martin@kaiser.cx> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,NICE_REPLY_A, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 10/30/22 18:33, Martin Kaiser wrote: > Clean up the handlers for action frames. Summarize common code, remove > unnecessary return values. > > Please apply this on top of the "remove the last get_da calls" series. > > Changes in v2 > - remove on_action_public's ret variable in patch 3, not in patch 9 > > Martin Kaiser (13): > staging: r8188eu: replace a GetAddr1Ptr call > staging: r8188eu: remove duplicate category check > staging: r8188eu: make on_action_public static void > staging: r8188eu: make OnAction_back static void > staging: r8188eu: make OnAction_p2p static void > staging: r8188eu: remove category check in OnAction_p2p > staging: r8188eu: replace switch-case with if > staging: r8188eu: replace GetAddr1Ptr call in OnAction_p2p > staging: r8188eu: clean up on_action_public > staging: r8188eu: remove return value from on_action_public_vendor > staging: r8188eu: remove return value from on_action_public_default > staging: r8188eu: rtw_action_public_decache's token is a u8 > staging: r8188eu: check destination address in OnAction > > drivers/staging/r8188eu/core/rtw_mlme_ext.c | 116 +++++------------- > .../staging/r8188eu/include/rtw_mlme_ext.h | 7 -- > 2 files changed, 28 insertions(+), 95 deletions(-) > Tested-by: Philipp Hortmann # Edimax N150