From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) (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 0B474623 for ; Tue, 28 Feb 2023 03:50:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1677556228; x=1709092228; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=ipBT75Jjea5vt0rmR8K8faxZwFeHocSUgcvMb1mdyBY=; b=XO1ppNBblFSVfq7a7D9JWS/zTYxpmkZVspDA3VeN8vRxrdRcGTOutUcu +u0IzYyQojRZzx8a/rXZN09nR2wExy4agbzjb4MnO4sAdG8CQFS+4O+Nt S6QvVwvatfoSCGGgdy8iE7wYiEToJSRFjLY+jlKcHlhm/a2wsbnM/kFTA w2WF+2ql4UHk4JenO540mDsOsEu+9S+ofuYAe1c+1qYYven4WItSaB0Bw zARMlT0ADijgc5swd20QUcgX3fdiRa/Fq+xTteIjRRvKD6PlEcq6BWshr L+7y4SCRWQVCUQSACZ5cIoTKWFlBWAhjdBbUeCc/wetiBPYdcTVztS1TW A==; X-IronPort-AV: E=McAfee;i="6500,9779,10634"; a="322288277" X-IronPort-AV: E=Sophos;i="5.98,220,1673942400"; d="scan'208";a="322288277" Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 27 Feb 2023 19:50:17 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6500,9779,10634"; a="1003079203" X-IronPort-AV: E=Sophos;i="5.98,220,1673942400"; d="scan'208";a="1003079203" Received: from lkp-server01.sh.intel.com (HELO 3895f5c55ead) ([10.239.97.150]) by fmsmga005.fm.intel.com with ESMTP; 27 Feb 2023 19:50:15 -0800 Received: from kbuild by 3895f5c55ead with local (Exim 4.96) (envelope-from ) id 1pWr0I-00053X-2x; Tue, 28 Feb 2023 03:50:14 +0000 Date: Tue, 28 Feb 2023 11:50:13 +0800 From: kernel test robot To: Benjamin Gray , linux-i2c@vger.kernel.org Cc: oe-kbuild-all@lists.linux.dev, arnd@arndb.de, Sven Peter , mpe@ellerman.id.au, Benjamin Gray Subject: Re: [PATCH v2 2/2] i2c: Build I2C_PASEMI with COMPILE_TEST Message-ID: <202302281135.KsarHDzl-lkp@intel.com> References: <20230227233318.120415-2-bgray@linux.ibm.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: <20230227233318.120415-2-bgray@linux.ibm.com> Hi Benjamin, Thank you for the patch! Yet something to improve: [auto build test ERROR on ec0a1b360aec1ba0bdfad3dd69e300b028529c0d] url: https://github.com/intel-lab-lkp/linux/commits/Benjamin-Gray/i2c-Build-I2C_PASEMI-with-COMPILE_TEST/20230228-073442 base: ec0a1b360aec1ba0bdfad3dd69e300b028529c0d patch link: https://lore.kernel.org/r/20230227233318.120415-2-bgray%40linux.ibm.com patch subject: [PATCH v2 2/2] i2c: Build I2C_PASEMI with COMPILE_TEST config: sh-allmodconfig (https://download.01.org/0day-ci/archive/20230228/202302281135.KsarHDzl-lkp@intel.com/config) compiler: sh4-linux-gcc (GCC) 12.1.0 reproduce (this is a W=1 build): 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/6f8f477a04ff9dcd1091aed71674b27c513b6b39 git remote add linux-review https://github.com/intel-lab-lkp/linux git fetch --no-tags linux-review Benjamin-Gray/i2c-Build-I2C_PASEMI-with-COMPILE_TEST/20230228-073442 git checkout 6f8f477a04ff9dcd1091aed71674b27c513b6b39 # save the config file mkdir build_dir && cp config build_dir/.config COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=sh olddefconfig COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=sh SHELL=/bin/bash drivers/i2c/busses/ If you fix the issue, kindly add following tag where applicable | Reported-by: kernel test robot | Link: https://lore.kernel.org/oe-kbuild-all/202302281135.KsarHDzl-lkp@intel.com/ All error/warnings (new ones prefixed by >>): >> drivers/i2c/busses/i2c-pasemi-pci.c:82:1: warning: data definition has no type or storage class 82 | module_pci_driver(pasemi_smb_pci_driver); | ^~~~~~~~~~~~~~~~~ >> drivers/i2c/busses/i2c-pasemi-pci.c:82:1: error: type defaults to 'int' in declaration of 'module_pci_driver' [-Werror=implicit-int] >> drivers/i2c/busses/i2c-pasemi-pci.c:82:1: warning: parameter names (without types) in function declaration cc1: some warnings being treated as errors vim +82 drivers/i2c/busses/i2c-pasemi-pci.c 9bc5f4f660ff3e Sven Peter 2021-10-08 81 9bc5f4f660ff3e Sven Peter 2021-10-08 @82 module_pci_driver(pasemi_smb_pci_driver); 9bc5f4f660ff3e Sven Peter 2021-10-08 83 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests