Received: by 2002:a05:7412:419a:b0:f3:1519:9f41 with SMTP id i26csp4138899rdh; Tue, 28 Nov 2023 12:59:17 -0800 (PST) X-Google-Smtp-Source: AGHT+IHRdf2d7oWEGaQdeXmEwO2a2aOUUcTTQ31mctT6sWoRFuOi5lfAWrFy0kyEqu2F5i+wDaCw X-Received: by 2002:a17:903:1103:b0:1ce:6312:537c with SMTP id n3-20020a170903110300b001ce6312537cmr17200812plh.10.1701205157109; Tue, 28 Nov 2023 12:59:17 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701205157; cv=none; d=google.com; s=arc-20160816; b=HH1E4evVyj65UFpvAcDv3gdQM38g2Gig1cns0ENjDetkHDNsCQ3r/EHtKd8MGwnuD9 RUHHYwMEoWosA8I4YH7VEjwwiZE2YgczgAFiDpdFnchS0vV8cOug71AiWVqeLQa3auGm eBxiYZrA8R+f/tsHKNRXzwlfmBF0FszLFyzm6JyXev751CZ+Bl4wkSSrPwFRTKUHtEh6 sa4+XvQP0mnezPJ98Tc4YFK3T6my/vAFmfKRMt/LMUWM8r7jWTBQJ8rjmXPhJhSzdBSI +azaXJMAG0ZVo0GtExQabXDty2j2xhtZzw+NWhmGEK3xAWb/Mv6nuvAj0AHucBjrA8nA aFFw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=e3wHT7vMaMXHx9tHh5oPjpndKdEuEA7GDJGYXvN5pcU=; fh=pxdPwt83dmvIRn8YYmd1KL8Obw2m/SnRkAdDzrbuePA=; b=XgKh0jr5uKgQiTEj99SGorjgoCYpnDNypf7vIKCaj4xM8nWDo3BqLr8T/xGc8TyvYf g9JLymrFRqJZZknh9vZcr/TCGAyMfICgLwwsG69p0KZjSczHFGWF99iMiWyxifVn/90z Kt/m3+6PPcH8F9l7I7i7loQ6ikweBW+TydOMJ8fVMjz6BXCtfP313ziMBMTVR0ATa4zn 9q3vtMcDkfpL5ORsKriz/6D8tV+R7dief91V8Z528RyPSUwu2gpsN8wZvWVMlYGz1I7c cjs3VYzX92Y1oZVhcb30IitBbwHxray4dNcNiyaw/z7VN2sPkRhIjj/4AdlwBgY9WlVN 7BWg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=MEu5hjsV; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from howler.vger.email (howler.vger.email. [2620:137:e000::3:4]) by mx.google.com with ESMTPS id c11-20020a170902aa4b00b001cf5cb58df6si7250266plr.73.2023.11.28.12.59.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 28 Nov 2023 12:59:17 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) client-ip=2620:137:e000::3:4; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=MEu5hjsV; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by howler.vger.email (Postfix) with ESMTP id 3531280ACFDB; Tue, 28 Nov 2023 12:59:14 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1346640AbjK1U6w (ORCPT + 99 others); Tue, 28 Nov 2023 15:58:52 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51734 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1346480AbjK1U6r (ORCPT ); Tue, 28 Nov 2023 15:58:47 -0500 Received: from mgamail.intel.com (mgamail.intel.com [192.55.52.88]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2BBED1BDD; Tue, 28 Nov 2023 12:58:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1701205128; x=1732741128; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=svqXuknUfQN8QRePst9SzpFQ/sUKnYFfi2YT176P/kQ=; b=MEu5hjsVWGopMdpcKQoV2AdsPQin1kICqrjYH7oO/25q1woMjJpM9apz MXFdTXtbJ9DKeMGjJhGnIRIOZuhA64cwYChfPuPmlh3XA9hjBZnAh14vr IUF/5VZWsDEgvNy5hbEXCI76iYHSuQiZe2Rgs83qgcNLVfN27JyJ7CWbv ibxW8Gx9COPpExynNLI0F04/DROhZZW/veX7Y4gnEsE0CejTiW4QS6Dfo uL/PAxa+uRk5/XAt+uhdsdRxtjdgXVrbYh4HypVPgWgQpy4n05cOjbSPU ffcY8w+BI67gWSVh197xNcYSB5dIH8zEynMUUyCIixgQbvDHSWEQpMosj g==; X-IronPort-AV: E=McAfee;i="6600,9927,10908"; a="424174868" X-IronPort-AV: E=Sophos;i="6.04,234,1695711600"; d="scan'208";a="424174868" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 28 Nov 2023 12:58:47 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10908"; a="797697434" X-IronPort-AV: E=Sophos;i="6.04,234,1695711600"; d="scan'208";a="797697434" Received: from lkp-server01.sh.intel.com (HELO d584ee6ebdcc) ([10.239.97.150]) by orsmga008.jf.intel.com with ESMTP; 28 Nov 2023 12:58:44 -0800 Received: from kbuild by d584ee6ebdcc with local (Exim 4.96) (envelope-from ) id 1r85AH-00084C-23; Tue, 28 Nov 2023 20:58:41 +0000 Date: Wed, 29 Nov 2023 04:49:05 +0800 From: kernel test robot To: Thomas Richard , rafael@kernel.org, daniel.lezcano@linaro.org Cc: oe-kbuild-all@lists.linux.dev, rui.zhang@intel.com, lukasz.luba@arm.com, linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, thomas.petazzoni@bootlin.com, gregory.clement@bootlin.com, theo.lebrun@bootlin.com, u-kumar1@ti.com, Thomas Richard Subject: Re: [PATCH] thermal: k3_j72xx_bandgap: implement suspend/resume support Message-ID: <202311290245.aUcGn8BT-lkp@intel.com> References: <20231128130332.584127-1-thomas.richard@bootlin.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20231128130332.584127-1-thomas.richard@bootlin.com> X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on howler.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (howler.vger.email [0.0.0.0]); Tue, 28 Nov 2023 12:59:14 -0800 (PST) Hi Thomas, kernel test robot noticed the following build warnings: [auto build test WARNING on rafael-pm/thermal] [also build test WARNING on linus/master v6.7-rc3 next-20231128] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as documented in https://git-scm.com/docs/git-format-patch#_base_tree_information] url: https://github.com/intel-lab-lkp/linux/commits/Thomas-Richard/thermal-k3_j72xx_bandgap-implement-suspend-resume-support/20231128-211217 base: https://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git thermal patch link: https://lore.kernel.org/r/20231128130332.584127-1-thomas.richard%40bootlin.com patch subject: [PATCH] thermal: k3_j72xx_bandgap: implement suspend/resume support config: sh-allmodconfig (https://download.01.org/0day-ci/archive/20231129/202311290245.aUcGn8BT-lkp@intel.com/config) compiler: sh4-linux-gcc (GCC) 13.2.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20231129/202311290245.aUcGn8BT-lkp@intel.com/reproduce) If you fix the issue in a separate patch/commit (i.e. not just a new version of the same patch/commit), kindly add following tags | Reported-by: kernel test robot | Closes: https://lore.kernel.org/oe-kbuild-all/202311290245.aUcGn8BT-lkp@intel.com/ All warnings (new ones prefixed by >>): >> drivers/thermal/k3_j72xx_bandgap.c:554:12: warning: 'k3_j72xx_bandgap_resume' defined but not used [-Wunused-function] 554 | static int k3_j72xx_bandgap_resume(struct device *dev) | ^~~~~~~~~~~~~~~~~~~~~~~ >> drivers/thermal/k3_j72xx_bandgap.c:547:12: warning: 'k3_j72xx_bandgap_suspend' defined but not used [-Wunused-function] 547 | static int k3_j72xx_bandgap_suspend(struct device *dev) | ^~~~~~~~~~~~~~~~~~~~~~~~ vim +/k3_j72xx_bandgap_resume +554 drivers/thermal/k3_j72xx_bandgap.c 545 546 #ifdef CONFIG_PM > 547 static int k3_j72xx_bandgap_suspend(struct device *dev) 548 { 549 pm_runtime_put_sync(dev); 550 pm_runtime_disable(dev); 551 return 0; 552 } 553 > 554 static int k3_j72xx_bandgap_resume(struct device *dev) 555 { 556 struct k3_j72xx_bandgap *bgp = dev_get_drvdata(dev); 557 int ret; 558 559 pm_runtime_enable(dev); 560 ret = pm_runtime_get_sync(dev); 561 if (ret < 0) { 562 pm_runtime_put_noidle(dev); 563 pm_runtime_disable(dev); 564 return ret; 565 } 566 567 k3_j72xx_bandgap_init_hw(bgp); 568 569 return 0; 570 } 571 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki