Received: by 2002:a05:6358:489b:b0:bb:da1:e618 with SMTP id x27csp242560rwn; Thu, 8 Sep 2022 00:24:55 -0700 (PDT) X-Google-Smtp-Source: AA6agR4NqLsESrQ1DHsu4/EsjWnlmp83M9S4LtuuZuRnIuPM6nfy6rriStQzTHZ4p4F2R/5M/6sJ X-Received: by 2002:a17:907:788:b0:741:4d1a:595d with SMTP id xd8-20020a170907078800b007414d1a595dmr4949225ejb.737.1662621895121; Thu, 08 Sep 2022 00:24:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1662621895; cv=none; d=google.com; s=arc-20160816; b=L0oK6QwyKFn1lRKNb5IALP1Fcn7FmxVDWtvDPcJnDfvOFtNNZ9jvw/h3MpOTjPykpA sqg5vrTH2inqZPT7Ro9JaPS2C1CkVM4pITXD+cGlP2RvQizFiCldzAyTa6G8BjmT27mU ToM46Db/cqm7AIxipa5bs6PyFq8CNul6Kp1c+Bj9gG6jDp5GwApheZCQPSVjSVfbtn9i xcfCRqF4GNkTHaJNYd+3GlkEBdvRelf2GZQlFyWptLysQOu238GK/L5zBePxUx0YFgKN 6geipfpuP548gOHbxnSsycdm4rlwV4MhhurkqT7cvu+GoPvBkjSQdc34MWx4juAlTOCE hQgQ== 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=diW4g5U7a/sTnWWvRbejehAA4p+PYfkdQH/z0hWym20=; b=zAif3ZfWrCi5MwIs7a6KJtbRfBMNWd4d+X9iKUW0alED2mQ6yUfcIEdA3YfuGeoivU CKB5uW6v0rppU9231ecd/bW/+rR+7b+oaL6wUc+ezX6ZniIzXdwf/qAZSW1bT61bfJhM pdHlAS7DF5y7ogz0CaTOx13kMxVBzJDtKsFkZM5fkk9uRhV6yVShVql5awLKQZ/imzTL Iv4f90fZfdpOkaJVCe6atU/4COizvbqoBF/aRzhATcuF8d8vVQYZYN3K49ea6Mh0Rw0U 1zKHWO0P2k9Hiynlc0ch26Z+3ostbHHzyPqP3eGtEQINZTB31PPzfBznvf4Wk6/ejeAZ 8CYg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=fhX7shF0; 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 n8-20020a05640205c800b00448b894310esi16281326edx.343.2022.09.08.00.24.29; Thu, 08 Sep 2022 00:24:55 -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=fhX7shF0; 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 S229668AbiIHHIE (ORCPT + 99 others); Thu, 8 Sep 2022 03:08:04 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38282 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231280AbiIHHH6 (ORCPT ); Thu, 8 Sep 2022 03:07:58 -0400 Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DCED0A0320; Thu, 8 Sep 2022 00:07:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1662620877; x=1694156877; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=g4W7H6QHrpz3Os21HlSEFI7Y9Z66W4/3/Zj9A4FqNyA=; b=fhX7shF0vUh8WAMejRSVOI9FuvqDmxa38OuExBdEAz9uVY+oEU2pYrB5 6N76df/Ob/DnA0HOuudNpo+Hvj4HMKfqRT32X9ARRNWw5nk+UJLwye9iS KVEwOKCdLD3fV9W1voFDxoKK6nnkAABFJnOq51FIHG4XMkhShYLN3qTkq eWlyhXwoUjPUpcyjOYaMIo9XHUGHSBRfBB4TovytSDENlg2UJiUrUOhtU OdKM+xHohdtMu2bgFEFoCpcb5bk/aH6VYQj6LLmgcgI3VketOaeAC155S YmvYxU/ao8DtxVxSZIJ+upuyQbSRvv74PzrSIrNZxqTzjl9q/DbpuAmNp w==; X-IronPort-AV: E=McAfee;i="6500,9779,10463"; a="383383404" X-IronPort-AV: E=Sophos;i="5.93,299,1654585200"; d="scan'208";a="383383404" Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 08 Sep 2022 00:07:57 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.93,299,1654585200"; d="scan'208";a="757085225" Received: from lkp-server02.sh.intel.com (HELO 95dfd251caa2) ([10.239.97.151]) by fmsmga001.fm.intel.com with ESMTP; 08 Sep 2022 00:07:55 -0700 Received: from kbuild by 95dfd251caa2 with local (Exim 4.96) (envelope-from ) id 1oWBdi-0007TP-22; Thu, 08 Sep 2022 07:07:54 +0000 Date: Thu, 8 Sep 2022 15:06:55 +0800 From: kernel test robot To: Weilong Chen , yangyicong@hisilicon.com, xuwei5@huawei.com, wsa@kernel.org, robh+dt@kernel.org Cc: llvm@lists.linux.dev, kbuild-all@lists.01.org, linux-i2c@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org Subject: Re: [PATCH next v3 1/2] i2c: hisi: Add initial device tree support Message-ID: <202209081409.fOmaxkP3-lkp@intel.com> References: <20220908025701.330210-1-chenweilong@huawei.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220908025701.330210-1-chenweilong@huawei.com> X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, 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 Weilong, Thank you for the patch! Yet something to improve: [auto build test ERROR on next-20220907] url: https://github.com/intel-lab-lkp/linux/commits/Weilong-Chen/i2c-hisi-Add-initial-device-tree-support/20220908-105559 base: 5957ac6635a1a12d4aa2661bbf04d3085a73372a config: hexagon-randconfig-r045-20220907 (https://download.01.org/0day-ci/archive/20220908/202209081409.fOmaxkP3-lkp@intel.com/config) compiler: clang version 16.0.0 (https://github.com/llvm/llvm-project 1546df49f5a6d09df78f569e4137ddb365a3e827) 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/679f6654e170ef08682e0b6f4ef3753b998e0193 git remote add linux-review https://github.com/intel-lab-lkp/linux git fetch --no-tags linux-review Weilong-Chen/i2c-hisi-Add-initial-device-tree-support/20220908-105559 git checkout 679f6654e170ef08682e0b6f4ef3753b998e0193 # 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=hexagon SHELL=/bin/bash M=drivers/i2c/busses If you fix the issue, kindly add following tag where applicable Reported-by: kernel test robot All errors (new ones prefixed by >>): In file included from drivers/i2c/busses/i2c-hisi.c:12: In file included from include/linux/i2c.h:19: In file included from include/linux/regulator/consumer.h:35: In file included from include/linux/suspend.h:5: In file included from include/linux/swap.h:9: In file included from include/linux/memcontrol.h:13: In file included from include/linux/cgroup.h:26: In file included from include/linux/kernel_stat.h:9: In file included from include/linux/interrupt.h:11: In file included from include/linux/hardirq.h:11: In file included from ./arch/hexagon/include/generated/asm/hardirq.h:1: In file included from include/asm-generic/hardirq.h:17: In file included from include/linux/irq.h:20: In file included from include/linux/io.h:13: In file included from arch/hexagon/include/asm/io.h:334: include/asm-generic/io.h:547:31: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic] val = __raw_readb(PCI_IOBASE + addr); ~~~~~~~~~~ ^ include/asm-generic/io.h:560:61: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic] val = __le16_to_cpu((__le16 __force)__raw_readw(PCI_IOBASE + addr)); ~~~~~~~~~~ ^ include/uapi/linux/byteorder/little_endian.h:37:51: note: expanded from macro '__le16_to_cpu' #define __le16_to_cpu(x) ((__force __u16)(__le16)(x)) ^ In file included from drivers/i2c/busses/i2c-hisi.c:12: In file included from include/linux/i2c.h:19: In file included from include/linux/regulator/consumer.h:35: In file included from include/linux/suspend.h:5: In file included from include/linux/swap.h:9: In file included from include/linux/memcontrol.h:13: In file included from include/linux/cgroup.h:26: In file included from include/linux/kernel_stat.h:9: In file included from include/linux/interrupt.h:11: In file included from include/linux/hardirq.h:11: In file included from ./arch/hexagon/include/generated/asm/hardirq.h:1: In file included from include/asm-generic/hardirq.h:17: In file included from include/linux/irq.h:20: In file included from include/linux/io.h:13: In file included from arch/hexagon/include/asm/io.h:334: include/asm-generic/io.h:573:61: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic] val = __le32_to_cpu((__le32 __force)__raw_readl(PCI_IOBASE + addr)); ~~~~~~~~~~ ^ include/uapi/linux/byteorder/little_endian.h:35:51: note: expanded from macro '__le32_to_cpu' #define __le32_to_cpu(x) ((__force __u32)(__le32)(x)) ^ In file included from drivers/i2c/busses/i2c-hisi.c:12: In file included from include/linux/i2c.h:19: In file included from include/linux/regulator/consumer.h:35: In file included from include/linux/suspend.h:5: In file included from include/linux/swap.h:9: In file included from include/linux/memcontrol.h:13: In file included from include/linux/cgroup.h:26: In file included from include/linux/kernel_stat.h:9: In file included from include/linux/interrupt.h:11: In file included from include/linux/hardirq.h:11: In file included from ./arch/hexagon/include/generated/asm/hardirq.h:1: In file included from include/asm-generic/hardirq.h:17: In file included from include/linux/irq.h:20: In file included from include/linux/io.h:13: In file included from arch/hexagon/include/asm/io.h:334: include/asm-generic/io.h:584:33: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic] __raw_writeb(value, PCI_IOBASE + addr); ~~~~~~~~~~ ^ include/asm-generic/io.h:594:59: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic] __raw_writew((u16 __force)cpu_to_le16(value), PCI_IOBASE + addr); ~~~~~~~~~~ ^ include/asm-generic/io.h:604:59: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic] __raw_writel((u32 __force)cpu_to_le32(value), PCI_IOBASE + addr); ~~~~~~~~~~ ^ >> drivers/i2c/busses/i2c-hisi.c:503:25: error: use of undeclared identifier 'hisi_i2c_dts_ids' MODULE_DEVICE_TABLE(of, hisi_i2c_dts_ids); ^ 6 warnings and 1 error generated. vim +/hisi_i2c_dts_ids +503 drivers/i2c/busses/i2c-hisi.c 502 > 503 MODULE_DEVICE_TABLE(of, hisi_i2c_dts_ids); 504 -- 0-DAY CI Kernel Test Service https://01.org/lkp