Received: by 2002:a05:7412:419a:b0:f3:1519:9f41 with SMTP id i26csp376679rdh; Thu, 23 Nov 2023 06:24:54 -0800 (PST) X-Google-Smtp-Source: AGHT+IGbZ3P5V/NO8ZUD8YH6iwPuLQql3uGy8o6sD+o2t7CRqrZ6G2Da+czuXDKA3my31CusQ5rQ X-Received: by 2002:a05:6a21:9815:b0:18b:3168:d1a1 with SMTP id ue21-20020a056a21981500b0018b3168d1a1mr4356299pzb.46.1700749494134; Thu, 23 Nov 2023 06:24:54 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700749494; cv=none; d=google.com; s=arc-20160816; b=TnpR1aAMCjxdUNwDAxcNLmCtFjev2ccQsftkzh/XxrPwCTgO/Vqe2o3oYrLyCudtgY osPD4+lMI0uclBT/TMbspWPrgn2SF1rjTxlssku9nF50MQYkOQlnCPLMA28Ukcxvrj87 p64DBcPKH07J/INCents/IdgLu763Qfp/HT7T1rw4bPfLRCFlixkIqvkinSYK0Apnwx7 Bgoz5KrFfoT/fQODyb2n8IMNhc2XAJHtc+l8a33eCfgMfcirFH7ksYBD1IO1veO10KfE 9QUoY3VkcGUfE44M0OYlYGM118KGEP07wqvSFqpU3hev1gH7IK3iLdZyhifp4+Q8nttn PwZw== 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-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=AdcwW5AXLKFZ8HgMQhI0eEIGd5eKvwiLrqxnVGoiUfc=; fh=roTDDnvshPQV+pFhRMTqDtkhSaQXKPrLK2QZrz7J8W8=; b=jq0r1R0O+QJr3lUBX6gQiw6/trqVkpDUIcRTS/E6dPepeYCFtaXk6dUBqd/mNIwsGY wtXoQqpYIkz3dJmNQKNm/TjHjZNApzxNCo/MxHLTuzIHj+haMYLiPm9GSeyrSI2s6Xja 8EhhTToWxahNpYtGHMQw10se1PBtEtkYRBWtJlfmLqZFNVUi6uK70h6MkB0r50BTaIil oZ0cO3Ap1PAqdsPf57JCRaohqSIZSrHNFco3G0T3Vyo82Fxe5ioojNm6xNeSCXf8VDXT L5Yj+Y3i05qnC52FSjoxFEjLllZ3Jfy7Scn2Yy0lmHjp6PpfJgbQQ5QUgeU/CYdVntNG ymUg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=myCexJJ1; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from pete.vger.email (pete.vger.email. [2620:137:e000::3:6]) by mx.google.com with ESMTPS id cn4-20020a056a020a8400b005b9b68add85si1408899pgb.254.2023.11.23.06.24.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 23 Nov 2023 06:24:54 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) client-ip=2620:137:e000::3:6; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=myCexJJ1; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by pete.vger.email (Postfix) with ESMTP id C5199808985C; Thu, 23 Nov 2023 06:24:51 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at pete.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1345750AbjKWOYg (ORCPT + 99 others); Thu, 23 Nov 2023 09:24:36 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59614 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1345739AbjKWOYf (ORCPT ); Thu, 23 Nov 2023 09:24:35 -0500 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 784B51BD for ; Thu, 23 Nov 2023 06:24:41 -0800 (PST) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 46714C433C8; Thu, 23 Nov 2023 14:24:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1700749481; bh=J/LtgofwEQkoiVQZqoNXaJ9BMFsu3JjYY9qmjaMQE74=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=myCexJJ1T1cKOvaXEHq4wweMQTiZAHJaQIpqITF2nz0OF3uoL1iwYojYKJkw4PYVR QfcDimY0ygH2HZrSIyCxQrHtsuFSlRQPO8OTFSPPOPD7jiDp1jBKsun38Rr4JNnKp/ BmWkp+sMWRtw61zy6k1ytLqHhl3Q4c0zvaTAIWfuyGnDaFrnmulhvIfl/FxaSg01uJ vrKGenvAmwgayiPxnrogPgWdPV/BSA74uwa6+96sgKUQMzWHo9r/72hHKGaYMFypuP Tziu/KwbkQbvBfy4JH+YRTGybdW4tL5tlgZkmLy3GB1lSUmdmnybhceCeyVupWJV6p pdxhlPoo5kacQ== Date: Thu, 23 Nov 2023 14:24:35 +0000 From: Simon Horman To: Doug Anderson Cc: Paolo Abeni , Jakub Kicinski , Hayes Wang , "David S . Miller" , Grant Grundler , Edward Hill , linux-usb@vger.kernel.org, Laura Nao , Alan Stern , =?utf-8?B?QmrDuHJu?= Mork , Eric Dumazet , linux-kernel@vger.kernel.org, netdev@vger.kernel.org Subject: Re: [PATCH 2/2] r8152: Add RTL8152_INACCESSIBLE checks to more loops Message-ID: <20231123142435.GG6339@kernel.org> References: <20231117130836.1.I77097aa9ec01aeca1b3c75fde4ba5007a17fdf76@changeid> <20231117130836.2.I79c8a6c8cafd89979af5407d77a6eda589833dca@changeid> <4fa33b0938031d7339dbc89a415864b6d041d0c3.camel@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-Spam-Status: No, score=-1.3 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,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 pete.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (pete.vger.email [0.0.0.0]); Thu, 23 Nov 2023 06:24:51 -0800 (PST) On Tue, Nov 21, 2023 at 09:55:46AM -0800, Doug Anderson wrote: > Hi, > > On Tue, Nov 21, 2023 at 2:28 AM Paolo Abeni wrote: > > > > On Fri, 2023-11-17 at 13:08 -0800, Douglas Anderson wrote: > > > Previous commits added checks for RTL8152_INACCESSIBLE in the loops in > > > the driver. There are still a few more that keep tripping the driver > > > up in error cases and make things take longer than they should. Add > > > those in. > > > > > > Signed-off-by: Douglas Anderson > > > > I think this deserves a 'Fixes' tag. Please add it. > > Sure, I can add it. It didn't feel worth it to me since there's no > real functional issue--just that it takes a little longer for these > loops to exit out, but it shouldn't hurt. I guess that means breaking > this commit into several depending on when the offending loop was > added. > > > > Additionally please insert the target tree in the subj prefix when re- > > postin (in this case 'net') > > Funny, I just followed the tags for other commits to this file and the > "net:" prefix isn't common. I guess this should be "net: usb: r8152". > I can add it when I post v2. Hi Doug, unfortunately prefix can have more than one meaning here. The target tree, often either net or net-next, should go in the [] part of the subject. In this case I think what you want is: [PATCH net n/m v2] Add RTL8152_INACCESSIBLE checks to more loops