Received: by 2002:ac0:e350:0:0:0:0:0 with SMTP id g16csp103252imn; Fri, 29 Jul 2022 00:44:31 -0700 (PDT) X-Google-Smtp-Source: AGRyM1tXocpOreW51/K0ZgkTPia4KUeJtLefm9z27x7zDsbCVgImRKcq6edFQYJ98ES6kR1McOdQ X-Received: by 2002:aa7:db8a:0:b0:43b:75b1:92e9 with SMTP id u10-20020aa7db8a000000b0043b75b192e9mr2285229edt.223.1659080671675; Fri, 29 Jul 2022 00:44:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1659080671; cv=none; d=google.com; s=arc-20160816; b=kEbsCXmt6qm3YbhoCFCcMjIWVkGOWmckO1i1En/2/YpFvR+/A0yqCX8eH9/kH4w4Ql T0hCam3QUfdkBWY233RYn1JEga26JCXaJZe4vG1vpraUs37z95wLHT/VdChX0kRQ/g7c FPdaYQ+xbTdQHhcj2F7HB7ZSAzMs49iSfVXY3qxWR6yCcwo431ScmNWDcTPZJVa2S/XH 8fjZ6E7enpqLbCnRdwibxGOwd86D12uQ/th7gKJnij+Eco8pjvG/VzyHWj4VYfr+UUwb FTLKxPuEKC5Mkf34kQp0D/6h6YHfAiG6yPUgSEKxL6gTxmgjZ5jxyb1KPVmf+AFWEIpD sFgw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date :dkim-signature; bh=+GZ/KnNCpBQ+h0zWKtkO8Czo/CVgPhTfqNwwUpXzJeE=; b=pw2nubEKijhmDxOpuVB1ao9dYxwddK475CoyOOa2HEDTsdIT/M8FoEVpCSmR2YRLeW sFAsPKOpOhwnPCtSFtB9HzVN3UnfGSCydPKeZrNPci4MBzhY3F273glQkGoJ7TiCW+sp /2WWYdb51xQX0aLy5mHxGy/osMZFjcXe8gNIPcMH37gXeH7MyunvOTrVP7+yOxukxs8s RPTU9Zx9faN0fcwpy/c1wEVw8hVSkezbMrGOSR7gvjG2AU0XyfWeybPUYeHZ4NOCW64u 9uH15FgSb4gInvbVVac7FPqheKk42XtvdayYzften7e3g8L53bGm6ZQrWbOgXOc1GbDm vpcg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=s3cFpaJi; 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=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id z97-20020a509e6a000000b0043c7df15c19si2862706ede.554.2022.07.29.00.44.06; Fri, 29 Jul 2022 00:44:31 -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=@kernel.org header.s=k20201202 header.b=s3cFpaJi; 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=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234674AbiG2HSw (ORCPT + 99 others); Fri, 29 Jul 2022 03:18:52 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33298 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234009AbiG2HSu (ORCPT ); Fri, 29 Jul 2022 03:18:50 -0400 Received: from sin.source.kernel.org (sin.source.kernel.org [IPv6:2604:1380:40e1:4800::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 83AEA5A3EF; Fri, 29 Jul 2022 00:18:49 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sin.source.kernel.org (Postfix) with ESMTPS id 0C787CE2686; Fri, 29 Jul 2022 07:18:46 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id A51A2C433C1; Fri, 29 Jul 2022 07:18:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1659079124; bh=QQZCBDkWE41LYYccsVLmpba4/GdB3x9VzH1J6ETItTQ=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=s3cFpaJinyDBzCiTRLZZzo4mzOSSoA6Gkdlgwx2b7LLo9ad1SDFIMHviys9HNU19L P/IMcPpoTsFCjpWoxlWjKcnTCl0uSFWW+N0d0fdgynMZAE1b6JXauRYSWcFVA3K6L2 qIXsD7i4YhzWA/XPJbu60xKVMjksJFGCpsJynaPrP3Q8CuZYFsAFhrG92fZaoPMHi1 vhWCG/wHguQ8KeL13M8gfSGSAiearlO5lkrcELhwLP4OndwRI5M7DIK+HHNzYyi7rO t2k9vjPKfAAw77RKgVJ5tEU9dVsDUxDGATR0PyeBKBJ814JsdM7aqWkOVoRLQNwGaT gikL2T6HgmjQw== Date: Fri, 29 Jul 2022 00:18:42 -0700 From: Jakub Kicinski To: Jiri Pirko Cc: Li zeming , jhs@mojatatu.com, xiyou.wangcong@gmail.com, davem@davemloft.net, edumazet@google.com, pabeni@redhat.com, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] sched/net/act: Remove temporary state variables Message-ID: <20220729001842.5bc9f0b2@kernel.org> In-Reply-To: References: <20220727094146.5990-1-zeming@nfschina.com> <20220728201556.230b9efd@kernel.org> <20220728235121.43bedc43@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-7.6 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, 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 Fri, 29 Jul 2022 09:00:07 +0200 Jiri Pirko wrote: > >> What backports do you have in mind exactly? > > > >Code backports. I don't understand the question. > > Code backports of what where? > Are you talking about: > 1) mainline kernels > 2) distrubutions kernels? Or even worse, in-house kernels of companies? > > If 2), I believe it is not relevant for the upstream discussion, at all. Fixes and stable. Frankly it's just a generic justification to discourage people from sending subjective code cleanups. I'd never argue for the benefit of (2) :) There's been a string of patches cleaning up return values of functions in the last few days. If people have a lot of time on their hands they should go do something useful, like converting netdev features to a bitmap. Hell, go fix W=1 warnings, even easier. The time spent reviewing those "cleanups" adds up, and I suspect there's hundreds of places they can be applied. Hence my question about automation...