Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp184218pxu; Fri, 4 Dec 2020 00:10:06 -0800 (PST) X-Google-Smtp-Source: ABdhPJzqAEWZMLnZLrkepLuBg0M+tfenxX2WJ2I+zKWEpSfTmlehWiRGo21aO0u9sg81i13xHM5n X-Received: by 2002:a17:906:34ca:: with SMTP id h10mr6087701ejb.417.1607069405831; Fri, 04 Dec 2020 00:10:05 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1607069405; cv=none; d=google.com; s=arc-20160816; b=oE/q2QOghP0krp+TqZrXkQOH1kr19eMglCd5VSKr7sLBjRlI00y/1XYAnHSMAyk4Ej J/qRYHCfdOo7E3m5MIjtWaMwwq+JiGef+PU95S3dUHzbbn/XZEkwp9lUlWMixbI2Ie/Y BUTSyaCPKz7eAQzkqhNzVf+rX/R4TKDIRcjtroDP3LyTs3MUOZl3UJu/WB4jnXahrrCT b8qjnwj2yjGog77siuSwetz1uqEUs5cs82X1A6DulugvDAffc2YR+t3BHIetLDXAA5Z3 qdCA9kA552ShCdaWkPycsMVOj8ZaXuzwRtbiNsa4dWzmgyZdLIMRS4EcyWNqfn/WYu4/ 7UuA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=yX8j4Zc6r/G3qEMx5P335vQOgY7XxWfI8gCDr2DAO3c=; b=M2Hb9BDuVapHCWaQ3l1saXwe18yj3wUyCcQwqwKx9d1DIPvswZAQrvgB9gKSy+luee CxrMoE+WXaCHMmIt/bZUg3oIAvLAm53BWWGYlB0WzlW/OsVApiIHdnGTr2gx7V8PHDUx ifjeaeODE3rhvDJXpBrQyilrSOBPH/itLNhceacj/eJMlU9hmXSiRv6jVOfkAD9a8a1c /SzxfZ0ixpIzdgwNZzgju5nvel70B87FRvw+nv7qqmgTBdf00lujrVBFi+Zn03DFpteG oUWw2tElAmUwj0ALCslQ37edleGR47XxIqdZNXQH6RujLLPcPNPKM5ppqoDNdOnj+Dg6 CBLA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=jOjb14vb; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id 2si910821ejb.712.2020.12.04.00.09.42; Fri, 04 Dec 2020 00:10:05 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=jOjb14vb; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728863AbgLDIHx (ORCPT + 99 others); Fri, 4 Dec 2020 03:07:53 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34872 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728475AbgLDIHx (ORCPT ); Fri, 4 Dec 2020 03:07:53 -0500 Received: from mail-lj1-x241.google.com (mail-lj1-x241.google.com [IPv6:2a00:1450:4864:20::241]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D0AC5C061A51 for ; Fri, 4 Dec 2020 00:07:12 -0800 (PST) Received: by mail-lj1-x241.google.com with SMTP id y16so5601424ljk.1 for ; Fri, 04 Dec 2020 00:07:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=yX8j4Zc6r/G3qEMx5P335vQOgY7XxWfI8gCDr2DAO3c=; b=jOjb14vbi/ICQVDR+N5WlNELy+GMtxUHXHl63d4T9jWbwhs3ydZftkYWMXcjYh3iIv zz4dCH5cwlou55Gp0mpTqSj4rgZltncqEtjV9SbkkoYe9/N4fq32oxhTVLlAGd8BKdUs UR0V9LbEWqw0w7Zwu4HeOo6vzCTR3nlAWSwlHIx1lbW0MjINrHxYxBN7XXHf2js3MN91 u9mtvJZ+cTt+D0gE+eb+pQmN92QJ1cQ4rokNzZ70P5MYhz3Ff+UvRBE1e+LATNFo8aFR lykS5c7Kgbkmq0snVKFdMB3Kg8/Yw943yTJgYek7MzzSMFuJRE3NJlizh8Lqzn5kDp3k z0lg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=yX8j4Zc6r/G3qEMx5P335vQOgY7XxWfI8gCDr2DAO3c=; b=DiLqhS8CWuLn2OY2ofgh7S5lvAKOH6virn2MemhZcPGg0w0eRHDiDJfHRmVoXSnk0z vNA0qleWoUYjq+DxNLDv7LUepAgNd7G2Rur6TSSwJnhOibdISODGS+kmHsyr66BFvqIO h1nnAxgSaDJzZgDglw2M9rSkKiFbMCrHkY4rGGHGsYiSkGo+W2PZKUR9de5TNHF+n2BY D9Iyq/3/DRDLzrIJwYXwQKtFrEStfwLCpbUclS8O4wwh+IMTQ46QZOZJ+uHCOezH2SIT ps/V/k5H0BR8kYrMdSWeoG58mX8pbiY5z7LiXW+6yUrEC+VmXRWOOR7Tjy5S998LRE0v lulQ== X-Gm-Message-State: AOAM530m/An5r+Ltoi7PNLMxB0YduTYHNBJXJauVzobuAA+RGWKkJRNE Cpp6Qa1dkn+bZvhr1s+0TZOmkfhAJlJNKnA+9Q8sCQ== X-Received: by 2002:a2e:321a:: with SMTP id y26mr2839981ljy.293.1607069231260; Fri, 04 Dec 2020 00:07:11 -0800 (PST) MIME-Version: 1.0 References: <24505deb08d050eb4ce38f186f4037d7541ea217.1605722628.git.cristian.ciocaltea@gmail.com> In-Reply-To: <24505deb08d050eb4ce38f186f4037d7541ea217.1605722628.git.cristian.ciocaltea@gmail.com> From: Linus Walleij Date: Fri, 4 Dec 2020 09:07:00 +0100 Message-ID: Subject: Re: [PATCH 1/1] pinctrl: actions: pinctrl-s500: Constify s500_padinfo[] To: Cristian Ciocaltea Cc: =?UTF-8?Q?Andreas_F=C3=A4rber?= , Manivannan Sadhasivam , Linux ARM , "open list:GPIO SUBSYSTEM" , "linux-kernel@vger.kernel.org" , linux-actions@lists.infradead.org Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Nov 18, 2020 at 7:10 PM Cristian Ciocaltea wrote: > s500_padinfo[] is never modified and should be made 'const' to allow > the compiler to optimize code generation, i.e. put it in the text > section instead of the data section. > > Before: > text data bss dec hex filename > 12503 5088 0 17591 44b7 drivers/pinctrl/actions/pinctrl-s500.o > > After: > text data bss dec hex filename > 14435 3156 0 17591 44b7 drivers/pinctrl/actions/pinctrl-s500.o > > Signed-off-by: Cristian Ciocaltea Patch applied. Yours, Linus Walleij