From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eduardo Valentin Subject: Re: [GIT PULL] Thermal management updates for v4.17-rc1 Date: Fri, 13 Apr 2018 03:25:26 -0700 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-Transfer-Encoding: 8bit Return-path: Content-Disposition: inline In-Reply-To: <20180413100801.GA21913@localhost.localdomain> Sender: linux-kernel-owner@vger.kernel.org To: Zhang Rui Cc: Linus Torvalds , Bartlomiej Zolnierkiewicz , LKML , Linux PM list , "Li, Philip" List-Id: linux-pm@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 >