Received: by 10.192.165.156 with SMTP id m28csp511356imm; Fri, 13 Apr 2018 03:09:54 -0700 (PDT) X-Google-Smtp-Source: AIpwx4/wCWAg+4xFTkLOVOGk79SMmzyG/0Pm1PJzfan9GRze49JVLcjpdf46abokNLYin0UHlsXf X-Received: by 10.167.133.85 with SMTP id y21mr10867289pfn.139.1523614194751; Fri, 13 Apr 2018 03:09:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1523614194; cv=none; d=google.com; s=arc-20160816; b=h4EM1tM7D4gwTYQDUwisL2yQMqVA+ci2oilLrZGQIOOYOVHeYSVgJoh6OtusEbsRA5 nkAjGxAPE9Igq/NYGkK8NcjeVVrfD7O2bFTVQKyf5cfN/Dg90GYK23uTRTFgPXmmrneJ 2Ocp1b4ojZ8QnpJd37wI6iL/TVImb9TledKiOwErKBA3F/Uk67jWVsWE8TStx+S/+5nd Wk87wptNcGijhRfEYMciRakykjZ5aq2l2534IULg/3dgOi5xMmo+Tnd3Ndf8/kUiKSW1 1eEAEalOz95h0WMGimEJzumuMpOst1wOq5wsX7mvfAMtKjEW92ZRhxxSwKTbAOlfr1OS q/kg== 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=93M8hgdsqh5qDOiagpIbhhw75nzlM0dAVtcr63nS8cs=; b=PUNPr6G2sy3BnVp/TvssSlUizmhont9MZ1uEZtvz90Tkb+rRGsKF5HpsJkoEUHGpEX TnTACih6V62L0NN5ugnmb/LrwhN+UtCoX4/s64lD4OY9RAaOtmbO+4xK2umOQEAKXXDD 5a0/i2iyhfdTQdvR2Qnhd/jXitBhO8q71EHnpILf51CI786Zg2hyIVtKAItO5OafQ8P+ imRhq7WAU9U90Ofs/Rhbk79umS2yLAZGAXSl0BW1DOgutX8YelOPYooO6T0noDO2k9t0 0LBoD740DiVRdk7YZD3Ibp2c6lzS5rR9mXDZ5gdyV5IyFoP2YRmygN26pLu7Plsn+VZb 2j7w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=Hm0KpwYI; 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 q11-v6si5297879pli.667.2018.04.13.03.09.40; Fri, 13 Apr 2018 03:09:54 -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=Hm0KpwYI; 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 S1754204AbeDMKII (ORCPT + 99 others); Fri, 13 Apr 2018 06:08:08 -0400 Received: from mail-pg0-f65.google.com ([74.125.83.65]:40070 "EHLO mail-pg0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753931AbeDMKIG (ORCPT ); Fri, 13 Apr 2018 06:08:06 -0400 Received: by mail-pg0-f65.google.com with SMTP id e9so631529pgr.7; Fri, 13 Apr 2018 03:08:06 -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=93M8hgdsqh5qDOiagpIbhhw75nzlM0dAVtcr63nS8cs=; b=Hm0KpwYIanX2/AL8OLmWcAqDqCKmSWNok5QGgzBr3mkzO20Ock3oZu9TbphlBrK9yX +g0cJF7z29muu9MtHgdsFgz7k3ilQ6nbJ8W3kX3YNugTZD0D4CEz9ugn08WzcAwe3b/Z aCI05Yq6dkq7iH0Ptpa1OnV1lPpj046YpKnSrA9IZma5XAkqOPcnq1cP25mwp+lE2k8Y p+HNBfuNoyYpP7Rl6c5mTXcX7eQf9sRedeBUBJE+/JJnwrtIeuWhprt8UDqk7HujUyKm 2rGTmFY38YyIcS5ys+U9u5N8YIXvFlr+u1seWaGg68eBfQ9KBe/JHxtdrxSTO2NMbNuh npAg== 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=93M8hgdsqh5qDOiagpIbhhw75nzlM0dAVtcr63nS8cs=; b=CywKaHyM4r+Ie7iHH0+QiHSZcu5ssLDHkKzd0g9NMm69jTF+U4x+2cI6hKiUQThPhf sFHMXiREwyTKlTh/2Woz9CCQu6twNrf0kF6VFUTHW8KGK8RmUCjWJQbVQ3fin2Evg7gJ cCxg3HmIMjZgAWBO0p/OqWhpJDaic2KkBsdyPA27OGxVnfT4FstavsLSvEYs3Y8tOrng m5fKiSpjtRnVjs+0NZw2/c5rL35IEBzluVqYqI1JtH0oNdJGl0g0n5gQ720n/OvlnDNP eawM++kc9C3Q95SiOrDMArx/z2dJkHL45D2I44G+17OKEzUp4YZxBq5g6VN/83lL8r4/ QLrw== X-Gm-Message-State: ALQs6tBYixBI2ZHzJRC/nNs8HxnUDIGtcSriTl2Awh9+bAm0Pw97CNbG 4JVwfqQToNziAGFDeeuj6P4= X-Received: by 10.101.68.205 with SMTP id g13mr3513565pgs.387.1523614086419; Fri, 13 Apr 2018 03:08:06 -0700 (PDT) Received: from localhost.localdomain ([2601:644:8201:32e0:7256:81ff:febd:926d]) by smtp.gmail.com with ESMTPSA id a75sm17105710pfg.135.2018.04.13.03.08.04 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 13 Apr 2018 03:08:05 -0700 (PDT) Date: Fri, 13 Apr 2018 03:08:03 -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: <20180413100801.GA21913@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> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <1523597945.16235.52.camel@intel.com> 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 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 > 3. exynos fixes with the problem solved can be queued for -rc2 or > later. > Agreed