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 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id A5E6CC3DA7F for ; Sat, 10 Aug 2024 19:36:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:In-Reply-To:Content-Type: MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=eAExWPVkD68vkymHuNrk6SJUKzrqWvXHLHOawlxcTNk=; b=jefaSIRyr7/BS/vLAIX2rDqtPW cWqNy0+AZZj6r7Sbrqhw7lb7c8aIe2YVThRIvfisgkPXwJjltOm4B2zdtUUqQj+FiAO0B35dIp8wG JZ0S+fBdwQv0gGaVxo4tLI1/6ZOKs9sZIKm7ig1DsbJqGKP39T8aJ/jASmPrt3SWXKsXG5kMQSNUE X2UC3BEELKHJDuLbm4sxem5k+VFWPKtmaqQk2K9xvc2HVTYZpw3jkJoTZQlG4uU35L9cfJkvwSYZR ts1Io+BiXGRjTmO0mdAULkonhmiq5nUBnYjNtdM9rtOzeaVhKOKZeOnntlO3DnzGmu4CJ+vYnjD2X 7X07zloQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1scrso-0000000EWlo-0MlO; Sat, 10 Aug 2024 19:36:10 +0000 Received: from mgamail.intel.com ([192.198.163.8]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1scrsE-0000000EWjS-0K03 for linux-arm-kernel@lists.infradead.org; Sat, 10 Aug 2024 19:35:35 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1723318534; x=1754854534; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=fmMxhi+z6NFHOIB4h0MwZ2Ve9LUiK/yOWltAGZz8rT4=; b=KcLn/oEj/mSwzCPniH17+D9moRIBV6+F4dI6Ovz0phEEXTnqbB4u5Uxe tVTagfimb2/Yh73zR0PWXrj78vcLc4r+3AYX7n2oTovX5IHDa90OIGK65 +DmH5QNMJ8ztsNu4hYNOlvAbLqSJMSssaPPlGuAXoK3j96s3xUaEaN2RA gwZ+UA8AmcONg/EmHbnNZ0nDsoRpSqGPXixcbIYw01UNmXSQaibSdcGUl COIhsuhKBTy2+zyZIiKe428f+HyXGui+vGzuTH4h1irING9ZklNmVnLlH G8BYVht8aEEG0Lml9/QWQwVEd3RNARNoZdE5aoEuR3xLTLeUAuznsAmxj g==; X-CSE-ConnectionGUID: OzymITToQFWFCurFQw5Q9g== X-CSE-MsgGUID: eYStP0XyRyCUnSXPX3+FhQ== X-IronPort-AV: E=McAfee;i="6700,10204,11160"; a="38980272" X-IronPort-AV: E=Sophos;i="6.09,279,1716274800"; d="scan'208";a="38980272" Received: from orviesa005.jf.intel.com ([10.64.159.145]) by fmvoesa102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 10 Aug 2024 12:35:33 -0700 X-CSE-ConnectionGUID: q4SieW/JSlK1h+VMBK2AkA== X-CSE-MsgGUID: RfvKKc1TQJ2Gp/chTcHlsA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.09,279,1716274800"; d="scan'208";a="62708524" Received: from unknown (HELO b6bf6c95bbab) ([10.239.97.151]) by orviesa005.jf.intel.com with ESMTP; 10 Aug 2024 12:35:30 -0700 Received: from kbuild by b6bf6c95bbab with local (Exim 4.96) (envelope-from ) id 1scrs7-000AEV-2K; Sat, 10 Aug 2024 19:35:27 +0000 Date: Sun, 11 Aug 2024 03:35:18 +0800 From: kernel test robot To: Lorenzo Bianconi , linux-pwm@vger.kernel.org Cc: oe-kbuild-all@lists.linux.dev, ukleinek@kernel.org, lorenzo.bianconi83@gmail.com, krzk+dt@kernel.org, robh@kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, upstream@airoha.com, angelogioacchino.delregno@collabora.com, benjamin.larsson@genexis.eu, conor+dt@kernel.org, ansuelsmth@gmail.com Subject: Re: [PATCH 2/2] pwm: airoha: Add support for EN7581 SoC Message-ID: <202408110329.6YGwCzoM-lkp@intel.com> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240810_123534_152655_0A77AF82 X-CRM114-Status: GOOD ( 11.10 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Hi Lorenzo, kernel test robot noticed the following build errors: [auto build test ERROR on robh/for-next] [also build test ERROR on linus/master v6.11-rc2 next-20240809] [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/Lorenzo-Bianconi/dt-bindings-pwm-Document-Airoha-EN7581-PWM/20240810-143716 base: https://git.kernel.org/pub/scm/linux/kernel/git/robh/linux.git for-next patch link: https://lore.kernel.org/r/a03f5ea9291e39eab303696eb03fdd44cf04e8d9.1723264979.git.lorenzo%40kernel.org patch subject: [PATCH 2/2] pwm: airoha: Add support for EN7581 SoC config: alpha-allyesconfig (https://download.01.org/0day-ci/archive/20240811/202408110329.6YGwCzoM-lkp@intel.com/config) compiler: alpha-linux-gcc (GCC) 13.3.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240811/202408110329.6YGwCzoM-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/202408110329.6YGwCzoM-lkp@intel.com/ All errors (new ones prefixed by >>): drivers/pwm/pwm-airoha.c: In function 'airoha_pwm_config_waveform': >> drivers/pwm/pwm-airoha.c:239:26: error: implicit declaration of function '__bf_shf' [-Werror=implicit-function-declaration] 239 | val = (period << __bf_shf(mask)) & mask; | ^~~~~~~~ cc1: some warnings being treated as errors vim +/__bf_shf +239 drivers/pwm/pwm-airoha.c 231 232 static void airoha_pwm_config_waveform(struct airoha_pwm *pc, int index, 233 u32 duty, u32 period) 234 { 235 u32 mask, val; 236 237 /* Configure frequency divisor */ 238 mask = WAVE_GEN_CYCLE_MASK(index % 4); > 239 val = (period << __bf_shf(mask)) & mask; 240 airoha_pwm_cycle_rmw(pc, REG_CYCLE_CFG_VALUE(index / 4), mask, val); 241 242 /* Configure duty cycle */ 243 duty = ((DUTY_FULL - duty) << 8) | duty; 244 mask = GPIO_FLASH_PRD_MASK(index % 2); 245 val = (duty << __bf_shf(mask)) & mask; 246 airoha_pwm_flash_rmw(pc, REG_GPIO_FLASH_PRD_SET(index / 2), mask, val); 247 } 248 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki