From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id E9A8BC433B4 for ; Tue, 11 May 2021 13:39:29 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id B10EF6134F for ; Tue, 11 May 2021 13:39:29 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231491AbhEKNke (ORCPT ); Tue, 11 May 2021 09:40:34 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37242 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229921AbhEKNkd (ORCPT ); Tue, 11 May 2021 09:40:33 -0400 Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DF6CFC061574; Tue, 11 May 2021 06:39:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=SKJhE6L8p0+9htttbQMfz6vP+47lUTeOtbP24QTWnlo=; b=pMFte22mrITclViRsAe1ciWoEx ZyMunvfrUCenCLoSqCtJ2N/fHxKeZhEjkW+bW5ldbaXrbuGfjqV7HEDY+UiLb0XKB/yD5LvNwGxUn ZLHv+OPanaF2l3Ge45ApAlAaMMPMJqjFvbsnsUVExEYxStiLOZraNieJmvzpAR8lY9bEcCrTFja9U p/KqXldFLBckAPzxX/e52ZDHXfV+4v7bFjShOOp5NQnAQa2IGuyhoNsQXSKB1kxSH+P7Q5p27XzWQ 5Vj8AjQhm5JQGG6Nl5WWtKncoR2aUa2FMw+D06f5gMWmuWQXBSR4y3qjcatEMypV8QEfkM7Zdh9vx kSZGmYew==; Received: from willy by casper.infradead.org with local (Exim 4.94 #2 (Red Hat Linux)) id 1lgSar-007Jrs-TV; Tue, 11 May 2021 13:38:44 +0000 Date: Tue, 11 May 2021 14:38:37 +0100 From: Matthew Wilcox To: David Laight Cc: "davem@davemloft.net" , "kuba@kernel.org" , "yoshfuji@linux-ipv6.org" , "dsahern@kernel.org" , "netdev@vger.kernel.org" , "linux-kernel@vger.kernel.org" , Paolo Abeni , Eric Dumazet Subject: Re: [PATCH] udp: Switch the order of arguments to copy_linear_skb Message-ID: References: <20210511113400.1722975-1-willy@infradead.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, May 11, 2021 at 01:11:42PM +0000, David Laight wrote: > From: Matthew Wilcox > > Sent: 11 May 2021 12:34 > > > > All other skb functions use (off, len); this is the only one which > > uses (len, off). Make it consistent. > > I wouldn't change the order of the arguments without some other > change that ensures old code fails to compile. > (Like tweaking the function name.) Yes, some random essentially internal function that has had no new users since it was created in 2017 should get a new name *eyeroll*. Please find more useful things to critique. Or, you know, write some damned code yourself instead of just having opinions.