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=-4.0 required=3.0 tests=BAYES_00, 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 56036C433E1 for ; Fri, 31 Jul 2020 21:25:49 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 3785A20663 for ; Fri, 31 Jul 2020 21:25:49 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729196AbgGaVZr (ORCPT ); Fri, 31 Jul 2020 17:25:47 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58194 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727888AbgGaVZq (ORCPT ); Fri, 31 Jul 2020 17:25:46 -0400 Received: from shards.monkeyblade.net (shards.monkeyblade.net [IPv6:2620:137:e000::1:9]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8ECE9C061574; Fri, 31 Jul 2020 14:25:46 -0700 (PDT) Received: from localhost (50-47-102-2.evrt.wa.frontiernet.net [50.47.102.2]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) (Authenticated sender: davem-davemloft) by shards.monkeyblade.net (Postfix) with ESMTPSA id 8F34111E45903; Fri, 31 Jul 2020 14:08:57 -0700 (PDT) Date: Fri, 31 Jul 2020 14:25:38 -0700 (PDT) Message-Id: <20200731.142538.868196979893920242.davem@davemloft.net> To: ioanaruxandra.stancioi@gmail.com Cc: david.lebrun@uclouvain.be, kuznet@ms2.inr.ac.ru, yoshfuji@linux-ipv6.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, elver@google.com, glider@google.com, stancioi@google.com Subject: Re: [PATCH v2] seg6_iptunnel: Refactor seg6_lwt_headroom out of uapi header From: David Miller In-Reply-To: <20200731074032.293456-1-ioanaruxandra.stancioi@gmail.com> References: <20200731074032.293456-1-ioanaruxandra.stancioi@gmail.com> X-Mailer: Mew version 6.8 on Emacs 26.3 Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.5.12 (shards.monkeyblade.net [149.20.54.216]); Fri, 31 Jul 2020 14:08:58 -0700 (PDT) Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org From: Ioana-Ruxandra Stancioi Date: Fri, 31 Jul 2020 07:40:32 +0000 > --- a/net/ipv6/seg6_iptunnel.c > +++ b/net/ipv6/seg6_iptunnel.c > @@ -27,6 +27,23 @@ > #include > #endif > > +static inline size_t seg6_lwt_headroom(struct seg6_iptunnel_encap *tuninfo) > +{ Please remove the inline tag when you move the function here, we do not use the inline keyword in foo.c files. Thank you.