Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp1208421rwl; Fri, 7 Apr 2023 11:38:50 -0700 (PDT) X-Google-Smtp-Source: AKy350ZCvKHutv9G+Di/CjqfD+474OXfsl1TZkMsL+5FzJFQy35kTRh+GdJVzteeegeH+0trRbKK X-Received: by 2002:a05:6a20:4b23:b0:da:1b99:34f0 with SMTP id fp35-20020a056a204b2300b000da1b9934f0mr4045562pzb.39.1680892730111; Fri, 07 Apr 2023 11:38:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680892730; cv=none; d=google.com; s=arc-20160816; b=QolXblegdo3+2DxZRsCkzSmyYc9nxNCuhUBI3bNxDWk9S2o8TpdC9Bk6MZbzB8ZySL WRCazD7pkro1Fqu+GS8JQqk4+nR5S4Ha/liGkReDKCGkUweJNrvgfd6ImSwtyPJxSRn7 cSMSoENKwaI/SXBAzhGTQIRCOo18ryNfbVjQHNyYUXDKpHZQx1Ca4tH7uAPt6BCMYkdu ZnaQ2A95diXMDOKhsLx+qGSCgOb/qGtR9M+BJOpjqnz+oOUA14LlZtBvRmb6S+ZZ5UXt hcTQxbJfHPfbVtEFqawPZLmN2H7xYmjEOUpKKrQ4OvnGSOnZSGKRJGKOJj9W72zUFR3m dJyA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id; bh=OHYj5Dya1CjjeKymHTZ2EoH/65pX6/8jhwaV6YI5TKE=; b=l6ybYQbIHPxz4HmFc7UqAQJQhVPWHsFToxMlghUS3pV9PfWCN+olFT6gDwzwatWOHA MdDXjGrqCknn87dMp4LSVsFQ/jQNg2iCOxVZAbCLJzeeuBGThY8eEtkpFRWI1Z3FD9Hb NboXbaEHRAaruttCwp5NTK3QjHkgFTxI5dhWWirx/gujEOUsK8lBiYh9PAqhzKIpQiDk Ntdca/jp0BNmR3j3s4Y5W7i8zQyRb0+Injx+wRS37t5NpveBLIe9vEdoh1zqkmguPWrn LUPmsoPkDUFQC6ed0TcdhDR1xN0GBQJyT8JgafmGgYHTqHJbCyiph9ul5AmM8tm3YIKk 8OQw== ARC-Authentication-Results: i=1; mx.google.com; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=acm.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id z3-20020a63e103000000b004fba312c234si3996849pgh.401.2023.04.07.11.38.38; Fri, 07 Apr 2023 11:38:50 -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; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=acm.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231237AbjDGSan (ORCPT + 99 others); Fri, 7 Apr 2023 14:30:43 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43856 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229482AbjDGSam (ORCPT ); Fri, 7 Apr 2023 14:30:42 -0400 Received: from mail-pl1-f172.google.com (mail-pl1-f172.google.com [209.85.214.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E96D6A24F; Fri, 7 Apr 2023 11:30:41 -0700 (PDT) Received: by mail-pl1-f172.google.com with SMTP id d9443c01a7336-1a228ce9731so2028935ad.0; Fri, 07 Apr 2023 11:30:41 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680892241; x=1683484241; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=OHYj5Dya1CjjeKymHTZ2EoH/65pX6/8jhwaV6YI5TKE=; b=HUW9hHVwc/UrB8eNOlkFHauCF1JqWIlVdVtGpLRaZK0tO2lvOvZvtuV4VnoQfiqvZi 6RoQ2XKXPbjguG4B1rv1VSPuNXDajfvv5A0qBdXMHeRqxfGzHtT7mDbE/UhDSfMN51EN HNqh8UgeLWYb1LXOHpMo1xC36g3WlDXmwCWTid/sTfFdusg4zEeRkpXGHkUj9yPNHTOY DVZY8ZFRkE1O1KPRZ8kZwHf+uG7ecylNkxUWKd6yewFq3t1Gogf/feNgo8oe26TAoFjz Pw1RnS9oEzkruTpkJ50FU1o3s0FCbcNAUnShbd6rfNNl3heVnmt+l3AeVOlmULUTBk/k JUjQ== X-Gm-Message-State: AAQBX9dlrJDMh6Zb77m5W/Ba2Ru15wpDLP5snrPWXdoNMCjwLt/Nkcrm yW3yKKPhNGY45PWVy+sPEPY= X-Received: by 2002:aa7:95af:0:b0:62d:b4b3:621a with SMTP id a15-20020aa795af000000b0062db4b3621amr3369120pfk.10.1680892241290; Fri, 07 Apr 2023 11:30:41 -0700 (PDT) Received: from ?IPV6:2620:15c:211:201:f2c:4ac2:6000:5900? ([2620:15c:211:201:f2c:4ac2:6000:5900]) by smtp.gmail.com with ESMTPSA id n14-20020aa7904e000000b005d6999eec90sm3331415pfo.120.2023.04.07.11.30.39 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 07 Apr 2023 11:30:40 -0700 (PDT) Message-ID: <59929dca-6d70-c3a2-292b-91f7274dd12e@acm.org> Date: Fri, 7 Apr 2023 11:30:38 -0700 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.7.1 Subject: Re: [PATCH] ufs: hwmon: constify pointers to hwmon_channel_info Content-Language: en-US To: Krzysztof Kozlowski , Alim Akhtar , Avri Altman , "James E.J. Bottomley" , "Martin K. Petersen" , linux-scsi@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Jean Delvare , Guenter Roeck , linux-hwmon@vger.kernel.org References: <20230407150137.79947-1-krzysztof.kozlowski@linaro.org> From: Bart Van Assche In-Reply-To: <20230407150137.79947-1-krzysztof.kozlowski@linaro.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-1.5 required=5.0 tests=FREEMAIL_FORGED_FROMDOMAIN, FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS,NICE_REPLY_A, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,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 On 4/7/23 08:01, Krzysztof Kozlowski wrote: > -static const struct hwmon_channel_info *ufs_hwmon_info[] = { > +static const struct hwmon_channel_info * const ufs_hwmon_info[] = { > HWMON_CHANNEL_INFO(temp, HWMON_T_ENABLE | HWMON_T_INPUT | HWMON_T_CRIT | HWMON_T_LCRIT), > NULL > }; A nit: to me the use of whitespace in this patch does not seem to be compliant with the Linux kernel coding style. Thanks, Bart.