Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp633550ybv; Thu, 20 Feb 2020 04:45:01 -0800 (PST) X-Google-Smtp-Source: APXvYqy9+vIpW0/8n8Vrr6irBKmm7ytW1bClYORuWHkC7ixLbRJltesp2YvdQV+3lmivc5qkVTN5 X-Received: by 2002:a05:6830:22e2:: with SMTP id t2mr23822615otc.129.1582202701623; Thu, 20 Feb 2020 04:45:01 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1582202701; cv=none; d=google.com; s=arc-20160816; b=G65smqiDwTtSyXyPvMd6Q9vftbpRAD2yEsxztKrIn2graF/sDqR9SRTg1sPgB1Y2oD aL0Cm5NmlqVsohnOisFPoFNPaseZ46fIDb/WGTnZPQ7fHaqCyQWao7kklLlKcsLxSzwu kG1SK7uWOHFf1Y2dJRDqYMXhh5hg81AsbTsKh4qtWFwhftNdbITJPZFECj8nJeTWBjHp xTe5WzMZXJCaJaHAbQLO6iRRy1tPYAVql7EJAgYogN9YFz7MiEpjUynh52BEzu9j0/JA jt3uJ2bxiYjk8qfRz/WoBxc0HKwAgjDEaSXc1rnmrcEGS2AfNkn/rau6B8QZ2MlJJoiZ gf9Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject; bh=1251edbNYz5lN1HQSQ93WExrySMUNQPq3oSMDFoNfO8=; b=cuz04ULJB6uGlDDdhoDcXaFP6Pv2Y0fDvDqIZAUHR5yD17Yy1tygqNeS9sAsh0hLb8 ZAMrvS/qxduR1StNws4sBmGDOZa9YHqmhxBX5bZUMsyWmpSRoyzw0TLXyo7upA3BURuH RM1D9mDhcrt2/C1mtfjaLIrp57YRxGPdg+MegS8RhgnNY0DUoS2K038sf2V1VhM+NI0W iG6VCu2dU++IcexzYRxJp0SIkf0dLbBS4o7a8ia5Ks7tAPtdr6yzBJF1VNOtWO126e60 FV5p1Gc/IECvqs5rN/SEIIot9dr+JUWEAXRHmr/UMpFzm9PxNn5cMm/dIMy+4aW7wG40 AXzw== ARC-Authentication-Results: i=1; mx.google.com; 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 d26si1571010otc.6.2020.02.20.04.44.48; Thu, 20 Feb 2020 04:45:01 -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; 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 S1727983AbgBTMnt (ORCPT + 99 others); Thu, 20 Feb 2020 07:43:49 -0500 Received: from mx2.cyber.ee ([193.40.6.72]:39981 "EHLO mx2.cyber.ee" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727789AbgBTMnt (ORCPT ); Thu, 20 Feb 2020 07:43:49 -0500 Subject: Re: w83627ehf crash in 5.6.0-rc2-00055-gca7e1fd1026c To: "Dr. David Alan Gilbert" Cc: linux-hwmon@vger.kernel.org, LKML , Chen Zhou References: <434212bb-4eb9-7366-3255-79826d0e65bc@linux.ee> <20200220121451.GA18071@gallifrey> From: Meelis Roos Message-ID: <6050ed14-f7a6-cb99-7268-072129226d48@linux.ee> Date: Thu, 20 Feb 2020 14:43:45 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.2.2 MIME-Version: 1.0 In-Reply-To: <20200220121451.GA18071@gallifrey> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > 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! -- Meelis Roos