Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp3643247rdb; Sun, 10 Dec 2023 14:38:45 -0800 (PST) X-Google-Smtp-Source: AGHT+IE6Wqy+caKp4dqBgsR151LHdlmhbkISOIbvYSGdExp9GigBtGAZU9e9N1R6qpIPYWrQRjNY X-Received: by 2002:a05:6a20:8e14:b0:190:23b2:cf1a with SMTP id y20-20020a056a208e1400b0019023b2cf1amr4193269pzj.22.1702247925322; Sun, 10 Dec 2023 14:38:45 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702247925; cv=none; d=google.com; s=arc-20160816; b=gtRyc5SC/NPkFCXcJnGzKxR6HLWdyOdpiaguzVnnZccG2mqBtDrmOb6YbqaIjYJduJ p7jxI4dHPKtMQyu6Zp4fPrdOlv9bVYYDoh7fPgK8KrMR1elLm9pGH+0ZtymDN6c5gsWV flQ7IyciC4vhc7YjsBGYh7+HSNQHshea1x46S3hWAK4hZ0ZmeQXM+YLH7tYDi0417sa6 +ulIdFvxAkf6BINi19xU+Uog3DVjWG/8CCsJqKwR9qfCnxUDvMBwsRjEN1OWgzEUavEx +xuQVhdFlgz27Zg03LH/Tn292Hbb89uWznUkOyX3cSvw72UbNu3NJizyAdidhKpwrnW8 A6fA== 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=+Lh3UNPQsobFZLn/YaZJ6Szb4WhGZniR1/ozD4O0Stc=; fh=qaGex25VTobKlhxks/LcPmgId/UDyw6kJlMSkh3idYg=; b=GKYMEFMwS2eoli1iPzG8jrJOgEkttxDqMRLM6vAQ1nfx88aufcDOWKXNO7rw8+SzBa dv+UxdF4EKqqzOM2SlPxtniOe9PJI+87GNzf/uL2TWK1DwwCYj+fBZbqZNQsFV+6/c7q idyG+Dmrw8E09tlT0MqHi3+G/mj70J74NjUHgOm0epIo2aELbwkjbZDTIJPPHepFGUC+ 309fV5o+w42plHSq3UrbzwHPSWvQpzsPPmTCuocSPyf5ZKOSRbSlqqD+L6ojaIP1BBN0 Y+H0YYdVR8VPk9ewQy+GtTu6Ho4aWa+zBQCltMFE2WuNYkEmhJhWndaW14j0AK6n4ivd VTlA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=PZVfSqdI; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 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 pete.vger.email (pete.vger.email. [2620:137:e000::3:6]) by mx.google.com with ESMTPS id d6-20020a056a0010c600b006ce826158f0si4961921pfu.111.2023.12.10.14.38.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 10 Dec 2023 14:38:45 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) client-ip=2620:137:e000::3:6; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=PZVfSqdI; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 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 pete.vger.email (Postfix) with ESMTP id 974A3805A903; Sun, 10 Dec 2023 14:38:42 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at pete.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229643AbjLJWiI (ORCPT + 99 others); Sun, 10 Dec 2023 17:38:08 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60616 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229462AbjLJWiH (ORCPT ); Sun, 10 Dec 2023 17:38:07 -0500 Received: from mgamail.intel.com (mgamail.intel.com [192.55.52.151]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 56EC8E1; Sun, 10 Dec 2023 14:38:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1702247894; x=1733783894; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=Lz28C7rwIgrThVgX90L63yYl8K1fbXBIyqGbO5gn0Bs=; b=PZVfSqdIrchdidt+jPa7MUv5xHf+PS9c3IuvtwHcp1ht/uSx6pE9dbSW 5GDAa9Gvoue/T015BGAxLP+ubaDH4ez0golkqKLADSHNoGuR0TEBg9vLM XdvW7R84CdHM76z44IF4adHTnmxFLaXh1xwMh17A0/KzWERVwNOnoJtS6 o2q3taxvTDyfqtK1Rsll33H3o4B4z+xhzsK6AjBYFXuCr67+0/rvtOfwE mIrTMyq2dMu593uoNAuoYWwwL/dummykn3Xc5Rz6g9Bb2+BAaZnxm3Ldj P4neIcz/KOGkJN8bplUoULZFxh2ohen7VBw3BRZ3/ERvf/u718Vx088/P Q==; X-IronPort-AV: E=McAfee;i="6600,9927,10920"; a="374735290" X-IronPort-AV: E=Sophos;i="6.04,266,1695711600"; d="scan'208";a="374735290" Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 10 Dec 2023 14:38:14 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10920"; a="890867400" X-IronPort-AV: E=Sophos;i="6.04,266,1695711600"; d="scan'208";a="890867400" Received: from lkp-server02.sh.intel.com (HELO b07ab15da5fe) ([10.239.97.151]) by fmsmga002.fm.intel.com with ESMTP; 10 Dec 2023 14:38:11 -0800 Received: from kbuild by b07ab15da5fe with local (Exim 4.96) (envelope-from ) id 1rCSR7-000HLI-1k; Sun, 10 Dec 2023 22:38:09 +0000 Date: Mon, 11 Dec 2023 06:37:09 +0800 From: kernel test robot To: Amitesh Singh , Pavel Machek Cc: oe-kbuild-all@lists.linux.dev, Lee Jones , linux-leds@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] feat(kernel/pca963x): implement power management Message-ID: <202312110656.twrTxNHo-lkp@intel.com> References: <881c6ba1-1701-41be-a4ac-81cdca5f0eea@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <881c6ba1-1701-41be-a4ac-81cdca5f0eea@gmail.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 pete.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 (pete.vger.email [0.0.0.0]); Sun, 10 Dec 2023 14:38:42 -0800 (PST) Hi Amitesh, kernel test robot noticed the following build warnings: [auto build test WARNING on lee-leds/for-leds-next] [also build test WARNING on linus/master v6.7-rc4 next-20231208] [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/Amitesh-Singh/feat-kernel-pca963x-implement-power-management/20231210-194846 base: https://git.kernel.org/pub/scm/linux/kernel/git/lee/leds.git for-leds-next patch link: https://lore.kernel.org/r/881c6ba1-1701-41be-a4ac-81cdca5f0eea%40gmail.com patch subject: [PATCH] feat(kernel/pca963x): implement power management config: arc-randconfig-002-20231211 (https://download.01.org/0day-ci/archive/20231211/202312110656.twrTxNHo-lkp@intel.com/config) compiler: arceb-elf-gcc (GCC) 13.2.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20231211/202312110656.twrTxNHo-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/202312110656.twrTxNHo-lkp@intel.com/ All warnings (new ones prefixed by >>): >> drivers/leds/leds-pca963x.c:399:12: warning: 'pca963x_resume' defined but not used [-Wunused-function] 399 | static int pca963x_resume(struct device *dev) | ^~~~~~~~~~~~~~ >> drivers/leds/leds-pca963x.c:385:12: warning: 'pca963x_suspend' defined but not used [-Wunused-function] 385 | static int pca963x_suspend(struct device *dev) | ^~~~~~~~~~~~~~~ vim +/pca963x_resume +399 drivers/leds/leds-pca963x.c 383 384 #ifdef CONFIG_PM > 385 static int pca963x_suspend(struct device *dev) 386 { 387 struct pca963x *chip; 388 u8 reg; 389 390 chip = dev_get_drvdata(dev); 391 392 reg = i2c_smbus_read_byte_data(chip->client, PCA963X_MODE1); 393 reg = reg | (1 << PCA963X_MODE1_SLEEP); 394 i2c_smbus_write_byte_data(chip->client, PCA963X_MODE1, reg); 395 396 return 0; 397 } 398 > 399 static int pca963x_resume(struct device *dev) 400 { 401 struct pca963x *chip; 402 u8 reg; 403 404 chip = dev_get_drvdata(dev); 405 406 reg = i2c_smbus_read_byte_data(chip->client, PCA963X_MODE1); 407 reg = reg & ~(1 << PCA963X_MODE1_SLEEP); 408 i2c_smbus_write_byte_data(chip->client, PCA963X_MODE1, reg); 409 410 return 0; 411 } 412 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki