Received: by 2002:a05:6358:795:b0:dc:4c66:fc3e with SMTP id n21csp2167592rwj; Sun, 30 Oct 2022 12:28:12 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5PTScwrm2Hnx4/QL14lgcjfCxfE/adyvHHYYEqT2wmAvrGE7jw6FJP154w0OUtQ7f9vhT8 X-Received: by 2002:a17:906:4fcd:b0:78d:8059:17c with SMTP id i13-20020a1709064fcd00b0078d8059017cmr9476414ejw.423.1667158092246; Sun, 30 Oct 2022 12:28:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1667158092; cv=none; d=google.com; s=arc-20160816; b=nwnbxjOxx4FXDp21ORrhcAiUMEYOAjCU/vRfOscBSps1y/FbLLFiHbL58syv7SFI5H XYUt5HEZMwcGiKY8CTZ755Bf3kcVURf8ArrixLExrLvEVZR2mjqa0BejD76UP2AAIvRT um/RpBHzE18ZHEVDer5p13KIEu1p59UZrdJFPxA+QJ7t6k2Nt0Iqw0rjE/z8VOIHBFEX eVAaBmpv5ZYdXAK6o5lqJ3pg+CQNWnevohtnKwrLkyGuMfvcESNtYWolLXqgLyhiUf6U qdyZ+efUrmo+3MNbt5UMwj8Be1N1EtscdzUad3cD88SwYAWPN8erg1grQG75yoNsI2BZ 1Beg== 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=WCt//reQCph6olqDoKtED7itGlrW7yrg5Li1Wffc30A=; b=wr259B9tYQhJGAq+TeDKnLibBonTxMDxpHSl7PIJ1B7jru8LgaCEhXbhe98UtGi+hH 8UViuThfe5gPo8Q9/C2x0BCDpO+to6OzTRWUXFhdErkavaX5O5ELj6vm8M5Ni+gHX6wW l6LzMurRTERdANZOxkgJHupvmihNHk/18PFaQiT7u0AdVzsanTVW4nnBcSSM6JbfFldM VVYi0Ne3g0+U4Ix9I2ePeAsBFh7Datdl4YUlC2y1YZ51JJofI11mc0/7ne2hPmjMfs0K iH0DJhk7O93CqfpOOclumNXIJMDVeVV5Y7XHe8Pa6P3n6t8YVdthI+1tA/Hqrp9qzGK/ /hlg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=W6b1rTak; 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 l12-20020a056402254c00b00459f6b0fa96si6389677edb.355.2022.10.30.12.27.21; Sun, 30 Oct 2022 12:28:12 -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=W6b1rTak; 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 S229544AbiJ3TPo (ORCPT + 99 others); Sun, 30 Oct 2022 15:15:44 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48070 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229441AbiJ3TPn (ORCPT ); Sun, 30 Oct 2022 15:15:43 -0400 Received: from mail-ej1-x62a.google.com (mail-ej1-x62a.google.com [IPv6:2a00:1450:4864:20::62a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 55E4DAE7D for ; Sun, 30 Oct 2022 12:15:42 -0700 (PDT) Received: by mail-ej1-x62a.google.com with SMTP id y14so24710811ejd.9 for ; Sun, 30 Oct 2022 12:15:42 -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=WCt//reQCph6olqDoKtED7itGlrW7yrg5Li1Wffc30A=; b=W6b1rTaklPfa16uZMAp2Ndof1pbYMCMUcVa/FB6uMEujB2tSJISZhhS+Mk/7JHhxF3 TeNgUOJpv99D+hS5I73n+w8e9qTh2OGSpOke+4fAHExS6Rzk6OKbTxgD+t0wIB2Sw803 uroft+ddfcLuEjrNZ3rVgn1D/psr47583WyLAkVokqwVn7n1cspz2Qv5ESM6RNbOZIaA ypw+E8P/dox+CZAVXSHrCA5PXfVg/Osa3JHC8tMLY/wps/QS4i6dS8rkYVFxgk4igtEu H809QfVM5E2vOPei8Ckl2gmUVnUV1KZXnPdN2mQj0uGjxNrKyDiM8RvYuY1CcMuiAp0T ILmg== 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=WCt//reQCph6olqDoKtED7itGlrW7yrg5Li1Wffc30A=; b=wxIo0YV2sLPjtehVv9JHbpQOVjHmwrdD3/sRB3gMlgAm03hbOjq+boI0PkyHAQWQ3F 5G8JYPSOhYvr7iv3Q0aLTchPoK8h9/B8LlpKd2PtctLWfgO+Acn27lsyMgByxY9olpC8 UbeHon7tdpKIcxWj3oLN2bRpyA1X5WM6L1MV48YXP46Nl35M1ebq1GuXWHj6Pe5XyPLC kHFipzuddf6rUE/YuMef/qnQa6PlHlIk/1xiJOEYO0LFcbKHdjY884n0AlDMUtY5PIGm ONXOsAFVH1Uie2VwCNmYCnzDdBd700eIERi/16IbDe7Udz9uxUXFLalgQ/d9tcrlKnxQ y3ow== X-Gm-Message-State: ACrzQf080i7NA4zCKtO8s+fQH30BuKPq5DNkXskeZLLR50NEDhxY9/UX FGPA8eGZzPIA7Ci6tHly2e8= X-Received: by 2002:a17:906:9be3:b0:7ad:d3a4:9df3 with SMTP id de35-20020a1709069be300b007add3a49df3mr1023758ejc.682.1667157340784; Sun, 30 Oct 2022 12:15:40 -0700 (PDT) Received: from [192.168.1.102] (p57935738.dip0.t-ipconnect.de. [87.147.87.56]) by smtp.gmail.com with ESMTPSA id ss23-20020a170907039700b0077a201f6d1esm2099475ejb.87.2022.10.30.12.15.39 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 30 Oct 2022 12:15:40 -0700 (PDT) Message-ID: <3aa15459-6e0b-7101-178c-424a066b7dbc@gmail.com> Date: Sun, 30 Oct 2022 20:15:38 +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 Cc: Greg Kroah-Hartman , 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> <20221030184840.2root56lrro57xo5@viti.kaiser.cx> From: Philipp Hortmann In-Reply-To: <20221030184840.2root56lrro57xo5@viti.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 19:48, Martin Kaiser wrote: > Thus wrote Philipp Hortmann (philipp.g.hortmann@gmail.com): > >> 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 > > Thanks, Philipp. > > I just realized that I forgot to add your Tested-by from the previous > version. The final code hasn't changed in v2, only the intermediate > steps were fixed. > > Martin Hi Martin, thanks for the offer but I prefer to test each new version by myself. I do trust you a lot but mistakes can always happen. Bye Philipp