Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp3569077imm; Wed, 5 Sep 2018 02:16:24 -0700 (PDT) X-Google-Smtp-Source: ANB0VdaAN0GbLboKbq2Cd6G903qZyxb4QjJl5ZOy8SXdh/EILEp4gcFnghMQvRJE21IRW9ExRlvV X-Received: by 2002:a17:902:209:: with SMTP id 9-v6mr37466211plc.270.1536138984653; Wed, 05 Sep 2018 02:16:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536138984; cv=none; d=google.com; s=arc-20160816; b=Wcz08PsL3YP609UgaDnu8KWwDy2nrnKy8KkLfagisCcg63eKZMSLJlarpdiYEz55Ve 1mubEddyOzQs+S2TgSddxZnwyRUjdcuEMWxBct/2MXX1qa3E+Nq9djVZjEY/8QuCCA2U 9apEQay2ek0SSGrgZz8q71ufWJEtdlj/E/qjWb3C95ccT6nhpCvAP99Kis+YRRkoj2nT xOmBDHbwPtNOEJzIaVbkFwwrXWBK4/HnuoKKP3WmYAQf0kn3BIX2JLvQU+dQfFxBgn1c 5mDkmt2aarMlQv+/liJNI/B23bI0H+e3Qd2e98C7Sc1S5yYwSQaJFvEnZjY5IohH8Jl3 h2vg== 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; bh=5iMhoYfdzaC8a+9kcrwZ2ON1PYD2AhcAWRy6Lk5ksNU=; b=Sw0VJDXKKCXsnqD2hAhIPlE3Thxj1a8jcV+pX1WtOYeyUNLIn+RzemIC/tv7gtmgWW SsQdg8QbAao95b1L3RMr1Mfo+5Qotnjq0AbLs3jBFZd0flbY6LSQoG/ERpjRKHjPh8Dj WJYwLE0CkPDU8sylKMI4rFBH0QSWlad4t6dg3Ox14Q87Iezef1OPRZzYeTVtAtho+Wuy g3fdVWYDKicjk00IakAlsrHQ1xe59SYKskJgBotHlkinwQ3HO/75JECmJMdf0BCa2+ll oKuz+6VJaPDaA2kLCS1bxCL4fs4XvrInP1ENGM9xbnOEIylFkfTo1T8p7zn55KJoTLBL Jc1Q== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=cirrus.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id x3-v6si1296764plo.350.2018.09.05.02.16.09; Wed, 05 Sep 2018 02:16:24 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=cirrus.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726366AbeIENoZ (ORCPT + 99 others); Wed, 5 Sep 2018 09:44:25 -0400 Received: from mx0b-001ae601.pphosted.com ([67.231.152.168]:43834 "EHLO mx0b-001ae601.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725862AbeIENoZ (ORCPT ); Wed, 5 Sep 2018 09:44:25 -0400 Received: from pps.filterd (m0077474.ppops.net [127.0.0.1]) by mx0b-001ae601.pphosted.com (8.16.0.22/8.16.0.22) with SMTP id w859EFHR003041; Wed, 5 Sep 2018 04:15:06 -0500 Authentication-Results: ppops.net; spf=none smtp.mailfrom=ckeepax@opensource.cirrus.com Received: from mail3.cirrus.com ([87.246.76.56]) by mx0b-001ae601.pphosted.com with ESMTP id 2m7q6p58xc-1; Wed, 05 Sep 2018 04:15:05 -0500 Received: from EX17.ad.cirrus.com (ex17.ad.cirrus.com [172.20.9.81]) by mail3.cirrus.com (Postfix) with ESMTP id CC663611C8B4; Wed, 5 Sep 2018 04:16:50 -0500 (CDT) Received: from imbe.wolfsonmicro.main (198.61.95.81) by EX17.ad.cirrus.com (172.20.9.81) with Microsoft SMTP Server id 14.3.408.0; Wed, 5 Sep 2018 10:15:04 +0100 Received: from imbe.wolfsonmicro.main (imbe.wolfsonmicro.main [198.61.95.81]) by imbe.wolfsonmicro.main (8.14.4/8.14.4) with ESMTP id w859F4vO018819; Wed, 5 Sep 2018 10:15:04 +0100 Date: Wed, 5 Sep 2018 10:15:04 +0100 From: Charles Keepax To: Colin King CC: Lee Jones , , , Subject: Re: [PATCH] mfd: arizona: make array mclk_name static, shrinks object size Message-ID: <20180905091504.GB1653@imbe.wolfsonmicro.main> References: <20180904141553.28000-1-colin.king@canonical.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: <20180904141553.28000-1-colin.king@canonical.com> User-Agent: Mutt/1.5.20 (2009-12-10) X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 priorityscore=1501 malwarescore=0 suspectscore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1011 lowpriorityscore=0 mlxscore=0 impostorscore=0 mlxlogscore=839 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1807170000 definitions=main-1809050099 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Sep 04, 2018 at 03:15:53PM +0100, Colin King wrote: > From: Colin Ian King > > Don't populate the array mclk_name on the stack but instead make it > static. Makes the object code smaller by 23 bytes: > > Before: > text data bss dec hex filename > 38050 11604 64 49718 c236 linux/drivers/mfd/arizona-core.o > > After: > text data bss dec hex filename > 38027 11604 64 49695 c21f linux/drivers/mfd/arizona-core.o > > (gcc version 8.2.0 x86_64) > > Signed-off-by: Colin Ian King > --- Acked-by: Charles Keepax Thanks, Charles