From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751946AbeDOIv6 (ORCPT ); Sun, 15 Apr 2018 04:51:58 -0400 Received: from mail-wr0-f196.google.com ([209.85.128.196]:46612 "EHLO mail-wr0-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751065AbeDOIvz (ORCPT ); Sun, 15 Apr 2018 04:51:55 -0400 X-Google-Smtp-Source: AIpwx48vnQ4SFMka7zsflZqj+6cdKhfhQlSiynFoS/ny/NSgKCWe1FimSBhXPbdBAglaLxoVoegXHw== Date: Sun, 15 Apr 2018 01:51:45 -0700 From: Eduardo Valentin To: Bartlomiej Zolnierkiewicz Cc: Zhang Rui , Linus Torvalds , LKML , Linux PM list , "Li, Philip" Subject: Re: [GIT PULL] Thermal management updates for v4.17-rc1 Message-ID: <20180415085142.GA8054@localhost.localdomain> References: <1523436077.16235.5.camel@intel.com> <20180413100801.GA21913@localhost.localdomain> <3605298.EUomHGJ8vH@amdc3058> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <3605298.EUomHGJ8vH@amdc3058> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Apr 13, 2018 at 12:27:17PM +0200, Bartlomiej Zolnierkiewicz wrote: > On Friday, April 13, 2018 03:08:03 AM 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 > > > 3. exynos fixes with the problem solved can be queued for -rc2 or > > > later. > > > > > > > Agreed > > What should I do now to help resolve the issue? Please resend your series with the patches without the warnings.. Thanks, Eduardo