From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-wr1-f48.google.com (mail-wr1-f48.google.com [209.85.221.48]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 49EBA1891BD for ; Thu, 8 Aug 2024 10:06:00 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.48 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1723111562; cv=none; b=rkTZz98Z2N/v9HK+s/N25YVJfBXtv6edg5XaJMX7dkF+7/Zkgder3NBQ6VGBB0lG0FOiBl6bcyp14KG7cJkAjmr82oS1nbz0G7Xhlz+k2ahkdqIaMEEHuvBM1H1N6XqmafgzQ3tisgytQf4AJGc3HVvC7upGPmugslN4uwb4cFI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1723111562; c=relaxed/simple; bh=6hv5xKMBa4EVOIETsZgjUJj1tDj/hE5EZ3N7WS+BMmU=; h=From:To:Cc:Subject:In-Reply-To:References:Date:Message-ID: MIME-Version:Content-Type; b=giAAnYHc9VDobKWwDQjuiVtSWoNl0NnPYokx8ZAZBEY9ASajKTAT0fi4kU2ZaZopnP0BJmFjSyTVcdaK+l/tKIV122Vo6Xp5hTIZMbr0H4jth+hnZY7dVigAAnSTnG99fV7qgexItw95m2O4ys1ks/N4XA9Bn3YXH6Wckcn/Yl4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=baylibre.com; spf=pass smtp.mailfrom=baylibre.com; dkim=pass (2048-bit key) header.d=baylibre-com.20230601.gappssmtp.com header.i=@baylibre-com.20230601.gappssmtp.com header.b=n4HxHa5y; arc=none smtp.client-ip=209.85.221.48 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=baylibre.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=baylibre.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=baylibre-com.20230601.gappssmtp.com header.i=@baylibre-com.20230601.gappssmtp.com header.b="n4HxHa5y" Received: by mail-wr1-f48.google.com with SMTP id ffacd0b85a97d-3683178b226so303412f8f.1 for ; Thu, 08 Aug 2024 03:05:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20230601.gappssmtp.com; s=20230601; t=1723111558; x=1723716358; darn=vger.kernel.org; h=mime-version:message-id:date:references:in-reply-to:subject:cc:to :from:from:to:cc:subject:date:message-id:reply-to; bh=/qPsQ8QVE2zEks663h1JC5K+bSl/B5g3BfpyLqR4k0g=; b=n4HxHa5yTpH9UzfsbLnDthna3m6hI9+Ph9C11hPNDhuFyxyvZWvcquKzyHlfgW+zCm rAM1IqSmCWhEpo7d4miB0Lz/P14bOUBykfZCtviX7G5WOp91C5cliuxD/vE2H8lWEYqa ELWGQlXHECzDSmzBsGXOlJa6L/5p0Umh7ilLKhbk5+D6OmyieophBIespy/24cRMawGR E5V8KopGRrH4aAinUudbK5pTvfi1XKH72VPkGSLvQjzk9mg1qeij79k5Tl2zf7DIXezD 23IFklpluLBYy9ZVbPNK5Qqz3W8POP2kQ657Vb+WrHiageXZYF0OjeMa32u47Kf2eUWh 3CpQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1723111558; x=1723716358; h=mime-version:message-id:date:references:in-reply-to:subject:cc:to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=/qPsQ8QVE2zEks663h1JC5K+bSl/B5g3BfpyLqR4k0g=; b=s6w069CE1l48NByJUg347sY9uzXW4bChUz5e0TgYaWP25lSABRFu32BYYKZUpVM/Or isJmOzgcPkecim85F6WjUQqKv7ZSFE+gHeaCvvAZ78DYH3l23bkbyPybdS5eon6D6NY7 7qT/z6WQt9SM+22SYEfc8fvXAakJSBZusen+J9a8+fDTszaeH2Q2TBUX699UgnUYeCtp GrQ2ZQaPA0oqO7RhWPam3atPYHEatMwaUDiR5DLoSM8CgcxopAA0Y0PdtWsaJM69K6ex ODR71vz6py9dnRqWtlmamAS+YErptGhSnKiED2RLRpFUTTNMOtl3YfxFzYFlHL8IvYK7 mZnw== X-Forwarded-Encrypted: i=1; AJvYcCUFiDl8Ii9Akbr3aUPsBhiRhKRAjkWDfxbMjeS6uRQV8IrwAuZtq5GybhwjbQCEIBkVXG7sMaBlocrM5DU=@vger.kernel.org X-Gm-Message-State: AOJu0YxXCsSXBgO7wcCDrpQiZqLfsqNFZFpjEPvAzYXC/uqF+/rSD1Mf f6v/yo5UpZbZCowC4orZghx73lGh7naQ9fIVCLsYd8V9qbYmCT7+u/V46IhBzvU= X-Google-Smtp-Source: AGHT+IHuYbrCTlKt5TCgiFSu5JCjZWHBFhE44QTQFbwLXgNURs2glTBXxCRbpAs970Ya85dt2iUAZw== X-Received: by 2002:a05:6000:259:b0:368:4e98:6e9e with SMTP id ffacd0b85a97d-36d275900a9mr806392f8f.63.1723111558368; Thu, 08 Aug 2024 03:05:58 -0700 (PDT) Received: from localhost ([2a01:e0a:3c5:5fb1:ae7:4e79:8821:15db]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-36d27209a5esm1390336f8f.80.2024.08.08.03.05.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 08 Aug 2024 03:05:57 -0700 (PDT) From: Jerome Brunet To: Christophe JAILLET Cc: Linus Walleij , Neil Armstrong , Kevin Hilman , Martin Blumenstingl , linux-kernel@vger.kernel.org, kernel-janitors@vger.kernel.org, linux-gpio@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-amlogic@lists.infradead.org Subject: Re: [PATCH v2] pinctrl: meson: Constify some structures In-Reply-To: (Christophe JAILLET's message of "Wed, 7 Aug 2024 20:05:36 +0200") References: Date: Thu, 08 Aug 2024 12:05:57 +0200 Message-ID: <1jplqjxray.fsf@starbuckisacylon.baylibre.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain On Wed 07 Aug 2024 at 20:05, Christophe JAILLET wrote: > The following structures are not modified in these drivers. > - struct meson_bank > - struct meson_pmx_bank > - struct meson_pmx_func > - struct meson_pmx_group > - struct meson_pinctrl_data > - struct meson_axg_pmx_data > > Constifying these structures moves some data to a read-only section, so > increase overall security. > Reviewed-by: Jerome Brunet On the vim3l: Tested-by: Jerome Brunet