Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp865294ybl; Tue, 13 Aug 2019 03:58:36 -0700 (PDT) X-Google-Smtp-Source: APXvYqwa8dwJn7cxjOLqZisN3KtrAsyI2DCUHdZNas+cG+4fx84yD2Su7rdXzZS/qmzYF4t1Z3rI X-Received: by 2002:a65:5348:: with SMTP id w8mr33802318pgr.176.1565693916603; Tue, 13 Aug 2019 03:58:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1565693916; cv=none; d=google.com; s=arc-20160816; b=VNjbm4W9Q/P6gYc4oEB+BEzzNzKNmMUclTzxaFCoij4UkqumP0suxNWmpsHz50GZ9g M/PvSSFh1KxA/8G8OaceDvEGBUGgnMbrgLZdNlIH4QYb4Z0bS+M7vxsaFnLV12WKgBEE 3qQFjEu+KVv2E01gTmeCPNVy0wGygoEwmwTWGFhMx5+hwv7222BiR9k365wwEX8x1omo GGXPO1B+ycOnVMf78BriKvFbYsfHmGWru3isteH4dZAXo5kW4VnUI2M78vIj0aLChr+e VZmT9B1RK/8+LCTgEI4wq3sfssWVitF1PsDOUYY+fqQp3xsUpPMVUoWdUUvCeXLi3yC8 kseg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-transfer-encoding:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=GL15CmktpSijoe4xnfFD0JoiCsnCu/pKlj86lWJEfcs=; b=CDR01SUrPffwddCuT4TiPUqwfKIDpFUl9XLWYPCP+rZeL4KAgrEw9RXVwzQjotVBR+ zU/yu3xzhnZaVVl2mUNCU65SjuZebwd9qc+pgmw0UVNPSzpF/a4lBs6Hl0WpTbmW709Q kODL44HreajNDNuibHHGZ2GdlDh70kDRd81iOeHMUufR8vO0ScJdPktK8YoAi7dnHGHr wqmQJol3WA8pk9UvtZe6XzNOhWttWLDvhWN0rUXB53Y1GGL5Opc708UDQugpFRaKUNRF 7J+hKU0Lz/iaZszaoF+ozbkMV7iA1SG6o132BpWL4/rv7DVgySno55MU1xyUsp9+iAjO grRg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id e123si66833883pfa.252.2019.08.13.03.58.21; Tue, 13 Aug 2019 03:58:36 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728591AbfHMJ7A (ORCPT + 99 others); Tue, 13 Aug 2019 05:59:00 -0400 Received: from correo.us.es ([193.147.175.20]:35542 "EHLO mail.us.es" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728590AbfHMJ7A (ORCPT ); Tue, 13 Aug 2019 05:59:00 -0400 Received: from antivirus1-rhel7.int (unknown [192.168.2.11]) by mail.us.es (Postfix) with ESMTP id 068DDDA708 for ; Tue, 13 Aug 2019 11:58:58 +0200 (CEST) Received: from antivirus1-rhel7.int (localhost [127.0.0.1]) by antivirus1-rhel7.int (Postfix) with ESMTP id ED1F6DA730 for ; Tue, 13 Aug 2019 11:58:57 +0200 (CEST) Received: by antivirus1-rhel7.int (Postfix, from userid 99) id E1DF3202D1; Tue, 13 Aug 2019 11:58:57 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on antivirus1-rhel7.int X-Spam-Level: X-Spam-Status: No, score=-108.2 required=7.5 tests=ALL_TRUSTED,BAYES_50, SMTPAUTH_US2,USER_IN_WHITELIST autolearn=disabled version=3.4.1 Received: from antivirus1-rhel7.int (localhost [127.0.0.1]) by antivirus1-rhel7.int (Postfix) with ESMTP id E81A4DA730; Tue, 13 Aug 2019 11:58:55 +0200 (CEST) Received: from 192.168.1.97 (192.168.1.97) by antivirus1-rhel7.int (F-Secure/fsigk_smtp/550/antivirus1-rhel7.int); Tue, 13 Aug 2019 11:58:55 +0200 (CEST) X-Virus-Status: clean(F-Secure/fsigk_smtp/550/antivirus1-rhel7.int) Received: from us.es (unknown [31.4.218.116]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: 1984lsi) by entrada.int (Postfix) with ESMTPSA id BB08A4265A2F; Tue, 13 Aug 2019 11:58:55 +0200 (CEST) Date: Tue, 13 Aug 2019 11:58:55 +0200 X-SMTPAUTHUS: auth mail.us.es From: Pablo Neira Ayuso To: Valdis =?utf-8?Q?Kl=C4=93tnieks?= Cc: Jozsef Kadlecsik , Florian Westphal , netfilter-devel@vger.kernel.org, coreteam@netfilter.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] net/netfilter/nf_nat_proto.c - make tables static Message-ID: <20190813095855.hcxlzzuadvgwfzw7@salvia> References: <55481.1565243002@turing-police> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <55481.1565243002@turing-police> User-Agent: NeoMutt/20170113 (1.7.2) X-Virus-Scanned: ClamAV using ClamSMTP Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Aug 08, 2019 at 01:43:22AM -0400, Valdis Klētnieks wrote: > Sparse warns about two tables not being declared. > > CHECK net/netfilter/nf_nat_proto.c > net/netfilter/nf_nat_proto.c:725:26: warning: symbol 'nf_nat_ipv4_ops' was not declared. Should it be static? > net/netfilter/nf_nat_proto.c:964:26: warning: symbol 'nf_nat_ipv6_ops' was not declared. Should it be static? > > And in fact they can indeed be static. Applied, thanks.