Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp703543ybv; Thu, 20 Feb 2020 05:57:35 -0800 (PST) X-Google-Smtp-Source: APXvYqyjImOjAiqc15HJOxtRx6uftqGn92od3H0ZxCqSkEz/TKQH+nhUmGgzxogPM2EO4IbPo60y X-Received: by 2002:a9d:3cf:: with SMTP id f73mr23710731otf.11.1582207055226; Thu, 20 Feb 2020 05:57:35 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1582207055; cv=none; d=google.com; s=arc-20160816; b=ZS4UnHPJ+qEgPw80E7UzwGibLN4ZE+7niQ1T0M2bPFyZkaxoIoMmlZYCCdrwghMd7n SpPA3fMh6ayhsx+okJFmt/dJqt2cif5dSKquGCdjMnUIzUhY4HVWZetUg06+Gr16rU3a mblRptpZIN1LNRoEflK+Lg6MPCn6gD/ZLlxWSaIO+PNg98xe3yhZCzU/XzSSP7GTWBrz ljhOjkxKlDkVC0hzdmsc2zW43h/wzoas0EsrHcibfgjOwXT8lNLaqZiXGSYAT6wfeVih mKSnFwrHT7oD/25GNTTLNHG9Tv5SmWQR6maKirNmpVqs8tnAto3fZNi1HANn2uzHfinQ wrBw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=trUk9QAGVy5As5jSzYabMW2A4UtLFgQM2O2KVgrb3Uk=; b=UDWaF1vGdXEUKIa9AP7TMHW/wt3RkFP6WbbZfNPrXvrbfueqppTnIBIaUvxN3MYit4 aZWHhMFd8WOL2Tp0PIp6QUFHJClLv5fer4c6YfPO5D88+b4skG4BDO6ZY9fAbI4xlJJj ufqYkUaJKuJK99kKP/axOMgVwD1MqA7WW7UjqSwEE96ADj6K/aYIGVdsx53tBnDyV9BW 7UHPZrG49zz7dPwWVjCMjdv6D+ctbsKSCuIa4xPjGUDFvYRPnfHWmt6syC+qw9h8vUin SaUKHIjJ44tT3smknM8OB5ntmpvxBZ1nn7ilrTm2GmfQUekAoIc34toO2H1/pr/lncUt NvgA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@treblig.org header.s=bytemarkmx header.b=lbzZua+l; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id k66si10929746oih.200.2020.02.20.05.57.22; Thu, 20 Feb 2020 05:57:35 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@treblig.org header.s=bytemarkmx header.b=lbzZua+l; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728287AbgBTN5P (ORCPT + 99 others); Thu, 20 Feb 2020 08:57:15 -0500 Received: from mx.treblig.org ([46.43.15.161]:58356 "EHLO mx.treblig.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727943AbgBTN5P (ORCPT ); Thu, 20 Feb 2020 08:57:15 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=treblig.org ; s=bytemarkmx; h=In-Reply-To:Content-Type:MIME-Version:References:Message-ID :Subject:Cc:To:From:Date:Sender:Reply-To:Content-Transfer-Encoding:Content-ID :Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To: Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe :List-Post:List-Owner:List-Archive; bh=trUk9QAGVy5As5jSzYabMW2A4UtLFgQM2O2KVgrb3Uk=; b=lbzZua+lp4FneaeF9HxEZAiZ8n txrzLS1g5swfhpFMClAwzbtSIRCHSeM6M5LaXiRzYn+1eJRDaESRRwrDK8pMhE9JENZVKfByUYRoJ kA5MHJGE+GaUXoYAMGLSdtt+h8pYVj2VMehH78Mi33dGqS+CXpMyUfjDCaq5fueURPZy4KhkTmyF1 HwX/r1B7HAqBGL7Fj4Moa+W44BY0/5Py48sZ50hVRnzvVFctIZCA8ZnFeRMA+wk9jZ6K3hglfEnVW zZXS2lsex+R9BQskT+pk7qYxuiN1ILpFhKjp/XAzs9uzTajHas2ga1zNKNn8oPeDS8/VI4QAq+azM qpq9plMA==; Received: from dg by mx.treblig.org with local (Exim 4.92) (envelope-from ) id 1j4mKD-0006Wb-Kt; Thu, 20 Feb 2020 13:57:09 +0000 Date: Thu, 20 Feb 2020 13:57:09 +0000 From: "Dr. David Alan Gilbert" To: Meelis Roos , linux@roeck-us.net Cc: linux-hwmon@vger.kernel.org, LKML , Chen Zhou Subject: Re: w83627ehf crash in 5.6.0-rc2-00055-gca7e1fd1026c Message-ID: <20200220135709.GB18071@gallifrey> References: <434212bb-4eb9-7366-3255-79826d0e65bc@linux.ee> <20200220121451.GA18071@gallifrey> <6050ed14-f7a6-cb99-7268-072129226d48@linux.ee> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <6050ed14-f7a6-cb99-7268-072129226d48@linux.ee> X-Chocolate: 70 percent or better cocoa solids preferably X-Operating-System: Linux/4.19.0-5-amd64 (x86_64) X-Uptime: 13:55:25 up 172 days, 14:15, 1 user, load average: 0.00, 0.00, 0.00 User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org * Meelis Roos (mroos@linux.ee) wrote: > > It looks like not all chips have temp_label, so I think we need to change w83627ehf_is_visible > > which has: > > > > if (attr == hwmon_temp_input || attr == hwmon_temp_label) > > return 0444; > > > > to > > if (attr == hwmon_temp_input) > > return 0444; > > if (attr == hwmon_temp_label) { > > if (data->temp_label) > > return 0444; > > else > > return 0; > > } > > > > Does that work for you? > Yes, it works - sensors are displayed as they should be, with nothing in dmesg. > > Thank you for so quick response! Great, I need to turn that into a proper patch; (I might need to wait till Saturday for that, although if someone needs it before then please shout). Dave > > -- > Meelis Roos -- -----Open up your eyes, open up your mind, open up your code ------- / Dr. David Alan Gilbert | Running GNU/Linux | Happy \ \ dave @ treblig.org | | In Hex / \ _________________________|_____ http://www.treblig.org |_______/