Received: by 2002:a05:6500:2018:b0:1fb:9675:f89d with SMTP id t24csp343385lqh; Fri, 31 May 2024 03:07:09 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWnMycPihk3zx5vFhyFjfszooE6HhvGud5t203HhyKyejCyJ3uwiftHCCm3keSTymtp8uwKIi/YFOLzUArNOztXl/IOqMT6HufmQEfeRg== X-Google-Smtp-Source: AGHT+IHWEjXCmK2C5BVLimKLlDJo3B6burtLd3MX8Wqdg9tVGB80BBabb8HUVULfPWY3iXc4NbUz X-Received: by 2002:a05:6358:7206:b0:199:520e:f1b6 with SMTP id e5c5f4694b2df-19b48d69009mr201017855d.19.1717150029428; Fri, 31 May 2024 03:07:09 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717150029; cv=pass; d=google.com; s=arc-20160816; b=cPFGHD4HbUqf5qhCEdIJhY3+LAv+2+gUOP59N9iF84bMWk1cr3qRU/o6jKjelVOu0D JRRT/6VMMmQrsbVVVMUdy4+iZu7nF8WC2iuR3CVjoHuYCVqi/mr1bjB+vqv+vZiKpuZf txQavavvvY5JffFwGOU+f841bf/tyHAYGGrSaINTD1EzyCx0pVIBsVwhO8Q9dCARRxBg gIGVM5Kw+GUd9r0cupeti1gOQ5L0DeOxWx1a8+EZBiefu1U0IDRiea8CAt+T5V/81ZGF QO+nygmBAYouLIZLUjD2wf6VL/zhc4CrRcq+91VRKoyd0CRCulUOlpVXabXU45C2tRfi +MRw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:subject :references:in-reply-to:cc:to:from:dkim-signature; bh=EyJ/fp8fLAWeHPnnfSmNeMVEuetHifqR62k6YYnOwV4=; fh=ADbsuWquz3NwLNe7YswDn37BNZhXRfmk8BO8SrrRVyw=; b=nJnBvZzSfusHD8WZ6wVxRyXkXDrY5eW6uiSlIdodZ/hJ4hQmw21iSZpyt/wW2AlSvf ewhB/QpNDV5T52iAl/ZE7osXfD0W1+SsaNSr6Kf9KYMWL+vdsqSFzHHYxSl6dT069OiZ uN44Et+9j1wkbWhSh8mHMKSTDP4rX2Ll77Z07wRzTe/WroBCwTtOnyyj5LEGcFqITfb/ i7giVJhhs3NOoPLNLEoC+nfSXjp9bhTqd/10p43fEl/fywYmxrSRwPCr8NQD9NU7h9Rg ROERG0RCvTIFHVaEBobYlpkCNmWdIA73Ag/tC5gRz6KBJcy0qrjpyuD2LOfUglx+iX9F /fBA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=NBDaNdj5; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-196643-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-196643-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id 41be03b00d2f7-6c35c181cc9si1270360a12.686.2024.05.31.03.07.09 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 31 May 2024 03:07:09 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-196643-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=NBDaNdj5; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-196643-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-196643-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id DC8C028348B for ; Fri, 31 May 2024 10:07:07 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id B5811150980; Fri, 31 May 2024 10:07:00 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="NBDaNdj5" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id DC7A37D3F4; Fri, 31 May 2024 10:06:59 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717150020; cv=none; b=IgTCsrUb0I9bJvIHPKP5a91oydU26bZsFL1FfGmUXf5mLbHAhYO4X/xgnyM3y+GPuYkvGJy2Vhzet0gbp1B2PLsAkTy6Y6P04eas6dXWmtlJc4QnDz8ByHhFDq+z3cnYcZONpYoXwiAo1BImBH/eONep3RQ8gFOVXrGsQtsBOzU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717150020; c=relaxed/simple; bh=x6YrxgCuIC9cb+82N6X0rKHyCVymfCkKvZeGU9Wr/kI=; h=From:To:Cc:In-Reply-To:References:Subject:Message-Id:Date: MIME-Version:Content-Type; b=qg1q/udpMSUDm77tkg3aYmzjLZ1sZnQNPpIuFf6B6M5Ft+LfNB3h3DrVDpv1XkWwZkKCUfJaD8VhS2ZhjkJR8ktrUUnzYWqIpWg8jETPyf9O3mm1sFFjkL/KQll3Y0luEzLyUcJjCXJFhCDZe7ObkyJlKF/UTk/2kgHwPtqjigE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=NBDaNdj5; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 53C3AC32786; Fri, 31 May 2024 10:06:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1717150019; bh=x6YrxgCuIC9cb+82N6X0rKHyCVymfCkKvZeGU9Wr/kI=; h=From:To:Cc:In-Reply-To:References:Subject:Date:From; b=NBDaNdj5VTAI3zuvwIlhOXV34jecHBKVG3bTmGLGc8ZvnMUG1XLsEePOV1i2wcsSz 1J9GRbqQhaldUZBfC+PHFkORUyfFoPYvCf6YPmM2cPo/HPi9EACHOw6wxLN3zmiwRr SQE0+7YocVgnleIRxUyziE/IGbS0Fng/CZhU0fEEIruX9EUS0FYNubjLsh1lMY8BpB Nc7LxW+ZVQ8k9B0wkVcxnUmwMYGk+SKjOtB1KEx9CKPWa0Yqfw/oWAX8WWbSKfZyH6 1Z+dAugxq71B7cMyjINg0DRngdFvzxu0JzGCVf8RL9gvcgj1Hh7gX2x+vAqtCqV+p5 M3fTVWoH43YKg== From: Lee Jones To: Pavel Machek , Lee Jones , Christophe JAILLET Cc: linux-kernel@vger.kernel.org, kernel-janitors@vger.kernel.org, linux-leds@vger.kernel.org In-Reply-To: <82a5cb26ff8af1865a790286bdbc3c4a2bd149f1.1714892598.git.christophe.jaillet@wanadoo.fr> References: <82a5cb26ff8af1865a790286bdbc3c4a2bd149f1.1714892598.git.christophe.jaillet@wanadoo.fr> Subject: Re: (subset) [PATCH] leds: is31fl319x: Constify struct regmap_config Message-Id: <171715001807.1011393.13624879216621879090.b4-ty@kernel.org> Date: Fri, 31 May 2024 11:06:58 +0100 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit X-Mailer: b4 0.12.4 On Sun, 05 May 2024 09:03:32 +0200, Christophe JAILLET wrote: > 'is31fl3190_regmap_config' and 'is31fl3196_regmap_config' are not modified > in this diver and are only used as a const struct regmap_config. > > Constifying these structures moves some data to a read-only section, so > increase overall security. > > On a x86_64, with allmodconfig: > Before: > text data bss dec hex filename > 13827 2002 32 15861 3df5 drivers/leds/leds-is31fl319x.o > > [...] Applied, thanks! [1/1] leds: is31fl319x: Constify struct regmap_config commit: eccf45fdbfcbc9890a02d53c0a6c45271c37969e -- Lee Jones [李琼斯]