Received: by 10.213.65.68 with SMTP id h4csp150496imn; Fri, 30 Mar 2018 02:54:03 -0700 (PDT) X-Google-Smtp-Source: AIpwx49gmPj8r3O2oPiOM4WGxvW4Zzgu2keJLeGMzPBJAoLi7lj2rQNeQvDhL7PfoNSs4THRNndE X-Received: by 2002:a17:902:5acf:: with SMTP id g15-v6mr12026430plm.138.1522403643279; Fri, 30 Mar 2018 02:54:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1522403643; cv=none; d=google.com; s=arc-20160816; b=PpdcE6I68L7t/msHL3jJuJreVQRnXJXA5BWAke/20Ilq03gB9+UDJNtDAFGCe/BkyN qD+AsXXDZtFnrFVIbUEonzuXbZH92anxuUw5Mxqk2L1UkXIhO5bTSAeyYWzMV+xUvFTv ixzwCp4lHFs4XGBAreiQ/7qXXZRObw02bK4bSdGoYCRUJc+sexBhe08NkE4K9jhzJWPV 3Xso90bxnya/qtpV/5jvfbPlayPf7y9bLbWY4ljxAmNTopR+7U4NW4T5+dAJDAd8IRMd 4zYHiG7F99wk41/p857fg+v1hDUj8ik+VATJXAvBALDqYGaCM0kjfrIyD2Hlg8ir+FnN poLQ== 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-disposition:mime-version:references:message-id:subject:cc :to:from:date:arc-authentication-results; bh=ANtua//A2BHvvZKAOUHT0VUdwZneP2epTL+SOETrInA=; b=byC9ivaQ9x/VJhta7xdHCjXxSord7n+qk1OW07L6VHMc4/zkm9E7dVFjacg2J8+pZ4 pIER5HNyfaRom1mfoGfZ92E2HUPWEEEj/pcQ8SqsfzfPeUwzjSeZXRB5q/pXDIRzvlyv szV+QOsE2XkRCDy/FyORHO8qclL5MdC6/N23/640xyd4qPwoJX8GMAxcVgxqkTnYCXyr MBAJ1tDwNzXqNFdA/fPNsERbyhTMl4WRM3OnajY4FgAcPKrSWyxzPLUKn3Rc5vGNw9HY 1o8fMqRiyghwiILxglXnFdWrzMfRw7rZydO+IMRCLiz+RtBdQJQTdgAC5/M8bmVXICjg NPoA== 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 u6-v6si7828754pld.628.2018.03.30.02.53.49; Fri, 30 Mar 2018 02:54:03 -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 S1751878AbeC3Jwi (ORCPT + 99 others); Fri, 30 Mar 2018 05:52:38 -0400 Received: from mail.us.es ([193.147.175.20]:54934 "EHLO mail.us.es" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751118AbeC3Jwg (ORCPT ); Fri, 30 Mar 2018 05:52:36 -0400 Received: from antivirus1-rhel7.int (unknown [192.168.2.11]) by mail.us.es (Postfix) with ESMTP id E5A215B856 for ; Fri, 30 Mar 2018 11:52:17 +0200 (CEST) Received: from antivirus1-rhel7.int (localhost [127.0.0.1]) by antivirus1-rhel7.int (Postfix) with ESMTP id D71D3DA248 for ; Fri, 30 Mar 2018 11:52:17 +0200 (CEST) Received: by antivirus1-rhel7.int (Postfix, from userid 99) id C1D4BDA241; Fri, 30 Mar 2018 11:52:17 +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.0 required=7.5 tests=ALL_TRUSTED,BAYES_50, HEADER_FROM_DIFFERENT_DOMAINS,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 D16A3DA727; Fri, 30 Mar 2018 11:52:15 +0200 (CEST) Received: from 192.168.1.97 (192.168.1.97) by antivirus1-rhel7.int (F-Secure/fsigk_smtp/550/antivirus1-rhel7.int); Fri, 30 Mar 2018 11:52:15 +0200 (CEST) X-Virus-Status: clean(F-Secure/fsigk_smtp/550/antivirus1-rhel7.int) Received: from us.es (unknown [31.4.241.27]) (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 77CC54265A2F; Fri, 30 Mar 2018 11:52:15 +0200 (CEST) Date: Fri, 30 Mar 2018 11:52:31 +0200 X-SMTPAUTHUS: auth mail.us.es From: Pablo Neira Ayuso To: Joe Perches Cc: Jozsef Kadlecsik , Florian Westphal , Stephen Hemminger , "David S. Miller" , netfilter-devel@vger.kernel.org, coreteam@netfilter.org, bridge@lists.linux-foundation.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] bridge: netfilter: ebt_stp: Use generic functions for comparisons Message-ID: <20180330095231.ph5hqdh2pboblhnk@salvia> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: 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 Wed, Mar 21, 2018 at 04:03:22AM -0700, Joe Perches wrote: > Instead of unnecessary const declarations, use the generic functions to > save a little object space. > > $ size net/bridge/netfilter/ebt_stp.o* > text data bss dec hex filename > 1250 144 0 1394 572 net/bridge/netfilter/ebt_stp.o.new > 1344 144 0 1488 5d0 net/bridge/netfilter/ebt_stp.o.old Applied, thanks Joe.