Received: by 2002:a05:7208:9594:b0:7e:5202:c8b4 with SMTP id gs20csp1456455rbb; Mon, 26 Feb 2024 09:47:22 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCWVNfmBmJmROFUonPeIKpsojcRq011vOIpMkOJ4+nf8yTx8YlgJWHJmozYIdaeaXDy+8HOoq9LYKBogGV9VGAbN6c29IB1uT9BEvFF8VQ== X-Google-Smtp-Source: AGHT+IHwLs3QtFFhc2uZt+TvuH4RKB4DTppPxNY0D1cl3nAbxB7Dd4BApA8x1ktKvYarecaSEAb3 X-Received: by 2002:a05:6870:1816:b0:21f:d114:ef58 with SMTP id t22-20020a056870181600b0021fd114ef58mr9326572oaf.2.1708969642659; Mon, 26 Feb 2024 09:47:22 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708969642; cv=pass; d=google.com; s=arc-20160816; b=ns1B2vm7x7bwrELWHHP3vg/UwZIOBHffJK0jom5YH4QCQ3weC6dMiH7QYRL343e3xB lrZeNvjSj33mUDRq1AVwsShWlt41rT519LBoVRwg9S6RgEU83AwkpvIYzfTIvjbnZO/h 7/9TqkcPBHgd5DXRkxzl/h+eMT29nEQ/i0uMb59K5IjD0wWGqZ+0TQ0mPrYHzTnaqX9/ Ngf607Hnvul9z1IaSDYaxl1YyIwPsvA6QCvJu+s19o7GUhNviIsLnW6vWhVkRiaMhpq/ hbqRklAHSghTlPeu38M3q7TVPGLIiil8Je/vCSGEpiJ8gcpblzMy0GWGJODigWORRKtC shTw== 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:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=x+coxhOY/Hxui8PDFROluhcZaBPd/6HAGgu1JExmMgQ=; fh=jVgCr362ddTyUcITr22/Q+5qoUwG+ScewRTPe8wWS+w=; b=gecPm/h1nvwKbe2JSya6mcOA+fv8hTbDjkg9qiNouk0aEC0ZgQRnB8EI9ayckal1z7 P6ZsbrMIj/PswYuBhAs+oN2Gyyjvhm1mjCGQQg12lXo7wTXKZ02Fle4XUXmuzkptUFNP ScRBkuTn1CtoMtL6e8Np5s6aXe+Jdy7iLhZjPkNBCzXlN1WtUrhwFFkC1j9cym8TEfsZ YKO1Kvu24zLS7Eou/wW7iaoVaH+3sjr94+SGCgtigyGdkoTvbc4542VI4w1m6hmba1w4 qDU2moKWMwEdB4CIlVzSY8EZ8ia+8XfGpowoObAqGkUu7SGQC59yEsDyC7A00+S0SPJs 6ceA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="VbX5F5/D"; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-82094-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-82094-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id j73-20020a638b4c000000b00565db2812a0si4097910pge.60.2024.02.26.09.47.22 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 26 Feb 2024 09:47:22 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-82094-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="VbX5F5/D"; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-82094-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-82094-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.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 441CC2867CD for ; Mon, 26 Feb 2024 17:47:22 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 3860E12DD9B; Mon, 26 Feb 2024 17:47:16 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="VbX5F5/D" Received: from mail-ot1-f48.google.com (mail-ot1-f48.google.com [209.85.210.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 09EA412B167 for ; Mon, 26 Feb 2024 17:47:13 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.48 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708969635; cv=none; b=CUyGfrtFJ1I4PkD+agtZtj83ke9WW9/ul6QjMXLSHs9iafUGFWKFuKJbo84Sr9/bJGyyyqZJshFHh9yfh+6t6H/t0bDeVuEmdMhMW0ZqTyZ1HkZXWwCfzEOzRIVR1gjOTKE2/NM+SJFyCTK6Yc0hgGGNHvkWAlX33Q2XsisgaCc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708969635; c=relaxed/simple; bh=B41ir5VYbxpF04PAmMUAVJ67JQSh5yH++omCohwmiS4=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=F/f8LTkOaR6IZTWWzX/M+/lBVKXxX5rDi8XYZOE1+CSvoXAe5xrkJuxwILZpCLKLIgxBbgJBrPHNgACTz6qG+S/wp/6LoUGfvGoTgrfFzCnvUi+L08wOmYQ57SwIOtuStWl6W1RJgRMI7ZcOfqAqHfga+YIFWyFrwuk4DtYhDIE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=VbX5F5/D; arc=none smtp.client-ip=209.85.210.48 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Received: by mail-ot1-f48.google.com with SMTP id 46e09a7af769-6e49a5b1bbfso916357a34.3 for ; Mon, 26 Feb 2024 09:47:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1708969633; x=1709574433; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=x+coxhOY/Hxui8PDFROluhcZaBPd/6HAGgu1JExmMgQ=; b=VbX5F5/DZxveCk2tDyNEIm7WztWZikJvS/YRnxBwsZMnJs8Crnm5NwaBubebNioLHh ufnUC8Fo+DrZ/XdhakT6xmn6J+w06Iw/038QHNHAHcgR8X/gXKNWOt7gWYHOsIHwUUYI eDHouEcOG+q0xBuieDZtKUirxYjDaTLgK98shmMUrdvB1YwWaoWFiAI3jsJnsTQQsSza zQKkyJjGukK58k0PXIJ6i6qc528fCAU4XYG4Fr1D2MyVEQgGb2XUR1WdHyfCvbUln7du 5RLdb/bRkvAvVw0PC6lHZG+zIMN7p9hBTsyHZxdBho3dxLBXBhe0eKAn9uNN8q6Q6acv 9Rlg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708969633; x=1709574433; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=x+coxhOY/Hxui8PDFROluhcZaBPd/6HAGgu1JExmMgQ=; b=E0OivX3p7T4ON6+uD5IkpesjpnvMUjx+ibmLHU6Z2TanWwdIyATXVX5cu63rx97gQ1 yQq7lHDmFw8XnwGxPelwSTHXgpMg34eucAxrYnL1rkJo+238yAXxw6wyOH1UTT3CktBc uUFREEult232NVJqvDmPHPFdr4LUPo7rPummqDGkjfN6xeFxlQjfwq85ZYEJ+3rJerl2 VtX4wSeC4apnYa7uRw5tjiWhUTtDxxsh+8dO/DDhDxoRugV+bxomYlKFU28B/2BvOTRF Jgar0i8pyeJjagi/whgU4llpqiq4bpc51JcsG/RNvgf8Kc4RAvxK8SY+0p8nZ/lH1cL1 jWuw== X-Forwarded-Encrypted: i=1; AJvYcCWbA4pG1Pv788+Rr+rvXyQ0d6gtGE7yolr71yEoSHwKqY+ZcRpRvyxd90wa1CW0D0i3Psv+dof0bRqjmKNQqa8k4jJcLwrnXpqAj/SB X-Gm-Message-State: AOJu0Yyb6tAyzrNQWrGfFW1pIXUO4fA/M+f1rCudl1aotSrrYINql6z3 NwW6wm2nuEoqjgkJvilu69rfpjgIporRZGEydYsPQ//XrFFLsiszDnm4gIoub5Y= X-Received: by 2002:a9d:6c42:0:b0:6e4:8122:c5a2 with SMTP id g2-20020a9d6c42000000b006e48122c5a2mr9142155otq.0.1708969633143; Mon, 26 Feb 2024 09:47:13 -0800 (PST) Received: from ishi.. ([185.243.57.248]) by smtp.gmail.com with ESMTPSA id t3-20020a05620a034300b00787c7c0a078sm2247762qkm.121.2024.02.26.09.47.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 26 Feb 2024 09:47:12 -0800 (PST) From: William Breathitt Gray To: "Ricardo B. Marliere" Cc: William Breathitt Gray , linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org, Greg Kroah-Hartman Subject: Re: [PATCH] counter: constify the struct device_type usage Date: Mon, 26 Feb 2024 12:46:49 -0500 Message-ID: <170896953583.22408.16217091033236084164.b4-ty@linaro.org> X-Mailer: git-send-email 2.43.2 In-Reply-To: <20240219-device_cleanup-counter-v1-1-24d0316ae815@marliere.net> References: <20240219-device_cleanup-counter-v1-1-24d0316ae815@marliere.net> 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 On Mon, 19 Feb 2024 16:52:52 -0300, Ricardo B. Marliere wrote: > Since commit aed65af1cc2f ("drivers: make device_type const"), the driver > core can properly handle constant struct device_type. Move the > counter_device_type variable to be a constant structure as well, placing it > into read-only memory which can not be modified at runtime. > > Applied, thanks! [1/1] counter: constify the struct device_type usage commit: 3bb282ef1149a08a94bc5321b758825bc99c84c0 William Breathitt Gray