Received: by 2002:a05:6a10:7420:0:0:0:0 with SMTP id hk32csp891336pxb; Thu, 17 Feb 2022 17:43:07 -0800 (PST) X-Google-Smtp-Source: ABdhPJwR4ayvIFHXuQAPmW3qNbMA/yBenHsXQ35ut2d44S9esqgYv/86LccwLv3C5n/19rGKZSVP X-Received: by 2002:a17:902:7205:b0:14c:9586:f9d5 with SMTP id ba5-20020a170902720500b0014c9586f9d5mr5386286plb.77.1645148587305; Thu, 17 Feb 2022 17:43:07 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1645148587; cv=none; d=google.com; s=arc-20160816; b=kz1TvSA20N8dT0m2IYFJnRJfWrBFFLz2fjfcUlmerYU5Zugf7VRp2GmNHmz4XeCgc9 rWDHIHW2RzQUdVQiyX2YvcYnEhIUWMusSBQYjvsG5CzAQVXTkhz5aLm6l0Cq7tD9xAKm kaelw5HRpNnSmPVESc9+FmHq98FICiqLxlmHjylJ0DtYI8aXyjk6aC7rvnC4/PNFwi9D +88sKO29JQFr7gXpwHXBX4kgPEgTr2t90u5oC3WhgxnTiAnp6y3+Wx02qFQhVcA7w5Cy 8R1qlH7JLqaGv9Mn6RMrCzaq6Av09yX35pRXvBq8Jpnmb0LoVwD0rUznjYXO/mqLfSS5 HGiQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature:dkim-filter; bh=VKdbuX5iAWZp7EuE5zh/xocsqym/fIrci0mPxooYe28=; b=veEo6KfV3EvmP5MQd6tVNJqb0WAAJUB4gu0hAo7fRjFtHoH1TfL7v3B2lEQnRW/uWs QOcBzpjhNG6NgjAP/UQQdUwhsZuW7mbpd7bofqpuYTe3LJmPzGylsf11FjfMyHq0easg NVJmhys4ffrJ6Q71Zseu16ne6hxAtV7moVrlsnRXCbOxDKGfV/cgLapss45i+yajmM9p otsh/32AUhyDp76zGDQt48zJIiISuM0LVbRfWrqIPzw06Q61k7jo7dANwCZqW0Net8ou 21el3KqqP0739LHFhkUakoxW0ydJUgpmawsqRzrW94GzDJM9Q7dLsa7pO1uiCbv8LB1t tSDg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=IWhfFvte; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 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 lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id oo12si2409626pjb.163.2022.02.17.17.43.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 17 Feb 2022 17:43:07 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=IWhfFvte; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 32F16E082; Thu, 17 Feb 2022 17:36:53 -0800 (PST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231297AbiBRBhH (ORCPT + 99 others); Thu, 17 Feb 2022 20:37:07 -0500 Received: from gmail-smtp-in.l.google.com ([23.128.96.19]:47772 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231156AbiBRBhF (ORCPT ); Thu, 17 Feb 2022 20:37:05 -0500 Received: from conssluserg-04.nifty.com (conssluserg-04.nifty.com [210.131.2.83]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D47ED64C0; Thu, 17 Feb 2022 17:36:49 -0800 (PST) Received: from mail-pj1-f47.google.com (mail-pj1-f47.google.com [209.85.216.47]) (authenticated) by conssluserg-04.nifty.com with ESMTP id 21I1aP3F029682; Fri, 18 Feb 2022 10:36:26 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conssluserg-04.nifty.com 21I1aP3F029682 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1645148186; bh=VKdbuX5iAWZp7EuE5zh/xocsqym/fIrci0mPxooYe28=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=IWhfFvtew4XU+l1tL7Sq692w35/peSkY5xMOmfIiDPmNJsFG/dLnh6hvuX7ZTQUAv RRW+NYubKgOIhXlWjhKo/2EDILOCt78EfK6HwxqRRfooUeivpKtY1htnxsEICsK9f7 E5ql2bG+4s1DtHOKKdrpXy044p38x41eVsw9RIgZFPss5pUUwxst2PuCkvzz9UvlJh +1RmkYZhSo9R5pPRI81FNE6r2L6eQHnKUKh4ulAcVwXBKvxh39KYHGOFSKlRQphiJy n7ZaF4Z/STeLg4vjvCaaV4QaRvbPk6GKJlpASNp11lAs8w/T/9J6IF4nN+lGAbtnBB CfH4t3KPiPU3A== X-Nifty-SrcIP: [209.85.216.47] Received: by mail-pj1-f47.google.com with SMTP id t4-20020a17090a510400b001b8c4a6cd5dso7090066pjh.5; Thu, 17 Feb 2022 17:36:26 -0800 (PST) X-Gm-Message-State: AOAM532U0FmFG9PBIDONcPzEOkTOvUH1yB2zbXQrBFvot8N0nLqimv0A MRSYl7ZbLZwaW1OpeMWCSVmMYI81zjXrQmbV2Qo= X-Received: by 2002:a17:90b:4d84:b0:1b9:4109:7118 with SMTP id oj4-20020a17090b4d8400b001b941097118mr10117749pjb.119.1645148185337; Thu, 17 Feb 2022 17:36:25 -0800 (PST) MIME-Version: 1.0 References: <978951d76d8cb84bab347c7623bc163e9a038452.1645100305.git.christophe.leroy@csgroup.eu> <35bcd5df0fb546008ff4043dbea68836@AcuMS.aculab.com> <9b8ef186-c7fe-822c-35df-342c9e86cc88@csgroup.eu> <3c2b682a7d804b5e8749428b50342c82@AcuMS.aculab.com> <2e38265880db45afa96cfb51223f7418@AcuMS.aculab.com> <20220217180735.GM614@gate.crashing.org> In-Reply-To: <20220217180735.GM614@gate.crashing.org> From: Masahiro Yamada Date: Fri, 18 Feb 2022 10:35:48 +0900 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH net v3] net: Force inlining of checksum functions in net/checksum.h To: Segher Boessenkool Cc: David Laight , "netdev@vger.kernel.org" , Nick Desaulniers , "linux-kernel@vger.kernel.org" , Ingo Molnar , Jakub Kicinski , Andrew Morton , "linuxppc-dev@lists.ozlabs.org" , "David S. Miller" Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE, T_SCC_BODY_TEXT_LINE autolearn=no 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, Feb 18, 2022 at 3:10 AM Segher Boessenkool wrote: > > On Fri, Feb 18, 2022 at 02:27:16AM +0900, Masahiro Yamada wrote: > > On Fri, Feb 18, 2022 at 1:49 AM David Laight wrote: > > > That description is largely fine. > > > > > > Inappropriate 'inline' ought to be removed. > > > Then 'inline' means - 'really do inline this'. > > > > You cannot change "static inline" to "static" > > in header files. > > Why not? Those two have identical semantics! e.g.) [1] Open include/linux/device.h with your favorite editor, then edit static inline void *devm_kcalloc(struct device *dev, to static void *devm_kcalloc(struct device *dev, [2] Build the kernel > > > Segher -- Best Regards Masahiro Yamada