Received: by 10.192.165.156 with SMTP id m28csp610411imm; Fri, 13 Apr 2018 05:01:15 -0700 (PDT) X-Google-Smtp-Source: AIpwx49T5QKDwKEx00l0m6tesNfjhoNK5Wsrjn7o1eu51+X12KqF/t6TlrPfqUe3DVnzITy0Ccag X-Received: by 10.98.60.4 with SMTP id j4mr11246488pfa.229.1523620875851; Fri, 13 Apr 2018 05:01:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1523620875; cv=none; d=google.com; s=arc-20160816; b=z4v1bmaz6GcSA4+Xh0qZYgRuXzVZiQH85sLfwlBsgYXG0ya51WAk3KsuXCHQnjRQIn TuJoS+8mglE8yJUGzXm41lpB3drwuUCd7PQtsTzUGqsSc6UGkhYFWDuwklNlGh/d516P XvhkPWbAkFOWC9DuEXHHU6CG+TYCilzhMNaLdYFv7ppVqvOuZ1tmLQlk+xS6iQbX+oS7 1jYKpKxatnb/HfQckPtLKVhWJkJK8+Uv5d0jzw/2tObLL11wVpXp6/V/ANTCAQzehxQD TlRk6znvyNaXRNZu3+C14N6VfREWuHc3uLL5nsPKAkyubvo4njMegZKW7aLHhYzEbJlc dZ5A== 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-transfer-encoding:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature :arc-authentication-results; bh=Clfih04++8Ucv2T1/LAnpRGOTELArwkt2UhuaApEpRA=; b=ayIwcbKZwNMes4Yoeb5pVvR/BRnJHV65AgQvBZ58EOlf/xKor/oVDWwmIswEbfM5QC P+iF73q8+SMnOIY9Yoeurs1O06iOt880o69p9/whYt+k4HigrpXd9uwlrIo85Bl9ew7C ymwE7vwFPxQqzSFv3MkLPJ4zx//qWtVxosicVf6rHVwvJyHnrEOvwCGOcd5ru/DUMm6B x55+koE1B6EeucFJFhDJ4mtRIvPKPOdRgVcyPA4FOiMCxw+9ZSf0NKj779TXz+XMi0aX vmQWr9AowtASNtfdkSP2m3nobGJhrAxb7r1YEuez066OnUkAMEw+ECfzqs2fkuijmL8E MryA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=A9XGcSnD; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id q4si3883286pgn.210.2018.04.13.05.01.01; Fri, 13 Apr 2018 05:01:15 -0700 (PDT) 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=pass header.i=@gmail.com header.s=20161025 header.b=A9XGcSnD; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753965AbeDMKZb (ORCPT + 99 others); Fri, 13 Apr 2018 06:25:31 -0400 Received: from mail-pg0-f68.google.com ([74.125.83.68]:40178 "EHLO mail-pg0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753082AbeDMKZ3 (ORCPT ); Fri, 13 Apr 2018 06:25:29 -0400 Received: by mail-pg0-f68.google.com with SMTP id e9so649491pgr.7; Fri, 13 Apr 2018 03:25:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:content-transfer-encoding:in-reply-to :user-agent; bh=Clfih04++8Ucv2T1/LAnpRGOTELArwkt2UhuaApEpRA=; b=A9XGcSnDlAQZQxC7tNsJB1ZjDM71k3xLG1J03mNwFyARio2H/Mv3sN9TjSL4itlKcS idlryctB+r/5vzLePX8Db+PkzQjB/+XkWFESXFB+GQJ5aIiFoJR4wzntf0JHNMtmnGOS 5wGt+gUFyop94XaQd7V6zBsweH7X8M/AiJTQCesRpz6BbyzSrGbJ2TwLg4N3mJJ0juxy kZipbE4a+Oe6PnGkbVnY8uWNx/kkfNW7+xoA91uVdlvtobF8uRVX8QxKElWuClM7iEzr xES3EdQ/psyssApBup0sqNeoSLEVAMjbbzL8iP/RtVriC9F0bKZQFIoYB2EjLw0l/E88 2Y9w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:content-transfer-encoding :in-reply-to:user-agent; bh=Clfih04++8Ucv2T1/LAnpRGOTELArwkt2UhuaApEpRA=; b=fkOPA4FoW8YYD2ghoKKPGe4QpYdq0x0KLSOTDYBxbLJYCZ6VAqCG7q2Py6tk3JGg6M qP4Gi2WNf2ZYRTlTwpdZRiBiBo+Vzk4Riqsg+50L+4Bywe18/KKPLdXOHH2E6omooNOG ehRxspiKRoqhzE1m9OzTQKY9ofOCHTjlYU6TGZAz6jqn2z9J3IamjP3V8Mu/DyJxAoSi 6rsU3tGkM7nbAjN2oujEuaRYuLcCZ6ICunLKWcmFjfn5SSILXZyIylOD4cZTSh9Kuk/W nOQ3lwA4FC9XfmTYLM9fjoKOyKQ7y73t7blSRD/liOWk6g10r2Xa1b301w6OkBZ9CtGi IDTg== X-Gm-Message-State: ALQs6tBlhdocmQzVDya4MALvPOx5WklaNNTKYYnCsLR75/9EZx9/LKp3 4PkaJWe4qO6DsLM69lQASBOHSRM3 X-Received: by 10.99.143.69 with SMTP id r5mr3633651pgn.159.1523615129009; Fri, 13 Apr 2018 03:25:29 -0700 (PDT) Received: from localhost.localdomain ([2601:644:8201:32e0:7256:81ff:febd:926d]) by smtp.gmail.com with ESMTPSA id o123sm11136722pga.76.2018.04.13.03.25.28 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 13 Apr 2018 03:25:28 -0700 (PDT) Date: Fri, 13 Apr 2018 03:25:26 -0700 From: Eduardo Valentin To: Zhang Rui Cc: Linus Torvalds , Bartlomiej Zolnierkiewicz , LKML , Linux PM list , "Li, Philip" Subject: Re: [GIT PULL] Thermal management updates for v4.17-rc1 Message-ID: <20180413102525.GB22346@localhost.localdomain> References: <1523436077.16235.5.camel@intel.com> <1523509711.16235.25.camel@intel.com> <20180413040855.GA29826@localhost.localdomain> <1523597945.16235.52.camel@intel.com> <20180413100801.GA21913@localhost.localdomain> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20180413100801.GA21913@localhost.localdomain> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Apr 13, 2018 at 03:08:03AM -0700, Eduardo Valentin wrote: > On Fri, Apr 13, 2018 at 01:39:05PM +0800, Zhang Rui wrote: > > Hi, Eduardo, > > > > On 四, 2018-04-12 at 21:08 -0700, Eduardo Valentin wrote: > > > Hello, > > > > > > On Thu, Apr 12, 2018 at 09:55:19AM -0700, Linus Torvalds wrote: > > > > > > > > On Wed, Apr 11, 2018 at 10:08 PM, Zhang Rui > > > > wrote: > > > > > > > > > > > > > > > could you please illustrate me what the kconfig & warning is? > > > > Just "make allmodconfig" and the warning is about a uninitialized > > > > variable. > > > > > > > > Line 304 in drivers/thermal/samsung/exynos_tmu.c if my shell > > > > history > > > > is to be believed. > > > > > > > >                 Linus > > > Yeah, this has also passed my local compilation error. Somehow my > > > gcc4.9 > > > is not catching it. Using an older gcc (gcc4.6) does catch it. > > > > > > Anyways, given that the conversion functions are written to cover > > > for unexpected cal_type, the right way of fixing this is to rewrite > > > the conversion functions to allow for returning error codes and > > > adjusting the callers as expected. > > > > > > Rui, bzolnier, please consider the following fix: > > > > > as it is late in this merge window, I'd prefer to > > 1. drop all the thermal-soc material in the first pull request which I > > will send out soon. > > 2. you can prepare another pull request containing the thermal-soc > > materials except the exynos fixes Sent you this https://marc.info/?l=linux-pm&m=152361492711499&w=2 > > 3. exynos fixes with the problem solved can be queued for -rc2 or > > later. I see there is still some discussion around the topic of how to fix this. So, once we get to a point of agreement, I will send the remaining with exynos fixes. > > > > Agreed >