Received: by 10.223.185.116 with SMTP id b49csp6393423wrg; Wed, 28 Feb 2018 08:40:54 -0800 (PST) X-Google-Smtp-Source: AH8x225jZeFyrB6++wMy4IG9OWB2MwRyN6xLVOhyNfJuX9f2kxo4RBU5H+I0u34VegKyZVd099T8 X-Received: by 2002:a17:902:42e:: with SMTP id 43-v6mr19074421ple.186.1519836054181; Wed, 28 Feb 2018 08:40:54 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519836054; cv=none; d=google.com; s=arc-20160816; b=VQAAav4Bs2nU3bFZXUHhYM4V97cHayXwOpgFLHJYY9j6t2veHC5SfB/s/vrkI9OiZ+ SM9WlhTHQm3YGY+cS/def+6h1e7hSGaNfu3XKFHxyVNUJ7oBOvP6zumZtZeuPAHPgvTz VP0j5zKQfdI3Nrk3y8CTeE01iTgKKY0/A3GCZAsjmKdjvMgMoyFHf01m8uGlcG1xV1/J GYpFk7tHDM1B4dFI8yhq2iZ8Z2hTOO6OKil5uCBJ+PfQBbBierdXPb0lkq4Mgjj+954b lCSH3UzPMAUMO6SuNrqRPdPNve92GK4nE3LROPbWzKax7o+PVyd9a9PSn+m3khRWfcJg Sl1w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:from:subject:cc:to:message-id:date :arc-authentication-results; bh=kdCp1wfe1oDjpwFmEd3rOYH3zk1XzLZtx37Nt25wBmk=; b=bFY/EJ/IhmNPmBnZlib/NfrxIe42QuhPGOLFdvIlbBhraQK2nnKWbeeK4bJE0m5iHa vPVUwIZbEyej0NJavuZf1AwN+hRKFr9jgN09X7B4wzBSTM7bki2uho7lbkbaRIEhUE3j hufAJRwgQBUv/YD7tivsSi1u3gCIqwEkfk9kE8cX8+xVmiX3N8Y+peBBm3dKqWVUliQP NmJpJwnKA77gvCSd/Sg+epug/UbvTDooKJoU4ASNXlIVZNBEQ6Usp74rWMzxOECPlCB6 YeT0g9SLts52JbYhd1Oew6413hlVOiAHu2Pj/lCXESkaGOsj4A/j3YE4VDpBQQD6VRXI dxIA== 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 l4si1147332pgc.586.2018.02.28.08.40.39; Wed, 28 Feb 2018 08:40:54 -0800 (PST) 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 S934089AbeB1QkF convert rfc822-to-8bit (ORCPT + 99 others); Wed, 28 Feb 2018 11:40:05 -0500 Received: from shards.monkeyblade.net ([184.105.139.130]:48848 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932968AbeB1QkC (ORCPT ); Wed, 28 Feb 2018 11:40:02 -0500 Received: from localhost (67.110.78.66.ptr.us.xo.net [67.110.78.66]) (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 C2EB613FDF0B8; Wed, 28 Feb 2018 08:40:01 -0800 (PST) Date: Wed, 28 Feb 2018 11:40:01 -0500 (EST) Message-Id: <20180228.114001.1671475208967462803.davem@davemloft.net> To: hernan@vanguardiasur.com.ar Cc: Ariel.Elior@cavium.com, everest-linux-l2@cavium.com, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] qlogic/qed: Constify *pkt_type_str[] From: David Miller In-Reply-To: <1519770694-20678-1-git-send-email-hernan@vanguardiasur.com.ar> References: <1519770694-20678-1-git-send-email-hernan@vanguardiasur.com.ar> X-Mailer: Mew version 6.7 on Emacs 25.3 / Mule 6.0 (HANACHIRUSATO) Mime-Version: 1.0 Content-Type: Text/Plain; charset=iso-8859-1 Content-Transfer-Encoding: 8BIT X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.5.12 (shards.monkeyblade.net [149.20.54.216]); Wed, 28 Feb 2018 08:40:02 -0800 (PST) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Hern?n Gonzalez Date: Tue, 27 Feb 2018 19:31:34 -0300 > Note: This is compile only tested as I have no access to the hw. > Constifying and declaring as static saves 24 bytes. > > add/remove: 0/1 grow/shrink: 0/0 up/down: 0/-24 (-24) > Function old new delta > pkt_type_str 24 - -24 > Total: Before=3599256, After=3599232, chg -0.00% > > Signed-off-by: Hern?n Gonzalez Applied to net-next.