Received: from mgamail.intel.com (unknown [192.55.52.43]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 48AED17EC for ; Fri, 28 Jul 2023 04:21:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1690518071; x=1722054071; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=axtCPjMH56LxQvu3RxZjX4SqwclFfCZoVIAceqSd8dQ=; b=FedTk+lxcYQ66YB7T9ya4sldxnk7Hu/5E3Y4tReGCfDKH21jadvyU+U/ erfDaseAsvs4to/auz0nJtIcOcadMQ8FlthgD6Qgk6YRe/e+J4kktx8LS d7RmiYX9vI11+Iv1GOCG8KSoTXICwjsxnL4G++XZRw8+niTMdCdXr1OyS lKxku2nM0gPFEwBEjtbHgXIML/wAFHNc75YdUc8nAzQ1xDHMm1dcx8cuP yIBNSaI7WvVhFkEGHC4CAJKIXqn5d1GYaP0xY2lxO+g2Mzj17uppil03x 05JqhFgqRTMWH6pYC2HQIiA6xCOXDu9vPHjmC/0DC2b7yQGMkKZFbCkb4 w==; X-IronPort-AV: E=McAfee;i="6600,9927,10784"; a="454864428" X-IronPort-AV: E=Sophos;i="6.01,236,1684825200"; d="scan'208";a="454864428" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 27 Jul 2023 21:21:10 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10784"; a="756996065" X-IronPort-AV: E=Sophos;i="6.01,236,1684825200"; d="scan'208";a="756996065" Received: from lkp-server02.sh.intel.com (HELO 953e8cd98f7d) ([10.239.97.151]) by orsmga008.jf.intel.com with ESMTP; 27 Jul 2023 21:21:07 -0700 Received: from kbuild by 953e8cd98f7d with local (Exim 4.96) (envelope-from ) id 1qPEyQ-0002s4-2m; Fri, 28 Jul 2023 04:21:06 +0000 Date: Fri, 28 Jul 2023 12:20:08 +0800 From: kernel test robot To: Matus Gajdos , Pavel Machek , Lee Jones , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: oe-kbuild-all@lists.linux.dev, linux-leds@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Matus Gajdos Subject: Re: [PATCH 3/3] leds: Add Broadchip BCT3024 LED driver Message-ID: <202307281212.NIwa5Cab-lkp@intel.com> References: <20230727160525.23312-4-matuszpd@gmail.com> Precedence: bulk X-Mailing-List: oe-kbuild-all@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230727160525.23312-4-matuszpd@gmail.com> Hi Matus, kernel test robot noticed the following build errors: [auto build test ERROR on robh/for-next] [also build test ERROR on lee-leds/for-leds-next linus/master v6.5-rc3 next-20230727] [cannot apply to pavel-leds/for-next] [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/Matus-Gajdos/dt-bindings-Add-vendor-prefix-for-Broadchip-Technology-Group-Co-Ltd/20230728-001607 base: https://git.kernel.org/pub/scm/linux/kernel/git/robh/linux.git for-next patch link: https://lore.kernel.org/r/20230727160525.23312-4-matuszpd%40gmail.com patch subject: [PATCH 3/3] leds: Add Broadchip BCT3024 LED driver config: sh-allmodconfig (https://download.01.org/0day-ci/archive/20230728/202307281212.NIwa5Cab-lkp@intel.com/config) compiler: sh4-linux-gcc (GCC) 12.3.0 reproduce: (https://download.01.org/0day-ci/archive/20230728/202307281212.NIwa5Cab-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/202307281212.NIwa5Cab-lkp@intel.com/ All errors (new ones prefixed by >>): In file included from include/linux/device.h:25, from include/linux/acpi.h:14, from include/linux/i2c.h:13, from drivers/leds/leds-bct3024.c:8: >> drivers/leds/leds-bct3024.c:538:28: error: 'bct3024_runtime_suspend' undeclared here (not in a function); did you mean 'pm_runtime_suspend'? 538 | SET_RUNTIME_PM_OPS(bct3024_runtime_suspend, bct3024_runtime_resume, | ^~~~~~~~~~~~~~~~~~~~~~~ include/linux/pm.h:337:28: note: in definition of macro 'RUNTIME_PM_OPS' 337 | .runtime_suspend = suspend_fn, \ | ^~~~~~~~~~ drivers/leds/leds-bct3024.c:538:9: note: in expansion of macro 'SET_RUNTIME_PM_OPS' 538 | SET_RUNTIME_PM_OPS(bct3024_runtime_suspend, bct3024_runtime_resume, | ^~~~~~~~~~~~~~~~~~ >> drivers/leds/leds-bct3024.c:538:53: error: 'bct3024_runtime_resume' undeclared here (not in a function); did you mean 'pm_runtime_resume'? 538 | SET_RUNTIME_PM_OPS(bct3024_runtime_suspend, bct3024_runtime_resume, | ^~~~~~~~~~~~~~~~~~~~~~ include/linux/pm.h:338:27: note: in definition of macro 'RUNTIME_PM_OPS' 338 | .runtime_resume = resume_fn, \ | ^~~~~~~~~ drivers/leds/leds-bct3024.c:538:9: note: in expansion of macro 'SET_RUNTIME_PM_OPS' 538 | SET_RUNTIME_PM_OPS(bct3024_runtime_suspend, bct3024_runtime_resume, | ^~~~~~~~~~~~~~~~~~ >> drivers/leds/leds-bct3024.c:539:28: error: 'bct3024_runtime_idle' undeclared here (not in a function); did you mean 'pm_runtime_idle'? 539 | bct3024_runtime_idle) | ^~~~~~~~~~~~~~~~~~~~ include/linux/pm.h:339:25: note: in definition of macro 'RUNTIME_PM_OPS' 339 | .runtime_idle = idle_fn, | ^~~~~~~ drivers/leds/leds-bct3024.c:538:9: note: in expansion of macro 'SET_RUNTIME_PM_OPS' 538 | SET_RUNTIME_PM_OPS(bct3024_runtime_suspend, bct3024_runtime_resume, | ^~~~~~~~~~~~~~~~~~ vim +538 drivers/leds/leds-bct3024.c 536 537 static const struct dev_pm_ops bct3024_pm_ops = { > 538 SET_RUNTIME_PM_OPS(bct3024_runtime_suspend, bct3024_runtime_resume, > 539 bct3024_runtime_idle) 540 SET_SYSTEM_SLEEP_PM_OPS(pm_runtime_force_suspend, pm_runtime_force_resume) 541 }; 542 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki