Received: by 2002:a05:6358:bb9e:b0:b9:5105:a5b4 with SMTP id df30csp5764583rwb; Wed, 7 Sep 2022 07:42:04 -0700 (PDT) X-Google-Smtp-Source: AA6agR5/zOLHie2UZ0hceib5RZDymkQ6sLSGiibjvWXawKzBXYHOe96fuU81oBnXlUw8EPn5ll42 X-Received: by 2002:a17:90b:3b52:b0:1fe:2ee2:e341 with SMTP id ot18-20020a17090b3b5200b001fe2ee2e341mr31376122pjb.231.1662561723973; Wed, 07 Sep 2022 07:42:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1662561723; cv=none; d=google.com; s=arc-20160816; b=SDd05u6NGpWBfSwCVz5fnbcpyYvP8CqXbyq2D8zX1hdSso5N5aZ6ABkzZXI6qN+I/T A37YatdHXIMxlyZvg4p+yd77UMYC0RCdOId8CsdKS/yJJ4QQIFbsZ74j35Z74Dzq/KRl ODdxJ0efrXCFTunQPjdhBuRHZDz2WweyRVeMHqdFZBC4+XFpRAP3NoNM6zhgAtYCoQ9o e1m9wbmTuXtdWaKKv9xVftMJhUMlLfYVa1I/xhqUU0l1fDZmEVgJPaMvF2bv7xNPiUAa RyxBnaazMuMC4LxcMiAvxx9wbBJphCJHSpqnNlOQqT0pqE758Cl+hx/LHknLSFQQtllb QGjw== 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=7hLTH7Id+slwxOVy3+3FgSPKhNElXuDxOWZiuRMqye0=; b=aAeZODz5+xPQEk8eIHSeJmVW3tMGbs4RJ9s/q9gsI7KMq2ecp0Y2jWJX/hCcTv5JnA 1qiHgJkvtUPSSINxjHC04atZL1pax/QHYrNIF8yWs2qP2lvwqEZlC+NZmKKxEfUW5UR2 VEW3Ce4zXK9ZrmCI1O2bD2v1tvGUBs9qbxluLbQawX5owV0B4WnK/KxZCmXJAWAtv1nm 4ftfbe+jg0SrKh2CLzVqHv92ykChj46ZY/EPtxGU6bfFJQZtKarlb5Fl1/4nDtegWZZ0 3dNLLWWt095fx5jZ/mApTlsKKcVk2OzZfoD/bhWbPpGY/vHjEjrpuWAyhck55+AEEf+u vyYA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=CBNLQ7+w; 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 f10-20020a63de0a000000b0042b6d31e08csi3661644pgg.11.2022.09.07.07.41.52; Wed, 07 Sep 2022 07:42:03 -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=CBNLQ7+w; 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 S230091AbiIGOTa (ORCPT + 99 others); Wed, 7 Sep 2022 10:19:30 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48800 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229608AbiIGOT2 (ORCPT ); Wed, 7 Sep 2022 10:19:28 -0400 Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DABB2B18; Wed, 7 Sep 2022 07:19:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1662560364; x=1694096364; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=mb8iuybAB+Ow3ntbR/Nt2puuaVdPIstTH2e0zbuav8E=; b=CBNLQ7+wj95L9RjUX/21TY4bobgtI1XIozjPhuAmRTc4UWkoKh94d7OM 6Vq9S4kyOAlQh5wh7clX4fgOOMy63h6/NUnr9WcQ4G4G1H56vQNDIogEk XbVUZSmyrFckd/ZpAAEZs9dRoOksp/Bh5JtW8XcjAQl8FI/uWi45CqDKu PFWaPrGPaEWnMMqRY0i6CVyOu5HVHSM9P+EyCy7CyJpnynOXaDN3Paj/c P4J1gVIXpHjaDG/CpjLC9xqg6ruoH4pqPgha6OvbQJFiZp56ZOICzn4VA mfLzVu+AUhCOriAK70n98L9FXtwfRGhNsDN7Z7x7/+L7Dnd3TbI/XJVYG A==; X-IronPort-AV: E=McAfee;i="6500,9779,10462"; a="383178126" X-IronPort-AV: E=Sophos;i="5.93,297,1654585200"; d="scan'208";a="383178126" Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 07 Sep 2022 07:19:22 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.93,297,1654585200"; d="scan'208";a="682822800" Received: from lkp-server02.sh.intel.com (HELO 95dfd251caa2) ([10.239.97.151]) by fmsmga004.fm.intel.com with ESMTP; 07 Sep 2022 07:19:18 -0700 Received: from kbuild by 95dfd251caa2 with local (Exim 4.96) (envelope-from ) id 1oVvte-0006eH-0A; Wed, 07 Sep 2022 14:19:18 +0000 Date: Wed, 7 Sep 2022 22:18:24 +0800 From: kernel test robot To: Richard Acayan , bjorn.andersson@linaro.org Cc: llvm@lists.linux.dev, kbuild-all@lists.01.org, agross@kernel.org, konrad.dybcio@somainline.org, mturquette@baylibre.com, sboyd@kernel.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, tdas@codeaurora.org, linux-arm-msm@vger.kernel.org, linux-clk@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, ~postmarketos/upstreaming@lists.sr.ht, caleb@connolly.tech, jo@jsfamily.in, Richard Acayan Subject: Re: [PATCH 3/3] clk: qcom: gcc-sdm845: add sdm670 global clock data Message-ID: <202209072255.CLVCZ5HY-lkp@intel.com> References: <20220907025035.15609-4-mailingradian@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220907025035.15609-4-mailingradian@gmail.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 Richard, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on clk/clk-next] [also build test WARNING on linus/master v6.0-rc4] [cannot apply to next-20220906] [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/Richard-Acayan/SDM670-Global-Clocks/20220907-105158 base: https://git.kernel.org/pub/scm/linux/kernel/git/clk/linux.git clk-next config: riscv-randconfig-r031-20220906 (https://download.01.org/0day-ci/archive/20220907/202209072255.CLVCZ5HY-lkp@intel.com/config) compiler: clang version 16.0.0 (https://github.com/llvm/llvm-project c55b41d5199d2394dd6cdb8f52180d8b81d809d4) 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 riscv cross compiling tool for clang build # apt-get install binutils-riscv64-linux-gnu # https://github.com/intel-lab-lkp/linux/commit/bfed597346daad9f2f2a30c553c855fbefc1fe7e git remote add linux-review https://github.com/intel-lab-lkp/linux git fetch --no-tags linux-review Richard-Acayan/SDM670-Global-Clocks/20220907-105158 git checkout bfed597346daad9f2f2a30c553c855fbefc1fe7e # 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=riscv SHELL=/bin/bash drivers/clk/qcom/ net/mptcp/ If you fix the issue, kindly add following tag where applicable Reported-by: kernel test robot All warnings (new ones prefixed by >>): In file included from drivers/clk/qcom/gcc-sdm845.c:14: In file included from include/linux/regmap.h:20: In file included from include/linux/iopoll.h:14: In file included from include/linux/io.h:13: In file included from arch/riscv/include/asm/io.h:136: 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/clk/qcom/gcc-sdm845.c:14: In file included from include/linux/regmap.h:20: In file included from include/linux/iopoll.h:14: In file included from include/linux/io.h:13: In file included from arch/riscv/include/asm/io.h:136: 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/clk/qcom/gcc-sdm845.c:14: In file included from include/linux/regmap.h:20: In file included from include/linux/iopoll.h:14: In file included from include/linux/io.h:13: In file included from arch/riscv/include/asm/io.h:136: 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); ~~~~~~~~~~ ^ include/asm-generic/io.h:1134:55: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic] return (port > MMIO_UPPER_LIMIT) ? NULL : PCI_IOBASE + port; ~~~~~~~~~~ ^ drivers/clk/qcom/gcc-sdm845.c:3619:29: warning: initializer overrides prior initialization of this subobject [-Winitializer-overrides] [GCC_SDCC1_ICE_CORE_CLK] = &gcc_sdcc1_ice_core_clk_src.clkr, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ drivers/clk/qcom/gcc-sdm845.c:3618:29: note: previous initialization is here [GCC_SDCC1_ICE_CORE_CLK] = &gcc_sdcc1_ice_core_clk.clkr, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ >> drivers/clk/qcom/gcc-sdm845.c:268:30: warning: unused variable 'ftbl_gcc_sdm670_cpuss_rbcpr_clk_src' [-Wunused-const-variable] static const struct freq_tbl ftbl_gcc_sdm670_cpuss_rbcpr_clk_src[] = { ^ 9 warnings generated. vim +/ftbl_gcc_sdm670_cpuss_rbcpr_clk_src +268 drivers/clk/qcom/gcc-sdm845.c 267 > 268 static const struct freq_tbl ftbl_gcc_sdm670_cpuss_rbcpr_clk_src[] = { 269 F(19200000, P_BI_TCXO, 1, 0, 0), 270 F(50000000, P_GPLL0_OUT_MAIN, 12, 0, 0), 271 { } 272 }; 273 -- 0-DAY CI Kernel Test Service https://01.org/lkp