Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp3512943iob; Tue, 17 May 2022 01:27:36 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxQLIb/X5Zr7V7u1wOYKKuhlYY7nG1u/lTU7GCA7UUWutdfr6gWNS044a2dwl1ADoAqOYLJ X-Received: by 2002:aa7:c14a:0:b0:42a:9ddd:2019 with SMTP id r10-20020aa7c14a000000b0042a9ddd2019mr14967429edp.43.1652776056203; Tue, 17 May 2022 01:27:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1652776056; cv=none; d=google.com; s=arc-20160816; b=vgkMztiGnD6W2SFykdPLsWvvQBMfb9zBRnl0kUnRMvZ5wS2LmsXyTe2CYGnKhzQSRh TnR3o2wf/jmJu6GiDF0eTJT407WF4XGHlpwafYPHCeNjN5czdlXkLmvvtmroE9AQSZfE CG03Qi9Kr9ZJ9gUxHGc7TDlEkwBRWoca3tsPgFY57CoW2Sh1PmpDKv/xJRVtdfv+jdN6 FAeRFAzmnFj5UtDla0zy/zUfSzXm3WiO7u3jAha32MLZgsRkptQU4OBfz7A2B4wJ0IzI 51GN+QsWb/bThtE2bIFRZ+ZpSfOpRusK6hNG9Z8Dh/H5E1GZwzyeiBX4oPQTQXmVhQOL PWkQ== 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=7YRM103I/pqyPu8Z/6IwYnieeDB8eTdl9U+4nVNVUbk=; b=Wyc9w6FllQJYKByx+uVTf1580+uZ5DlAjFzmEkU5OwSfjj+xWAbZI0ilee08SZ1nyw 9sUweKzfBoB4xjNArXOavz36uMe0RLMisaJcqh7RzpMuhSRexx3VRs8Il5AsExDk9tyG l/u1sPEnWINTjI2hex6ZOvQ//pd7RsDOIh+d1JOkuXYJxj1X153MePTBspjFs03t71++ DlDsEPyQndQRn/uzGH3HLYfxmk3YVtSFiedEHEOb+URVJEhyeETt4qxu+XcqD8Bd57wJ 6fC/0m1OICIlncrNqk2geoATlFuRRWwvNUcbz7QkSz5D29dB8OJTd1OaN2GtvGkodhCL Maww== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=fT5qgD0W; 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 c13-20020a05640227cd00b00418c2b5befdsi14336426ede.479.2022.05.17.01.27.10; Tue, 17 May 2022 01:27:36 -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=fT5qgD0W; 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 S242236AbiEQBBT (ORCPT + 99 others); Mon, 16 May 2022 21:01:19 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44264 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S242167AbiEQBBO (ORCPT ); Mon, 16 May 2022 21:01:14 -0400 Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C035F275DA; Mon, 16 May 2022 18:01:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1652749273; x=1684285273; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=Wov2LQaQVG/3AxlEqLF0YKuINCkabUjD2lygg5Hs/uo=; b=fT5qgD0WQlF6T9Fn8C0EAQ5dQycc7rJhmUwMD2IMx2c2D5G8ztOBUf2W NKLSYBx2V6xg5Rt7ixeGReAjoeqGbJpJLC16dwo3UDxZlClEV7DAyI+9R 0Z94i4QAvO4doqBZqe1NzEVvpgSp+106cpz1c14I/1rT8C2Mo/AcnOKAk AVoX6hq5SFwcEngwI2UC38eMHOuBHBu6uW0jwupzaDM0nOpB2B1xSiYdL Unc5xnnEIIjAKvP4zGypOK9fAZmysLC0huiQaSo+oWfykGnbqmUSs2HWO +dkS7rja3mY+3JgZ6kP7V/hirBx+/m1GXmANEBZOHbkKJxeBGaWxDc8Mc g==; X-IronPort-AV: E=McAfee;i="6400,9594,10349"; a="296284238" X-IronPort-AV: E=Sophos;i="5.91,231,1647327600"; d="scan'208";a="296284238" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 16 May 2022 18:01:01 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.91,231,1647327600"; d="scan'208";a="596817843" Received: from lkp-server02.sh.intel.com (HELO 242b25809ac7) ([10.239.97.151]) by orsmga008.jf.intel.com with ESMTP; 16 May 2022 18:00:58 -0700 Received: from kbuild by 242b25809ac7 with local (Exim 4.95) (envelope-from ) id 1nqla6-0000Sd-0v; Tue, 17 May 2022 01:00:58 +0000 Date: Tue, 17 May 2022 09:00:25 +0800 From: kernel test robot To: Piyush Malgujar , linux-i2c@vger.kernel.org, linux-kernel@vger.kernel.org Cc: llvm@lists.linux.dev, kbuild-all@lists.01.org, sgarapati@marvell.com, sbalcerak@marvell.com, cchavva@marvell.com, Piyush Malgujar Subject: Re: [PATCH 1/3] drivers: i2c: thunderx: octeontx2 clock divisor logic changes Message-ID: <202205170856.ko6UxqWi-lkp@intel.com> References: <20220511133659.29176-2-pmalgujar@marvell.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220511133659.29176-2-pmalgujar@marvell.com> X-Spam-Status: No, score=-7.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, 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 Piyush, Thank you for the patch! Yet something to improve: [auto build test ERROR on wsa/i2c/for-next] [also build test ERROR on linux/master linus/master v5.18-rc7 next-20220516] [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] url: https://github.com/intel-lab-lkp/linux/commits/Piyush-Malgujar/drivers-i2c-thunderx-Marvell-thunderx-i2c-changes/20220511-213853 base: https://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux.git i2c/for-next config: mips-randconfig-r025-20220516 (https://download.01.org/0day-ci/archive/20220517/202205170856.ko6UxqWi-lkp@intel.com/config) compiler: clang version 15.0.0 (https://github.com/llvm/llvm-project 853fa8ee225edf2d0de94b0dcbd31bea916e825e) 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 # install mips cross compiling tool for clang build # apt-get install binutils-mips-linux-gnu # https://github.com/intel-lab-lkp/linux/commit/56654d280f7c130d4f1d78eb8a3fa57fedc86b7b git remote add linux-review https://github.com/intel-lab-lkp/linux git fetch --no-tags linux-review Piyush-Malgujar/drivers-i2c-thunderx-Marvell-thunderx-i2c-changes/20220511-213853 git checkout 56654d280f7c130d4f1d78eb8a3fa57fedc86b7b # 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=mips SHELL=/bin/bash If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot All errors (new ones prefixed by >>): In file included from drivers/i2c/busses/i2c-octeon-platdrv.c:27: >> drivers/i2c/busses/i2c-octeon-core.h:223:21: error: incomplete definition of type 'struct pci_dev' u32 chip_id = (pdev->subsystem_device >> 12) & 0xF; ~~~~^ include/asm-generic/pci_iomap.h:10:8: note: forward declaration of 'struct pci_dev' struct pci_dev; ^ 1 error generated. vim +223 drivers/i2c/busses/i2c-octeon-core.h 213 214 #define PCI_SUBSYS_DEVID_9XXX 0xB 215 /** 216 * octeon_i2c_is_otx2 - check for chip ID 217 * @pdev: PCI dev structure 218 * 219 * Returns TRUE if OcteonTX2, FALSE otherwise. 220 */ 221 static inline bool octeon_i2c_is_otx2(struct pci_dev *pdev) 222 { > 223 u32 chip_id = (pdev->subsystem_device >> 12) & 0xF; 224 225 return (chip_id == PCI_SUBSYS_DEVID_9XXX); 226 } 227 -- 0-DAY CI Kernel Test Service https://01.org/lkp