Received: by 2002:a05:6358:4e97:b0:b3:742d:4702 with SMTP id ce23csp845103rwb; Thu, 18 Aug 2022 13:21:56 -0700 (PDT) X-Google-Smtp-Source: AA6agR7KTRfUBRfJjZHA+H+iAH6OKZyNosNzfV7ZVQyxvuYVyll462Z7TEMZ9O5yDMvtSo32AwDE X-Received: by 2002:a17:907:3f1a:b0:732:f74d:967f with SMTP id hq26-20020a1709073f1a00b00732f74d967fmr2895838ejc.2.1660854116553; Thu, 18 Aug 2022 13:21:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1660854116; cv=none; d=google.com; s=arc-20160816; b=nM5tQRj7nzwcQbgr0VZyjZUVkfD/GXi8SDUwy0yyBoSUvzt02/Ip5wRSx2LnmHjQfY UkDB6ORy/I00JuhZfsK5n8tEwSPvvA1QjbyhEB5ZhfmOcl98mxapFRFmRxT82mw3f7IV vbJUMR+12fD9Gb23VoRSp6nWHPHNp+ei+nPv+FLzwmVcziFeS+23mWhgn8s5fUA/jFSm w+QPKKMBRov6wPJAUf2qsKZivh0Ve70xN1CRCZjrwZXxVA4Ghilp+Sxy5ErauLP2ab6k 57IYs7zCt+NvHdnxE2eogfIQfUO88Wt6bDqZs8whqptjn+u7NupTXMTU+plsJ15phGvK RjpA== 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 :content-language:references:cc:to:user-agent:mime-version:date :message-id:subject:dkim-signature; bh=lv07QCNfWXt+ZVjahIKXTMyMvM6zNtVFv07gtD8Z56c=; b=QPwDckyuFg7wvUgaqRr2OYy+RxpZXCf9YVkYlwRa0nloUye5/L+nI/6WkPrG2bLASp QqruY5J7FhUpOZdOXpIA0MNBj/EJ3q09ReVRGwouJYoUWrkGV4g2Anv6WBiKueqAKWsS EXymDmFVSQE2+OpEeYUFSGsJQGM/jhDNEGWLqy3qky2Hxp+uiN2C2c3Mn8vn8cpiSiCt Xz/cPeEkSc+7t+jb+N6NgYaJ5yp12lQUKOqnRheEIJPRkqPKOE6/fk54jBtlHfTimoEp Ga/awOKyjyyK9MvF1FvpHv4YJHf/KFlAIFOqCCACQIlJj3tY3G4IIEsk0qActw9+Ug5l l43Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amazon.com header.s=amazon201209 header.b=rKXaUdL+; 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=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=amazon.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id y2-20020a056402358200b00440e74ec425si1894392edc.540.2022.08.18.13.21.31; Thu, 18 Aug 2022 13:21:56 -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=@amazon.com header.s=amazon201209 header.b=rKXaUdL+; 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=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=amazon.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1345642AbiHRULq (ORCPT + 99 others); Thu, 18 Aug 2022 16:11:46 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49000 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241330AbiHRUKX (ORCPT ); Thu, 18 Aug 2022 16:10:23 -0400 Received: from smtp-fw-6002.amazon.com (smtp-fw-6002.amazon.com [52.95.49.90]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B0D1CD476C; Thu, 18 Aug 2022 13:05:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amazon.com; i=@amazon.com; q=dns/txt; s=amazon201209; t=1660853122; x=1692389122; h=message-id:date:mime-version:to:cc:references:from: in-reply-to:content-transfer-encoding:subject; bh=lv07QCNfWXt+ZVjahIKXTMyMvM6zNtVFv07gtD8Z56c=; b=rKXaUdL+MyaqZHZAZovyWNgiGk1Zh6TycoxhckDfw+GujuSa2s8VKMEA SQtQ6nAxhvjMjmSPVjcK/rocfBQVTce1xM5i/u8f7/dKVHI3oj2kFUKQ5 ldJdy7GYijXmQiJHUBWRND13vgh/jgPie81DXCEzsJ2xYfoZoaHPbNQmS Y=; X-IronPort-AV: E=Sophos;i="5.93,247,1654560000"; d="scan'208";a="234686975" Subject: Re: [PATCH v2 01/16] hwmon: (mr75203) fix VM sensor allocation when "intel, vm-map" not defined Received: from iad12-co-svc-p1-lb1-vlan3.amazon.com (HELO email-inbound-relay-iad-1d-10222bbc.us-east-1.amazon.com) ([10.43.8.6]) by smtp-border-fw-6002.iad6.amazon.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 18 Aug 2022 20:02:01 +0000 Received: from EX13MTAUEB001.ant.amazon.com (iad12-ws-svc-p26-lb9-vlan3.iad.amazon.com [10.40.163.38]) by email-inbound-relay-iad-1d-10222bbc.us-east-1.amazon.com (Postfix) with ESMTPS id 412871A0029; Thu, 18 Aug 2022 20:01:59 +0000 (UTC) Received: from EX13D08UEB003.ant.amazon.com (10.43.60.11) by EX13MTAUEB001.ant.amazon.com (10.43.60.96) with Microsoft SMTP Server (TLS) id 15.0.1497.38; Thu, 18 Aug 2022 20:01:59 +0000 Received: from EX13MTAUEB002.ant.amazon.com (10.43.60.12) by EX13D08UEB003.ant.amazon.com (10.43.60.11) with Microsoft SMTP Server (TLS) id 15.0.1497.38; Thu, 18 Aug 2022 20:01:58 +0000 Received: from [192.168.92.216] (10.85.143.172) by mail-relay.amazon.com (10.43.60.234) with Microsoft SMTP Server id 15.0.1497.38 via Frontend Transport; Thu, 18 Aug 2022 20:01:54 +0000 Message-ID: <4814ab5d-1e7c-996a-0c3d-226fc16752c0@amazon.com> Date: Thu, 18 Aug 2022 23:01:53 +0300 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.1.2 To: Guenter Roeck CC: , , , , , , , , , , , , , , , , , , "Farber, Eliav" References: <20220817054321.6519-1-farbere@amazon.com> <20220817054321.6519-2-farbere@amazon.com> <20220818194008.GA3118944@roeck-us.net> Content-Language: en-US From: "Farber, Eliav" In-Reply-To: <20220818194008.GA3118944@roeck-us.net> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-11.9 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A, RCVD_IN_DNSWL_MED,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE,USER_IN_DEF_SPF_WL autolearn=ham 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 8/18/2022 10:40 PM, Guenter Roeck wrote: > "intel,vm-map" is listed as required property in moortec,mr75203.yaml. > If it is missing, the probe function should fail. Indeed according to moortec,mr75203.yaml "intel,vm-map" is listed as required but the code indicates otherwise: /*  * Incase intel,vm-map property is not defined, we assume  * incremental channel numbers.  */ The probe function takes care in case it is missing and does not fail. It also seems less reasonable that an Intel proprietary parameter will be required and not optional. So in patch 03 I fixed the moortec,mr75203.yaml documentation and changed it to be optional. -- Regards, Eliav