From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) (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 B9E01EC0 for ; Sun, 12 Jun 2022 12:49: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=1655038150; x=1686574150; h=date:from:to:cc:subject:message-id:mime-version; bh=Wyw1SzrVB8IJKOlV176J9ZCu92I0WyZttvi9HwS1CE0=; b=E8x9Bf/mcgVf5wHCP6gPu8GEgTugU2ifB7ysUF9VHqzlWmZA+aZJ8N/C nqxlXgkzNXtm6tnNA9uhnTGwimmMqfVVmY+VNICLJDRe+9CtSozkG2gcl H7jHNJoYKR+rWZeGXTp7BExeRKw2oTuLJDGkLtebk3Aq+WGq9ROvKngKH 33w6bTJb3+VSU9ZPQdGRfBqp52OAxnxhaxtE+Dny0fbP5MfyN9kh1Ei5r J091G5JUTD0oo7b2femcdSPkYsMF+V3HPpQcY8V8xV1ffVBlxotfxD9pt 2dfGAW0g+r2cIGroBTNl4yHC0omG+jrMnxxQYU0gm6B6v/2Dp7ndSiyzw g==; X-IronPort-AV: E=McAfee;i="6400,9594,10375"; a="276817709" X-IronPort-AV: E=Sophos;i="5.91,294,1647327600"; d="scan'208";a="276817709" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 12 Jun 2022 05:49:10 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.91,294,1647327600"; d="scan'208";a="611363071" Received: from lkp-server01.sh.intel.com (HELO 60dabacc1df6) ([10.239.97.150]) by orsmga008.jf.intel.com with ESMTP; 12 Jun 2022 05:49:07 -0700 Received: from kbuild by 60dabacc1df6 with local (Exim 4.95) (envelope-from ) id 1o0N1f-000JvO-3w; Sun, 12 Jun 2022 12:49:07 +0000 Date: Sun, 12 Jun 2022 20:48:51 +0800 From: kernel test robot To: Nuno =?iso-8859-1?Q?S=E1?= Cc: llvm@lists.linux.dev, kbuild-all@lists.01.org, linux-kernel@vger.kernel.org, Jonathan Cameron , Andy Shevchenko Subject: [jic23-iio:testing 199/204] drivers/iio/adc/intel_mrfld_adc.c:222:58: error: array has incomplete element type 'const struct platform_device_id' Message-ID: <202206122000.ehsJVvx5-lkp@intel.com> Precedence: bulk X-Mailing-List: llvm@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline tree: https://git.kernel.org/pub/scm/linux/kernel/git/jic23/iio.git testing head: 20b4fa69eeaa2b6389ff83662a96c8f0f1f414ab commit: 8e3460e351d063ba81c3f50ed946dd825848d892 [199/204] iio: core: drop of.h from iio.h config: x86_64-randconfig-a012 (https://download.01.org/0day-ci/archive/20220612/202206122000.ehsJVvx5-lkp@intel.com/config) compiler: clang version 15.0.0 (https://github.com/llvm/llvm-project 6466c9abf3674bade1f6ee859f24ebc7aaf9cd88) 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://git.kernel.org/pub/scm/linux/kernel/git/jic23/iio.git/commit/?id=8e3460e351d063ba81c3f50ed946dd825848d892 git remote add jic23-iio https://git.kernel.org/pub/scm/linux/kernel/git/jic23/iio.git git fetch --no-tags jic23-iio testing git checkout 8e3460e351d063ba81c3f50ed946dd825848d892 # save the config file mkdir build_dir && cp config build_dir/.config COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=x86_64 SHELL=/bin/bash drivers/iio/adc/ If you fix the issue, kindly add following tag where applicable Reported-by: kernel test robot All errors (new ones prefixed by >>): >> drivers/iio/adc/intel_mrfld_adc.c:222:58: error: array has incomplete element type 'const struct platform_device_id' static const struct platform_device_id mrfld_adc_id_table[] = { ^ include/linux/platform_device.h:21:8: note: forward declaration of 'struct platform_device_id' struct platform_device_id; ^ 1 error generated. vim +222 drivers/iio/adc/intel_mrfld_adc.c a7118662734a3f Vincent Pelletier 2019-03-26 221 a7118662734a3f Vincent Pelletier 2019-03-26 @222 static const struct platform_device_id mrfld_adc_id_table[] = { a7118662734a3f Vincent Pelletier 2019-03-26 223 { .name = "mrfld_bcove_adc" }, a7118662734a3f Vincent Pelletier 2019-03-26 224 {} a7118662734a3f Vincent Pelletier 2019-03-26 225 }; a7118662734a3f Vincent Pelletier 2019-03-26 226 MODULE_DEVICE_TABLE(platform, mrfld_adc_id_table); a7118662734a3f Vincent Pelletier 2019-03-26 227 :::::: The code at line 222 was first introduced by commit :::::: a7118662734a3f97622d8274708cb61fd53d693a iio: adc: intel_mrfld_adc: Add Basin Cove ADC driver :::::: TO: Vincent Pelletier :::::: CC: Jonathan Cameron -- 0-DAY CI Kernel Test Service https://01.org/lkp