Received: by 2002:a5d:9c59:0:0:0:0:0 with SMTP id 25csp2368891iof; Wed, 8 Jun 2022 03:34:48 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyFElYHUTbIw/zGa1KgPxGi9CjSp9IdpEJfsbOBQNxsPj5L+i0peg60ty9CxZI8HZZOY9hu X-Received: by 2002:a17:902:da8e:b0:164:537:d910 with SMTP id j14-20020a170902da8e00b001640537d910mr33400281plx.75.1654684488129; Wed, 08 Jun 2022 03:34:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1654684488; cv=none; d=google.com; s=arc-20160816; b=x/P8JKGHG5mcRDWNp4aA5cJ03ZnnRlnq5m2vJGBczRqSPX7WMMTnIo7pUuqX7R+KbV XI/DMqY0dx4Va9ke+lE8Ja70P4EYbm4rfnk4awnsXscWDghhiXui3APK+NBt6E9Y/Cla 4HedLSWbFktlr5CRj4oYcEoOzRYzVBYZb51rUhF2nAC9gkYCldfth91tH1whCOOQt29g vYnD8fxC4To39+wdXd4D7DBX6xWp3JGKP30NMRicEMIXXticbPlQGi553Dkm1diiYG11 GvfdJRvcMKntMW9dYtnSNU+g9Sd344yQvXjRIlA34j2PJl3h1hALxS23L1JNHPF8+MkK Hwng== 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=Wt4jwJ729Z1cnfmXAe7mWf4AuHpZaK+zbrq+TbEYiBw=; b=I7KI4caJmY1aKbJ5e16LPWOxdp7MmBTrM0C2I365xaVR1JmRKrUb4x9XrrcZQD11lN C9e0NIc7VGz22s5qFUtELZP0g807OTUnGQ/YGtVsMJR8+kOW7+s2412s7yPovbKMuvk5 NmEmFCrZCxtLVKDYbxQpLHOmFyPe62GDmcHemh6QVDsbMhLpSrK5/nKxv82HiK3ZtDZ6 dehO2JWwShMmyD+FaTOXcdTip8WQJJJ/+e9pP7pLBUDX/U22FfYIf+aRnYxKhuL/qBhx EMkJCr4wwqgJ/136d49SnJjSS7YCH0UiB3TQGgWKX/13ex/UvtlXD5ogZFOSe+P//GCV 8ocA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=PvqochYM; 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 z11-20020a170902d54b00b00153b2d16529si26347999plf.305.2022.06.08.03.34.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 08 Jun 2022 03:34:48 -0700 (PDT) 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=PvqochYM; 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 1E55D242496; Wed, 8 Jun 2022 03:01:34 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235351AbiFHKAs (ORCPT + 99 others); Wed, 8 Jun 2022 06:00:48 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53960 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235566AbiFHJ7s (ORCPT ); Wed, 8 Jun 2022 05:59:48 -0400 Received: from mail-lj1-x233.google.com (mail-lj1-x233.google.com [IPv6:2a00:1450:4864:20::233]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 87583BBCC9 for ; Wed, 8 Jun 2022 02:34:49 -0700 (PDT) Received: by mail-lj1-x233.google.com with SMTP id s13so22064500ljd.4 for ; Wed, 08 Jun 2022 02:34:49 -0700 (PDT) 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=Wt4jwJ729Z1cnfmXAe7mWf4AuHpZaK+zbrq+TbEYiBw=; b=PvqochYMZDfynfYYKE45DzNEhxM3QRXxLYYCE9aCl2GpRV5MT59qnGp1rDJ0Zu40qm aYga+EH/CHQgTUYpkq6JtxBp7C/DnYp1aWsRRnQxLhyxkAyRzLfsMc3P5JEeAvnkC/Xq Yl222M/kISKiVQ4cRlDz57PG6LnRTZbCIVdCmYqUoAMbcaXSP3oCKhkdw6V8fJwxgKKu t2GPlDnewcDCz9TCyjo9wiEWCOmEVAV+EOeE2LROiM61ZL5UJ4/DwcvGL+bqlICncASX uY85oGcDWqwuevmeG5rrh6vfEeY/K58xs35oZCOFyJQouO136TiC4FpMEIbk09vPLgGm 8cBA== 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=Wt4jwJ729Z1cnfmXAe7mWf4AuHpZaK+zbrq+TbEYiBw=; b=Ogutk052PQfIOoD7+cv+PuytTnnr2rrN0R0FSpSP8apeTYusWF9YOpWNu+vQhFoef4 pla04XuQAb1rcXGwk4vDq621YAlzyDgGNMoEfh+na4t72kzhjJO6oDNqJp/FuDgPR77F ps1gdzSNB7RNL0yloUjYJTmcuSvxHw6Bc7cHQCPsejfwnCo5R7MTFJ1MTGZBgRnZKtX/ 6BZRKI9OyE1x/7qABcrUbYk8mSNPhFCLkto9SzT91CI8KdImcIhBFIpRwYRmSMlf55SY JchWWd7t5wzffU0gP9S4WZ0WIqd4Ct6f5qFvqmP4D/tK1By/+NmWSAR9QiSVydRggHR4 qO3Q== X-Gm-Message-State: AOAM532CTpj3iLpwS1T51lz5Ks9GEJHneo22YWMh0Uxj62RrUEXl06hd XuJW1y7L0Zw5nnPC/WcgtoA= X-Received: by 2002:a2e:b0d0:0:b0:255:9be1:a472 with SMTP id g16-20020a2eb0d0000000b002559be1a472mr7557098ljl.453.1654680887545; Wed, 08 Jun 2022 02:34:47 -0700 (PDT) Received: from [192.168.1.11] ([94.103.229.27]) by smtp.gmail.com with ESMTPSA id m16-20020a056512115000b00478f2f2f044sm3625005lfg.123.2022.06.08.02.34.46 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 08 Jun 2022 02:34:47 -0700 (PDT) Message-ID: <01d6737a-9e2d-c009-4e24-c2c54b39b80c@gmail.com> Date: Wed, 8 Jun 2022 12:34:45 +0300 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.9.0 Subject: Re: [BUG] staging: r8188eu: driver stopped working with commit ("staging: r8188eu: add check for kzalloc") Content-Language: en-US To: Martin Kaiser , Michael Straube , phil@philpotter.co.uk Cc: gregkh@linuxfoundation.org, Larry.Finger@lwfinger.net, linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org References: <20220606064055.12565-1-straube.linux@gmail.com> <20220608092731.hz26q37fhmrhipmj@viti.kaiser.cx> From: Pavel Skripkin In-Reply-To: <20220608092731.hz26q37fhmrhipmj@viti.kaiser.cx> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.9 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=unavailable 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 6/8/22 12:27, Martin Kaiser wrote: > Hi Michael & Phil, > > Thus wrote Michael Straube (straube.linux@gmail.com): > >> The driver does not work anymore on my system. In dmesg there is: > >> "r8188eu 1-4:1.0: _rtw_init_xmit_priv failed" > >> I bisected it to commit f94b47c6bde ("staging: r8188eu: add check for >> kzalloc"). > >> ~/kernels/staging> git bisect bad >> f94b47c6bde624d6c07f43054087607c52054a95 is the first bad commit > >> At the moment I have no time to look further into it. > > See also > > https://lore.kernel.org/linux-staging/YoyU4zXf45UpF1Tq@kroah.com/T/#mb5e56a285b8eb1ebb0e798462fc388cb02b4a7cc > > Phil said in > > https://lore.kernel.org/linux-staging/YoyU4zXf45UpF1Tq@kroah.com/T/#m7a21d460b2569f6b59965ecc3298a6337fa3458a > There is the posted patch [1]. I also have to apply it every time I want to test smth. [1] https://lore.kernel.org/all/20220521204741.921-1-phil@philpotter.co.uk/ With regards, Pavel Skripkin