From patchwork Tue Nov 5 22:14:24 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gregory Rose X-Patchwork-Id: 1190031 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=openvswitch.org (client-ip=140.211.169.12; helo=mail.linuxfoundation.org; envelope-from=ovs-dev-bounces@openvswitch.org; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="p6U9g6YJ"; dkim-atps=neutral Received: from mail.linuxfoundation.org (mail.linuxfoundation.org [140.211.169.12]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4773qY2Bkmz9s7T for ; Wed, 6 Nov 2019 09:14:33 +1100 (AEDT) Received: from mail.linux-foundation.org (localhost [127.0.0.1]) by mail.linuxfoundation.org (Postfix) with ESMTP id 6CA2DCD9; Tue, 5 Nov 2019 22:14:30 +0000 (UTC) X-Original-To: dev@openvswitch.org Delivered-To: ovs-dev@mail.linuxfoundation.org Received: from smtp1.linuxfoundation.org (smtp1.linux-foundation.org [172.17.192.35]) by mail.linuxfoundation.org (Postfix) with ESMTPS id CA22ACD5 for ; Tue, 5 Nov 2019 22:14:28 +0000 (UTC) X-Greylist: whitelisted by SQLgrey-1.7.6 Received: from mail-pf1-f194.google.com (mail-pf1-f194.google.com [209.85.210.194]) by smtp1.linuxfoundation.org (Postfix) with ESMTPS id 9545C8A0 for ; Tue, 5 Nov 2019 22:14:28 +0000 (UTC) Received: by mail-pf1-f194.google.com with SMTP id p24so10553396pfn.4 for ; Tue, 05 Nov 2019 14:14:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=8PKMZhWe324dptzsHwn3ifsQR3ojRiST9Q3VNs8IeoQ=; b=p6U9g6YJ6Av+CjlCqWp7dTFSZM3Tqz+wUZkH/NJPgsLhkKFVeiiQzSuSFsNHJeRaBn sSPMdO34DVbw1nOPLpr3uDGi1Gc5tAEm/hDVBrxRwVxG4JoJ0smbqS4BnC4r12+tbink 4/4P9SaaewTAv0DDTsL6BG5agVxagQ3qlnsAwNE1/IJy0eCZgk3vbzWoSevMNLj41CYp 23YDgvkvO9zzwFz1P7yLVlnaeF6OOIO/Pmf7qUE3CtZFT5XyTml05caX2/4WAP+Uz5ef EsU+hT6RNNMF+hHFaWhEQI8XDlkRVAtNGXzKlIoicUQkTHSb9QlTQgnRV+AMeldlN8rB 3Y9Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=8PKMZhWe324dptzsHwn3ifsQR3ojRiST9Q3VNs8IeoQ=; b=MWHmP8nFnYiuW8GuPuqPW475NF8P5jSxBy+OSt71nn5Jl+t+veOI1qowdmKs04FtAV Bbp9XNs++1Ns4jpMudvDtPd+8PnSDqPc4Y0Nc1ExcBuvBDMPZ+y0SMWe57CZaHSQ2gfw lZvpy8NIYY427kY4cs9WJNzjGt6f+AJ7q9Ns2HGWHF0eHEs6EjfQYvK3XhWAvYFWMp84 7C6siqWVRKYgX7MiIp9kaNdIhZPpk2dE2foZx0KPOeP/rTalJ6kXKxXtjpJgwFDwtnvA 4So4ORapAlzRPL6KXGIUn1tznf1w5dMPZ1nkNGCyz7p4k+3lwbcGVcGwMaIQNxuInKpL kAmA== X-Gm-Message-State: APjAAAWvZOUh3Bf6BXhynxGb/u2T2P7kFz1m49sIp6quNn/71cTu2fO9 y/Km0oU5q4T49w/NmK0CRoNGfq2mNMQ= X-Google-Smtp-Source: APXvYqxKY7gpfLloOwr9gywHytlVltm0iZJkCYJV3YdqxiMyfqCJlR28xl9TOvp5RSVvgD1c89crng== X-Received: by 2002:a65:6482:: with SMTP id e2mr5554684pgv.20.1572992067493; Tue, 05 Nov 2019 14:14:27 -0800 (PST) Received: from gizo.domain (97-115-74-198.ptld.qwest.net. [97.115.74.198]) by smtp.gmail.com with ESMTPSA id b82sm20639107pfb.33.2019.11.05.14.14.26 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 05 Nov 2019 14:14:26 -0800 (PST) From: Greg Rose To: dev@openvswitch.org Date: Tue, 5 Nov 2019 14:14:24 -0800 Message-Id: <1572992064-2249-1-git-send-email-gvrose8192@gmail.com> X-Mailer: git-send-email 1.8.3.1 X-Spam-Status: No, score=-1.7 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE autolearn=no version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on smtp1.linux-foundation.org Subject: [ovs-dev] [PATCH] compat: Add missing inline keyword X-BeenThere: ovs-dev@openvswitch.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: ovs-dev-bounces@openvswitch.org Errors-To: ovs-dev-bounces@openvswitch.org The missing inline keyword before the definition of the rpl_nf_ct_tmpl_free() function causes spurious warnings about the function not being used on some older kernels. Add the keyword to suppress the warning. Signed-off-by: Greg Rose Acked-by: Ben Pfaff --- datapath/linux/compat/include/net/netfilter/nf_conntrack_core.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/datapath/linux/compat/include/net/netfilter/nf_conntrack_core.h b/datapath/linux/compat/include/net/netfilter/nf_conntrack_core.h index bb3d794..4cce92f 100644 --- a/datapath/linux/compat/include/net/netfilter/nf_conntrack_core.h +++ b/datapath/linux/compat/include/net/netfilter/nf_conntrack_core.h @@ -33,7 +33,7 @@ out_free: } #define nf_ct_tmpl_alloc rpl_nf_ct_tmpl_alloc -static void rpl_nf_ct_tmpl_free(struct nf_conn *tmpl) +static inline void rpl_nf_ct_tmpl_free(struct nf_conn *tmpl) { nf_ct_ext_destroy(tmpl); nf_ct_ext_free(tmpl);