Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp1533823pxj; Fri, 4 Jun 2021 17:55:58 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz6Ed3spVMTLnWBAhHFBgyB4pFQjww+40E6K2hkYnmkbpaBeIjRHcCASibDoAd1fFqaKeJs X-Received: by 2002:aa7:dd55:: with SMTP id o21mr7702750edw.295.1622854558765; Fri, 04 Jun 2021 17:55:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1622854558; cv=none; d=google.com; s=arc-20160816; b=Za2W4cSrwAWE9GtqOO2XVGCripuw7Nlj8MWpuHaDQOIbKuMfpDeGUj3Fcwr52OvEMa r/0jblxCyrDlTM3HHkZlExjLvspXrigcxdVsx12CvjAYT4BwWvtxiOiuP0RRRb9mdxB0 pNqBECgGtG18SdlCrQ0RFrrZrQuwphcD2SJ2hor7bVwbnAG8kpGjbyhjCmmEH31g5lwv 7C+KiJVONngXDLCGkwLeSG93ayjVMU6kitmbsYt0kLaabPnojjHjQ4ijTql/jI8F/wM4 ULwsTRIH3LWZVIlHL7n0IjLQ43aSU/dkh5iKuod114+0cUKfxZSfy3TgkdajYYy37isu FKNg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:sender:dkim-signature; bh=NXAAlR719ENS+6C5c36KajeUdOG3OvOItiqbEK2oPLg=; b=qUny/KH2X1jxcd5BDQ2GufPzwxE2OTR6wF7X5Ji+HqmPxpSp6/D1v2QM1WhNvXiRmM pXFlo7Wtw2evzPiGsZ5qAMJ2in8/Z74KcxyhlBv+Q3fTydmLJRxw82JvCP+nd9tbWl8Q kl3Oii+okJbC/Pe+DPuuI1InDjeZ9YPGMjnN3lQ4omDLrrLvd5q7LgWqG5eMmVJquENL vTm3T7RvL/3OscLT/NGyCR43CLHb5hbgBfxTNE6g6baxbjksNZRkD5HGWa+4GpN8tHX4 LpJMKIplsd8p1ZpSLd2S1uWX64HWjBm8XGehTQ5kKxXf67i2cBDl+L+P6VH3uNOODGSM 9pKw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=fbuVu0lM; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id m19si5254664edd.548.2021.06.04.17.55.35; Fri, 04 Jun 2021 17:55:58 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=fbuVu0lM; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230432AbhFEA40 (ORCPT + 99 others); Fri, 4 Jun 2021 20:56:26 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43828 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230002AbhFEA40 (ORCPT ); Fri, 4 Jun 2021 20:56:26 -0400 Received: from mail-qt1-x82e.google.com (mail-qt1-x82e.google.com [IPv6:2607:f8b0:4864:20::82e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 40D29C061766 for ; Fri, 4 Jun 2021 17:54:25 -0700 (PDT) Received: by mail-qt1-x82e.google.com with SMTP id t9so1923160qtw.7 for ; Fri, 04 Jun 2021 17:54:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=NXAAlR719ENS+6C5c36KajeUdOG3OvOItiqbEK2oPLg=; b=fbuVu0lM6+/bd926/ICmPduXJesNzGTKTe750vre3Aj5tcfED1brCvXrJ7ilyOCBz5 NTSyuzTWSH98JTZ6Jmjt46+SergozH/63ihz5vvdyZ2C67yZVW4g6MQXzXJwxobVcclL 9FpYOlOSO787HRrEzijqzcgoWfPzqt03L8VAiGTYWKTbshFW39WZqZ00XiesaXTxglh2 Nm8bFopSnqAfyoVli2rS3sGqYVNyzjueOxi7dno82MV/yo5qOsD5DB1JUey1QbEO+/O+ +HI0X2Av+h5dP7G/XI2FRiI6dW/2uUTE/rfyQZlj7EtGmck54kwrc/R8/r96716B0eKj fqJw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:date:from:to:cc:subject:message-id :references:mime-version:content-disposition:in-reply-to; bh=NXAAlR719ENS+6C5c36KajeUdOG3OvOItiqbEK2oPLg=; b=KWx8ref3J1VY9k8lAnoI1i2u5o7dnEV6c0lnLb91HNDTAx/5QodzZpJUFr5+92Adpd ccRpcAoii1JmuphWpoH2YVkqwstX1ANOxmS/sadDIRahqbGr/emrcDia5qratyXHHIdQ tqJdzsMol1mB0f+nmU+dhg54X9h2RCY8bKrsgVtSsOTXx0faLA+RCSrqJZ8kVWKPqxNM emroX7pURikxl9xxy4VI+LP2M6GlmjV+6BFQatNSgMWX/9Z6w0kctCG+ZaAnfdrr4itH H5qiNuy5kgcabGkT/+Ij9JA2qLodLeA8/3pd69f+bK0IWaja5lbKsrROersCpdYSCtNQ O53A== X-Gm-Message-State: AOAM530e3ld0+kyixf94iqZUQAlYnuoUFE1rmhPpALKBuQ2DM5uxEfYj lc3deDu6AVi5LDw7/npr4gk= X-Received: by 2002:ac8:5a86:: with SMTP id c6mr3924413qtc.242.1622854464485; Fri, 04 Jun 2021 17:54:24 -0700 (PDT) Received: from localhost ([2600:1700:e321:62f0:329c:23ff:fee3:9d7c]) by smtp.gmail.com with ESMTPSA id d12sm5060851qkn.126.2021.06.04.17.54.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 04 Jun 2021 17:54:24 -0700 (PDT) Sender: Guenter Roeck Date: Fri, 4 Jun 2021 17:54:22 -0700 From: Guenter Roeck To: Fabio Aiuto Cc: gregkh@linuxfoundation.org, hdegoede@redhat.com, Larry.Finger@lwfinger.net, linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org Subject: Re: [PATCH] staging: rtl8723bs: Use list iterators and helpers Message-ID: <20210605005422.GB255680@roeck-us.net> References: <20210428173301.149619-1-linux@roeck-us.net> <20210604172632.GA1526@agape.jhs> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210604172632.GA1526@agape.jhs> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Jun 04, 2021 at 07:26:33PM +0200, Fabio Aiuto wrote: > Hello Guenter, > > On Wed, Apr 28, 2021 at 10:33:01AM -0700, Guenter Roeck wrote: > > The rtl8723bs driver manually re-implements list helper functions > > and macros in various ways. Replace with existing list helpers. > > I'm testing rtl8723bs on a baytrail tablet (Lenovo Ideapad MIIX 300-10IBY) > and applying the tag staging-5.13-rc4, loading r8723bs makes the whole > system freezing while trying to connect to local AP. > > Only a power off is allowed. > > I found that commit b3cd518c5abd42fbc747ef55a5fdc40bf7bf01c0 > (staging: rtl8723bs: Use list iterators and helpers) > introduced the bug. > > I'm trying to find out what's wrong with this patch, have you any suggestions? Some of the iterators needed the _safe variant which I didn't take into account. I thought that was fixed, but maybe some locations were missed. Guenter