Received: by 2002:a05:6358:111d:b0:dc:6189:e246 with SMTP id f29csp830626rwi; Wed, 2 Nov 2022 19:38:48 -0700 (PDT) X-Google-Smtp-Source: AMsMyM6/fGRQae1VRfKzl2jstYGUJzq+XUkn8QKbUSHd/LNXm6hbm1GoiuDQifk4LkmB4dwEaNpS X-Received: by 2002:a17:906:3197:b0:73d:5e1a:44ac with SMTP id 23-20020a170906319700b0073d5e1a44acmr26739377ejy.512.1667443128053; Wed, 02 Nov 2022 19:38:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1667443128; cv=none; d=google.com; s=arc-20160816; b=BEY6z49/ZKF0csqFH40t0UBuAi1f+Dd2Z7A2KHqoYSYDnYlOdTCKOHIBbgcCafidXV cdsmmVYaOHzfAf7ZxNNHdxX2rY5bTMdKkeYMOpVGH7UXvvxCU2GLk/zlHspnTq8xBRd8 odhMBclrw4DY3DxdTeEHBz6uGB6vPTx2AFGnBfoswSIQn6mUcdDoUtPmopT/TDuQARAc TfQNMcPcP81ZdLeloc0n+1AHj5p+Niou+dloR+zQp6EC84Y98CnzHRzE6NYG7v/LM670 8phKs/zFFwREKChgf3cDa6g/QD/E4WsU2HunYcVzCle6zh8/EC7vnOajKtduMkgD2lag Phsw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:mime-version :content-transfer-encoding:subject:cc:to:from:date; bh=TsEtt443Cr3NIij6gGdvzEE/9wPb5554DIB7BWsLG14=; b=Sb30gHkD06phozZ5ky0SRQxbzZ8MLqiIAozm2jXx6k9arEcwuy9hHh8GtW/H83Oc4q v0Ds50sJjE298t4KUZQLQjBNkCM4bDSGPbGv9jyIQ+Jck4k1RlRENXCB360J7W7tZ9xL oTA5Pqgim/edBjKyDnnI0QbJVGTbpIUAlClTo5Gk1MoiFIBuM4TIwECF6YTRZfvo3wm4 4zGyvou8RDoY6MwcfBh62rxcXn2KkJmioVsxxDse3i/rlvGIekwp47kIJC7PSG1MIOjl IgqmwDZO9aO8mc/y/OwaSIoM3opDWd2WbvwFMv2fXtd48wRjpmp4IL7K0RftL8pY/FVM f4Rw== 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id s7-20020a508d07000000b0045d079c8f20si14622185eds.43.2022.11.02.19.38.24; Wed, 02 Nov 2022 19:38:48 -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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230297AbiKCCdz (ORCPT + 97 others); Wed, 2 Nov 2022 22:33:55 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33462 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229992AbiKCCdx (ORCPT ); Wed, 2 Nov 2022 22:33:53 -0400 X-Greylist: delayed 63 seconds by postgrey-1.37 at lindbergh.monkeyblade.net; Wed, 02 Nov 2022 19:33:47 PDT Received: from jari.cn (unknown [218.92.28.115]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 8E59D12A98; Wed, 2 Nov 2022 19:33:47 -0700 (PDT) Received: by ajax-webmail-localhost.localdomain (Coremail) ; Thu, 3 Nov 2022 10:27:56 +0800 (GMT+08:00) X-Originating-IP: [182.148.15.109] Date: Thu, 3 Nov 2022 10:27:56 +0800 (GMT+08:00) X-CM-HeaderCharset: UTF-8 From: wangkailong@jari.cn To: jdelvare@suse.com, linux@roeck-us.net Cc: linux-hwmon@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] hwmon: (amc6821) Fix unsigned expression compared with zero X-Priority: 3 X-Mailer: Coremail Webmail Server Version XT6.0.1 build 20210329(c53f3fee) Copyright (c) 2002-2022 www.mailtech.cn mispb-4e503810-ca60-4ec8-a188-7102c18937cf-zhkzyfz.cn Content-Transfer-Encoding: base64 Content-Type: text/plain; charset=UTF-8 MIME-Version: 1.0 Message-ID: <1872639a.89.1843b5106aa.Coremail.wangkailong@jari.cn> X-Coremail-Locale: zh_CN X-CM-TRANSID: AQAAfwD3C+ItJ2NjvEEBAA--.41W X-CM-SenderInfo: 5zdqwypdlo00nj6mt2flof0/1tbiAQAOB2FEYx0BLQALs0 X-Coremail-Antispam: 1Ur529EdanIXcx71UUUUU7IcSsGvfJ3iIAIbVAYjsxI4VWxJw CS07vEb4IE77IF4wCS07vE1I0E4x80FVAKz4kxMIAIbVAFxVCaYxvI4VCIwcAKzIAtYxBI daVFxhVjvjDU= X-Spam-Status: No, score=3.6 required=5.0 tests=BAYES_05,RCVD_IN_PBL,RDNS_NONE, T_SPF_HELO_PERMERROR,T_SPF_PERMERROR,XPRIO autolearn=no autolearn_force=no version=3.4.6 X-Spam-Level: *** 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 Rml4IHRoZSBmb2xsb3dpbmcgY29jY2ljaGVjayB3YXJuaW5nOgoKZHJpdmVycy9od21vbi9hbWM2 ODIxLmM6MjE1OiBXQVJOSU5HOiBVbnNpZ25lZCBleHByZXNzaW9uIGNvbXBhcmVkCndpdGggemVy bzogcmVnID4gMApkcml2ZXJzL2h3bW9uL2FtYzY4MjEuYzoyMjg6IFdBUk5JTkc6IFVuc2lnbmVk IGV4cHJlc3Npb24gY29tcGFyZWQKd2l0aCB6ZXJvOiByZWcgPiAwCgpTaWduZWQtb2ZmLWJ5OiBL YWlMb25nIFdhbmcgPHd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