Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp855446rwd; Thu, 1 Jun 2023 07:25:22 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6xb+cdhaMncCnRmk5rjGpww5reezjpSLD6H/nslpI4HkQRTSfCERi0RIx8oT9H00S2k2dG X-Received: by 2002:a05:6a20:8f09:b0:10c:2fce:96cc with SMTP id b9-20020a056a208f0900b0010c2fce96ccmr8397544pzk.34.1685629522384; Thu, 01 Jun 2023 07:25:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685629522; cv=none; d=google.com; s=arc-20160816; b=ogiRrEYaSGuiB2P47hkWi//HmLAPucsi9zFxUv6a6lVBYDbJ6HPFpSIJZd5F8iEvM0 hmbH3Ab5NFLzGVy8A+UKP2tMZ9rnndI66ClA/kthNBguONruPKNiR+tiXk2H+bZAglHm ByJ4pTnmM4fv5+AS8JBIrT/BQNYckAI6/AUotEiC0R1NKjGiV3mkPuL2Wc8/lX89UKXL tAB87UvP/N2E17nTStkScEbCkoCj6TT0C7szveBnHXy+XMh8tJvdTtAtZNAd5UmB0YmP 9rHzOruqm4I+PqOwrawOHd8wdmlN40g64GFH0jZ93xuO9AzwoUoDc9nT5Fm8YZDX1Vky RIqA== 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=y3XzyTLsPUslbd3t71IcbKzbcamFNIrgj6p1MMuFj24=; b=VUXi+DASVT9vS6nmxJaDmME/1qGSFCqGRT1/JBHiJN+a6HZm1DmGq1wY18jgSZASvx /l+UbW/3z/EnMHcBXlL0GkaG/g+h9QDlZgFyM6ACw4tiL7EcLo6reFFFZDxaeCnKdFS1 Q1RfSzK8SuJgu8Dt9ZaMzi7sLi/+hZ9LW5nyOYxtclVxBTec5aaVrzMehVFbrq8hwjbW Ua5Q5Cb5DEuvY71FpS57iATeJaSmXW4gJepSLnaisFixrI6+4TzUG8zvj/HwsY9vFtm+ iMt4dCRoOiSW2IGaom8HBU40RFYR5HxB1Xitnlol1wk8QPjtvANqhMWGvZYF1CvQYF1d Q1Hw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=lVf0tOZN; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id 125-20020a620683000000b0064d5e926241si2658421pfg.149.2023.06.01.07.25.07; Thu, 01 Jun 2023 07:25:22 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=lVf0tOZN; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233797AbjFAOUq (ORCPT + 99 others); Thu, 1 Jun 2023 10:20:46 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40934 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233745AbjFAOUo (ORCPT ); Thu, 1 Jun 2023 10:20:44 -0400 Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EE28D18F for ; Thu, 1 Jun 2023 07:20:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1685629237; x=1717165237; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=V3aEMThk1aOvzxlN2qMLUYHQSrj7IvusSGmojZBE7Fk=; b=lVf0tOZNrkzc+9+KT8m+djXJiQL2WT4JmZGUkVunGmeqgqGGS+rfZcL7 c4Qwg8pGjMN1DqT0DO4B9zvgABCgYyBwDxOqi3Lmt0mOt72ErXUHyM/xC KsgMbi+UbSzR/iq3SD015Y65XCtmkXvgQuEKldjwpasesBx+FbiXGU9NZ LG40ElprJLbG9qPhBUNVvcXxOHQ3frAfSYJDbCNv5cPW+FEDWOuHWIuCn 7cE7Vx0RlM/qsqUlKTYJFPt7E8RF1ZAzm/20YQd0CJa1yw8/yjVJzcWix f5xyrkkqlVjjCaHi4dWpOZ0rfGgy5SqtQDFhtDMgj/GEsab8OU+fRGL3I Q==; X-IronPort-AV: E=McAfee;i="6600,9927,10728"; a="357989671" X-IronPort-AV: E=Sophos;i="6.00,210,1681196400"; d="scan'208";a="357989671" Received: from orsmga005.jf.intel.com ([10.7.209.41]) by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 01 Jun 2023 07:18:18 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10728"; a="881625227" X-IronPort-AV: E=Sophos;i="6.00,210,1681196400"; d="scan'208";a="881625227" Received: from lkp-server01.sh.intel.com (HELO fb1ced2c09fb) ([10.239.97.150]) by orsmga005.jf.intel.com with ESMTP; 01 Jun 2023 07:18:15 -0700 Received: from kbuild by fb1ced2c09fb with local (Exim 4.96) (envelope-from ) id 1q4j82-0002Lg-38; Thu, 01 Jun 2023 14:18:14 +0000 Date: Thu, 1 Jun 2023 22:18:12 +0800 From: kernel test robot To: Nikita Shubin , Alexander Sverdlin , Arnd Bergmann , Linus Walleij Cc: oe-kbuild-all@lists.linux.dev, Michael Peters , Kris Bahnsen , linux-kernel@vger.kernel.org Subject: Re: [PATCH v1 40/43] ARM: ep93xx: soc: drop defines Message-ID: <202306011611.BkjkqkuR-lkp@intel.com> References: <20230601054549.10843-22-nikita.shubin@maquefel.me> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230601054549.10843-22-nikita.shubin@maquefel.me> X-Spam-Status: No, score=-4.6 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,SPF_NONE, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Nikita, kernel test robot noticed the following build warnings: [auto build test WARNING on clk/clk-next] [also build test WARNING on linusw-pinctrl/devel linusw-pinctrl/for-next linus/master v6.4-rc4] [cannot apply to soc/for-next robh/for-next next-20230601] [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/Nikita-Shubin/dt-bindings-soc-Add-Cirrus-EP93xx/20230601-143415 base: https://git.kernel.org/pub/scm/linux/kernel/git/clk/linux.git clk-next patch link: https://lore.kernel.org/r/20230601054549.10843-22-nikita.shubin%40maquefel.me patch subject: [PATCH v1 40/43] ARM: ep93xx: soc: drop defines config: alpha-allyesconfig (https://download.01.org/0day-ci/archive/20230601/202306011611.BkjkqkuR-lkp@intel.com/config) compiler: alpha-linux-gcc (GCC) 12.3.0 reproduce (this is a W=1 build): mkdir -p ~/bin wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # https://github.com/intel-lab-lkp/linux/commit/372fa9eb75b475c6b8f26079e8716c95622ae9b7 git remote add linux-review https://github.com/intel-lab-lkp/linux git fetch --no-tags linux-review Nikita-Shubin/dt-bindings-soc-Add-Cirrus-EP93xx/20230601-143415 git checkout 372fa9eb75b475c6b8f26079e8716c95622ae9b7 # save the config file mkdir build_dir && cp config build_dir/.config COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.3.0 ~/bin/make.cross W=1 O=build_dir ARCH=alpha olddefconfig COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.3.0 ~/bin/make.cross W=1 O=build_dir ARCH=alpha SHELL=/bin/bash drivers/input/keyboard/ sound/soc/cirrus/ If you fix the issue, kindly add following tag where applicable | Reported-by: kernel test robot | Closes: https://lore.kernel.org/oe-kbuild-all/202306011611.BkjkqkuR-lkp@intel.com/ All warnings (new ones prefixed by >>): In file included from drivers/input/keyboard/ep93xx_keypad.c:30: include/linux/soc/cirrus/ep93xx.h: In function 'ep93xx_devcfg_set_clear': include/linux/soc/cirrus/ep93xx.h:22:16: error: 'return' with a value, in function returning void [-Werror=return-type] 22 | return 0; | ^ include/linux/soc/cirrus/ep93xx.h:19:20: note: declared here 19 | static inline void ep93xx_devcfg_set_clear(unsigned int set_bits, | ^~~~~~~~~~~~~~~~~~~~~~~ include/linux/soc/cirrus/ep93xx.h: At top level: >> include/linux/soc/cirrus/ep93xx.h:24:6: warning: no previous prototype for 'ep93xx_syscon_swlocked_write' [-Wmissing-prototypes] 24 | void ep93xx_syscon_swlocked_write(unsigned int val, unsigned int reg) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ include/linux/soc/cirrus/ep93xx.h: In function 'ep93xx_syscon_swlocked_write': include/linux/soc/cirrus/ep93xx.h:26:16: error: 'return' with a value, in function returning void [-Werror=return-type] 26 | return 0; | ^ include/linux/soc/cirrus/ep93xx.h:24:6: note: declared here 24 | void ep93xx_syscon_swlocked_write(unsigned int val, unsigned int reg) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ include/linux/soc/cirrus/ep93xx.h: At top level: >> include/linux/soc/cirrus/ep93xx.h:28:6: warning: no previous prototype for 'ep93xx_swlocked_update_bits' [-Wmissing-prototypes] 28 | void ep93xx_swlocked_update_bits(unsigned int reg, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ include/linux/soc/cirrus/ep93xx.h: In function 'ep93xx_swlocked_update_bits': include/linux/soc/cirrus/ep93xx.h:31:16: error: 'return' with a value, in function returning void [-Werror=return-type] 31 | return 0; | ^ include/linux/soc/cirrus/ep93xx.h:28:6: note: declared here 28 | void ep93xx_swlocked_update_bits(unsigned int reg, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ drivers/input/keyboard/ep93xx_keypad.c: In function 'ep93xx_keypad_probe': drivers/input/keyboard/ep93xx_keypad.c:262:9: error: implicit declaration of function 'of_property_read_u32' [-Werror=implicit-function-declaration] 262 | of_property_read_u32(np, "cirrus,debounce-delay-ms", &keypad->debounce); | ^~~~~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors -- In file included from sound/soc/cirrus/ep93xx-i2s.c:28: include/linux/soc/cirrus/ep93xx.h: In function 'ep93xx_devcfg_set_clear': include/linux/soc/cirrus/ep93xx.h:22:16: error: 'return' with a value, in function returning void [-Werror=return-type] 22 | return 0; | ^ include/linux/soc/cirrus/ep93xx.h:19:20: note: declared here 19 | static inline void ep93xx_devcfg_set_clear(unsigned int set_bits, | ^~~~~~~~~~~~~~~~~~~~~~~ include/linux/soc/cirrus/ep93xx.h: At top level: >> include/linux/soc/cirrus/ep93xx.h:24:6: warning: no previous prototype for 'ep93xx_syscon_swlocked_write' [-Wmissing-prototypes] 24 | void ep93xx_syscon_swlocked_write(unsigned int val, unsigned int reg) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ include/linux/soc/cirrus/ep93xx.h: In function 'ep93xx_syscon_swlocked_write': include/linux/soc/cirrus/ep93xx.h:26:16: error: 'return' with a value, in function returning void [-Werror=return-type] 26 | return 0; | ^ include/linux/soc/cirrus/ep93xx.h:24:6: note: declared here 24 | void ep93xx_syscon_swlocked_write(unsigned int val, unsigned int reg) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ include/linux/soc/cirrus/ep93xx.h: At top level: >> include/linux/soc/cirrus/ep93xx.h:28:6: warning: no previous prototype for 'ep93xx_swlocked_update_bits' [-Wmissing-prototypes] 28 | void ep93xx_swlocked_update_bits(unsigned int reg, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ include/linux/soc/cirrus/ep93xx.h: In function 'ep93xx_swlocked_update_bits': include/linux/soc/cirrus/ep93xx.h:31:16: error: 'return' with a value, in function returning void [-Werror=return-type] 31 | return 0; | ^ include/linux/soc/cirrus/ep93xx.h:28:6: note: declared here 28 | void ep93xx_swlocked_update_bits(unsigned int reg, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors vim +/ep93xx_syscon_swlocked_write +24 include/linux/soc/cirrus/ep93xx.h 10 11 #if defined(CONFIG_ARCH_EP93XX) 12 unsigned int ep93xx_chip_revision(void); 13 void ep93xx_devcfg_set_clear(unsigned int set_bits, unsigned int clear_bits); 14 void ep93xx_syscon_swlocked_write(unsigned int val, unsigned int reg); 15 void ep93xx_swlocked_update_bits(unsigned int reg, 16 unsigned int mask, unsigned int val); 17 #else 18 static inline unsigned int ep93xx_chip_revision(void) { return 0; } 19 static inline void ep93xx_devcfg_set_clear(unsigned int set_bits, 20 unsigned int clear_bits) 21 { > 22 return 0; 23 } > 24 void ep93xx_syscon_swlocked_write(unsigned int val, unsigned int reg) 25 { > 26 return 0; 27 } > 28 void ep93xx_swlocked_update_bits(unsigned int reg, 29 unsigned int mask, unsigned int val) 30 { 31 return 0; 32 } 33 #endif 34 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki