Received: by 2002:a05:6a10:9afc:0:0:0:0 with SMTP id t28csp1334902pxm; Sat, 26 Feb 2022 12:08:11 -0800 (PST) X-Google-Smtp-Source: ABdhPJzmFq748hbOLKp9iLFzgoGmvEKDo7AT/4AMRyjioEYRqn6L20YnnNcWbITLLiUecXL3ROFy X-Received: by 2002:a05:6a00:10c9:b0:4ce:146e:6edf with SMTP id d9-20020a056a0010c900b004ce146e6edfmr14171419pfu.6.1645906091792; Sat, 26 Feb 2022 12:08:11 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1645906091; cv=none; d=google.com; s=arc-20160816; b=STn8RyMToxtH1vZYFZYryuLMb+jlcGrPYgmbIzD8ABAPiL5sDWQgExN2g2tg7lihG9 7WuBk977Fltg4eJ/nD9M5lRcxcqzrZwauXJEc5SHasTmIzZ+lLvwvkAVqL/IXHQz8MMB nEQ75L3pMKqntlrmA0tAMA60hK2bg3okdLQXhBB1oKC9j3P3THYozEMbL7FgWTZGkUog 37OUGkRsWheEQdE4Lkyw3LyAHhxaWBIluY1O4mW0Yk6hiNWeXtSqs5uzeRkSMWdGFEDe LvRrAFXbzG32AH4zaqIpvEjNijwScB8/FJnvFvsTWvFTZF4VSfF4L5kfRErD/5Y9597G 7k4Q== 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=U5sOQ1jTzm9XSVpV/OKjAlxcVR0vJA4ED1l8Ev97KWM=; b=qQsy6ZFStuJ9/t/QgJi9PKKYid4Aq1HljBvKV76KF3a1pjIU8uXjEvP2tBtWDCDKmY 2POflt5VDqEPxgaZoT2kSIZn49bjnxCcpy9Mn9H2a979UlO+B6e+wQAYctX+tQVhzZWG C2MIGaOivNnwlNUEB8sJ778j5Mu7PR06bqX19rxGwmPAHZYPBdZ+KRdXlYzNt7um5bqz NLUdIT+PVYoOeCXFnp9JlgEyGfB1xQUA1M401Oebxk6iKJKCirkTQVI2pxJlwUH3FH+D ybwQ3nqPpeDm4qT4ud0HuOORPLdLkhcC3Pwdfm5M7PFef9Ip4wcF13lHQZDML1wzy+OK mr4w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=SFOJ7FTj; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 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 lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id s6-20020a17090aad8600b001b8d204d70csi5361826pjq.3.2022.02.26.12.08.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 26 Feb 2022 12:08:11 -0800 (PST) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=SFOJ7FTj; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 586F1287E06; Sat, 26 Feb 2022 12:06:32 -0800 (PST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232559AbiBZSKc (ORCPT + 99 others); Sat, 26 Feb 2022 13:10:32 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50992 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231392AbiBZSKb (ORCPT ); Sat, 26 Feb 2022 13:10:31 -0500 Received: from mail-lj1-x22a.google.com (mail-lj1-x22a.google.com [IPv6:2a00:1450:4864:20::22a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CFD68496AA for ; Sat, 26 Feb 2022 10:09:56 -0800 (PST) Received: by mail-lj1-x22a.google.com with SMTP id v22so11745676ljh.7 for ; Sat, 26 Feb 2022 10:09:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=message-id:date:mime-version:user-agent:subject:content-language:to :cc:references:from:in-reply-to:content-transfer-encoding; bh=U5sOQ1jTzm9XSVpV/OKjAlxcVR0vJA4ED1l8Ev97KWM=; b=SFOJ7FTjxQTx+bYJHRKQPO6xOcVXk3wLR6oXIR+93hx7aj+tFMQK19xU5W+rFCVNli cETA2Q/ObnZN9v0fPf1Lh5/Bhyan67ON75vJXbYqdrItMNzgqTj9zxLVjnuHXBMfd6+v /fvLHZDWaybZN4rQZLPMDkZu4HGD+nO1kbARV3m0tsvswzwUC1dyUbEsn02rvJHOYh1E ez9dNs1zaBuU0iaVqx3eYKLJR26c0Qr9xLwmrtTmqew9MaB4xhwusWpjxBBJRLJml7EX 7OCJefIB0ryJrWDN20WYZ8dJSCdbkijbyrJ15xoqmKT/5Acpgn9BFKvZkZvhij51n9VA e8uA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:subject :content-language:to:cc:references:from:in-reply-to :content-transfer-encoding; bh=U5sOQ1jTzm9XSVpV/OKjAlxcVR0vJA4ED1l8Ev97KWM=; b=66Q7WvVrtyYY1T96c6eq0CBHRcso6FerOGsPvsLe+HFhXuZUEbQiJL44RQ43G+ZXdV yvXVEi/IgOLnIwcNik2b2/PY0kxMqKohcEnF/CMY1j6do7nfaTyKdsEnHJwgKIb2yNHU jisyvgZWWTNxiEt47D6Vaoels7Sc4AnYDc18Qp8PyO+TlGTsdzyiJjg+0fuHL7LsP6Js Tkj+PJHgdIODGTWOC5zJuSJTUStvnkUTELRYryMCgnGpBIu+8KRf2IXMuIbK4PCgJ3I6 hjuaPZR+pJ5krZJhrLO3CJAoJZM0A4jgRmQxAvM2ofcyGkRYsDAP7Sq3TdS7CLnl99pG n/fg== X-Gm-Message-State: AOAM5300zZ/iEpxviAakHnahCYITwbeAUYCnaXhd8m+egUnLjxigp218 cbhowfNjo8Zd7ul7SMMdj+w= X-Received: by 2002:a05:651c:90b:b0:23a:c39a:16d1 with SMTP id e11-20020a05651c090b00b0023ac39a16d1mr8791694ljq.332.1645898995099; Sat, 26 Feb 2022 10:09:55 -0800 (PST) Received: from [192.168.1.11] ([94.103.229.64]) by smtp.gmail.com with ESMTPSA id a21-20020a2eb555000000b002464680f089sm635681ljn.80.2022.02.26.10.09.54 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 26 Feb 2022 10:09:54 -0800 (PST) Message-ID: <2dca7337-e657-02c7-87a7-6c94f31fb49e@gmail.com> Date: Sat, 26 Feb 2022 21:09:53 +0300 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.5.1 Subject: Re: [PATCH 3/6] staging: r8188eu: cnt is set but not used Content-Language: en-US To: Martin Kaiser Cc: Greg Kroah-Hartman , Larry Finger , Phillip Potter , Michael Straube , linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org References: <20220226144843.1118951-1-martin@kaiser.cx> <20220226144843.1118951-4-martin@kaiser.cx> <1c44c931-5b90-03d8-94bd-5e68682c4787@gmail.com> <184f741c-60ed-fe32-5705-08f9769e926a@gmail.com> <20220226180706.wierfb2ancom32zn@viti.kaiser.cx> From: Pavel Skripkin In-Reply-To: <20220226180706.wierfb2ancom32zn@viti.kaiser.cx> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-1.7 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,NICE_REPLY_A, RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no 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 Hi Martin, On 2/26/22 21:07, Martin Kaiser wrote: > What exactly is this doing that's not allowed in a tasklet? Does it call > anything that could potentially block? > I mean infinity loop :) > If I pull rtw_alloc_recvframe into the loop, that function uses spin_lock_bh + > spin_unlock_bh, I guess this is ok. As for recv_func_posthandle, I don't > see anything where we could be stuck... > Yeah, I guess, it's how it meant to be (like in rtw_free_uc_swdec_pending_queue()) With regards, Pavel Skripkin