From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.3 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, MENTIONS_GIT_HOSTING,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 60E76C2D0EC for ; Tue, 7 Apr 2020 19:56:13 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id C7CEF20730 for ; Tue, 7 Apr 2020 19:56:12 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=rere.qmqm.pl header.i=@rere.qmqm.pl header.b="FcFLZuaX" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727302AbgDGT4L (ORCPT ); Tue, 7 Apr 2020 15:56:11 -0400 Received: from rere.qmqm.pl ([91.227.64.183]:50373 "EHLO rere.qmqm.pl" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726884AbgDGT4L (ORCPT ); Tue, 7 Apr 2020 15:56:11 -0400 Received: from remote.user (localhost [127.0.0.1]) by rere.qmqm.pl (Postfix) with ESMTPSA id 48xdSl2pFCzGL; Tue, 7 Apr 2020 21:56:07 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=rere.qmqm.pl; s=1; t=1586289369; bh=CVRF5lVxW3dFPevtLRvdrcbgt8omIeQJwRoS/TkzpZQ=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=FcFLZuaXMU36jdEbciaxJwpUnUcwljtrU0GwN0JHieMQTpmNFMlmJm7uAKWVjShXq Zd8ImcftN2Mt6Yrruq/fBrhUuscSgJhJXlUfVzpKGEIvZKke+b4lN19y6v3h3YaST1 R3s4h9nu0IE7zAwOIp7Ca8jpqoygoxo1D4gbLuHFFAFZAY7otsD7miQdRV/Esaoz4r v2OV2bnnNWAuFVuqllB0a4Lj5uRY1uO3xnZaKXEJEknJAKV96bbiXloAJtZvk4kW6n Yl2mE0iy6VAEYJcaULqLJxLoGl58mhg7KdI96Lsj2fGAtWdoNndWoqFN9gW7Lo3VSl p1iADqHjgluig== X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.102.2 at mail Date: Tue, 7 Apr 2020 21:55:46 +0200 From: =?iso-8859-2?Q?Micha=B3_Miros=B3aw?= To: Nick Desaulniers Cc: kbuild test robot , kbuild-all@lists.01.org, clang-built-linux , Andrey Smirnov , Guenter Roeck , Sebastian Reichel , LKML , linux-pm@vger.kernel.org Subject: Re: [PATCH v3 07/11] power: supply: core: tabularize HWMON temperature labels Message-ID: <20200407195546.GA744@qmqm.qmqm.pl> References: <29b5043db9a51ef7a0cb6e3a8c69c91e36045cd6.1585944770.git.mirq-linux@rere.qmqm.pl> <202004050928.d6QhVcsQ%lkp@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-2 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Apr 07, 2020 at 11:13:50AM -0700, Nick Desaulniers wrote: > On Sat, Apr 4, 2020 at 6:53 PM kbuild test robot wrote: > > > > Hi "Michał, > > > > I love your patch! Perhaps something to improve: > > > > [auto build test WARNING on power-supply/for-next] > > [also build test WARNING on hwmon/hwmon-next linus/master v5.6 next-20200404] > > [if your patch is applied to the wrong git tree, please drop us a note to help > > improve the system. BTW, we also suggest to use '--base' option to specify the > > base tree in git format-patch, please see https://stackoverflow.com/a/37406982] > > > > url: https://github.com/0day-ci/linux/commits/Micha-Miros-aw/extensions-and-fixes/20200405-044024 > > base: https://git.kernel.org/pub/scm/linux/kernel/git/sre/linux-power-supply.git for-next > > config: x86_64-randconfig-b002-20200405 (attached as .config) > > compiler: clang version 11.0.0 (https://github.com/llvm/llvm-project 62f3a9650a9f289a07a5f480764fb655178c2334) > > reproduce: > > wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross > > chmod +x ~/bin/make.cross > > # save the attached .config to linux build tree > > COMPILER=clang make.cross ARCH=x86_64 > > > > If you fix the issue, kindly add following tag as appropriate > > Reported-by: kbuild test robot > > > > All warnings (new ones prefixed by >>): > > > > >> drivers/power/supply/power_supply_hwmon.o: warning: objtool: power_supply_hwmon_read_string() falls through to next function power_supply_hwmon_write() > > I'm guessing this is from the unreachable: > https://github.com/0day-ci/linux/commit/b8b2d14ca46ca54257f55c9af58ea25695b9ee36 > I'll need to play with this some more as I couldn't reproduce with a > simplified test case, but looks like a compiler bug. Filed > https://github.com/ClangBuiltLinux/linux/issues/978 for me to track. Hi Nick, Just guessing: have you tried adding another unrelated function to the testcase? I would expect that 'fall through to next function' needs some other function to match. Best Regards, Michał Mirosław