Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp1133562rwl; Fri, 7 Apr 2023 10:23:23 -0700 (PDT) X-Google-Smtp-Source: AKy350ZROCbpGTnGKwyI8/3PzGE1D4N07uECLkUTyPTvfw6sC+hxyAe+l7nPA5CV/Ei6OV+OLTji X-Received: by 2002:aa7:d8c6:0:b0:502:3ea3:fc24 with SMTP id k6-20020aa7d8c6000000b005023ea3fc24mr2420650eds.17.1680888203236; Fri, 07 Apr 2023 10:23:23 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1680888203; cv=pass; d=google.com; s=arc-20160816; b=oe/T9FB3FSN3NhZC1FfZIBB7NZ57AVY1VbD4juBVKkxf3HPv8cXWoyxfwzScOQu4Oi 6r5jK46NrK7ElIifvglEH9fnJItek1+TAXhz1GlR4Hft43sTjsvQ/dbRvZtAIdNTIGMj O2gOVYW+4OOszyY8B2p4Skv7cfw6ccKm/hdhsrv+MfQ511xM7jmQFJa9C3SJ+P8G5X0t f8esBqLxAu66NbEVYRPPDUPUWWe5Z5Q5eZtO8oV5sHHw5F+zCUYTwAHefHrK0oRDshhq yocsIjTTDAPWtRTgN/+OvqROD6+N/2z2FSA+/hLQP66Nde36jKb8URx4AZ5puLuJx4Ug ELrw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=Sx/v6v02tkhyVSJIxoR5pZtA5d+qnL+HKABd0KsDWkk=; b=KfFVj1+waraVggXQ4b7i1IX5CjcVEh2soohc+vbTAXfU0tm2EBjVIqfnMq5dMF3N1O 82KJvTBrwZjI9+5Z01zYMQGpYPfWDYfIeNpGO8ag7tMwntg6371FWZs0ATD4CO/o0z+x SqwpzB6yfqAGdUCbjmg0IXFiJBpKEDqbbKP1MCoOhPn8KWxHtFMbHVu4BNFv4UjOerqr ohznXQTmcLX+JIzt+1yp4UKuk3X4m2B3ehYD/eOuIO0KtAgumRxkgAP1wJtAxYObKCO3 hOcmrH1V7ydLirKLUPO5lxw4rNpTOJbAu5izBrWUEndqc7PmkrTiVGXf4hjhPniNh4PM jiOg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@iki.fi header.s=meesny header.b=be7boNoS; arc=pass (i=1); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id w18-20020a056402129200b004cfc2f60ca3si3433187edv.50.2023.04.07.10.22.58; Fri, 07 Apr 2023 10:23:23 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@iki.fi header.s=meesny header.b=be7boNoS; arc=pass (i=1); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230039AbjDGRT6 (ORCPT + 99 others); Fri, 7 Apr 2023 13:19:58 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54902 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230255AbjDGRTo (ORCPT ); Fri, 7 Apr 2023 13:19:44 -0400 Received: from meesny.iki.fi (meesny.iki.fi [IPv6:2001:67c:2b0:1c1::201]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1FA7DCA03; Fri, 7 Apr 2023 10:19:23 -0700 (PDT) Received: from hillosipuli.retiisi.eu (82-181-192-243.bb.dnainternet.fi [82.181.192.243]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: sailus) by meesny.iki.fi (Postfix) with ESMTPSA id 4PtQ8Q1TtMzyR8; Fri, 7 Apr 2023 20:19:17 +0300 (EEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=iki.fi; s=meesny; t=1680887960; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=Sx/v6v02tkhyVSJIxoR5pZtA5d+qnL+HKABd0KsDWkk=; b=be7boNoSaCauKSf5nx7KUm+r6UvnLMDwHpf0Qa1a9fuciGNUun+OK1SRSGeD8T5v5fFGw5 aTLNE1hacjHpkBakgCN+euY2G497WLc7L7SLEE8F9vDdpu7AwIRmn8RhaFpRcQER5UliSe ijDS2ZLYe2MH/Z+EjJu5J2Du+MqFot8= ARC-Seal: i=1; s=meesny; d=iki.fi; t=1680887960; a=rsa-sha256; cv=none; b=T/CuPIfgtU/10f0gPBOap2JMhmhN1T1u/2qju0MziBT/3Vr4nrzcG8p2NEmQJXH1mNglmb l+cDsGWgIGEVeXP0xI/hnT/jC/w3SxRxQnjqApJmrXbLr88PHNmlIBa65KfWgIeGVLPvN+ YWCR/PhsGIdLlCcIdbUQNUpXog/96QI= ARC-Authentication-Results: i=1; ORIGINATING; auth=pass smtp.auth=sailus smtp.mailfrom=sakari.ailus@iki.fi ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=iki.fi; s=meesny; t=1680887960; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=Sx/v6v02tkhyVSJIxoR5pZtA5d+qnL+HKABd0KsDWkk=; b=TjfAYh/Fj8WFUjFOKnXU8hsAdoOF0mZs31+RQteSR9hvHGQ5zwPGmuZVTNzFsV0e4pmRa8 hdxXGyn2O/tXhz6Dt6g9ytC0xBluqypq9KOIOlrlY22uMfRuNhhXonGd5dgkRgqifIKvY0 sE0oX5FaJ5LSrXBQlXSjeEGVAkukOnI= Received: from valkosipuli.retiisi.eu (valkosipuli.localdomain [192.168.4.2]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by hillosipuli.retiisi.eu (Postfix) with ESMTPS id B46D1634C91; Fri, 7 Apr 2023 20:16:30 +0300 (EEST) Date: Fri, 7 Apr 2023 20:16:30 +0300 From: Sakari Ailus To: Krzysztof Kozlowski Cc: Matt Ranostay , Mauro Carvalho Chehab , linux-media@vger.kernel.org, linux-kernel@vger.kernel.org, Jean Delvare , Guenter Roeck , linux-hwmon@vger.kernel.org Subject: Re: [PATCH] media: i2c: video: constify pointers to hwmon_channel_info Message-ID: References: <20230407150015.79715-1-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230407150015.79715-1-krzysztof.kozlowski@linaro.org> X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Krzysztof, On Fri, Apr 07, 2023 at 05:00:15PM +0200, Krzysztof Kozlowski wrote: > Statically allocated array of pointed to hwmon_channel_info can be made > const for safety. > > Signed-off-by: Krzysztof Kozlowski > > --- > > This depends on hwmon core patch: > https://lore.kernel.org/all/20230406203103.3011503-2-krzysztof.kozlowski@linaro.org/ > > Therefore I propose this should also go via hwmon tree. Works for me. Please add: Acked-by: Sakari Ailus Thanks! -- Kind regards, Sakari Ailus