Received: by 2002:a05:6358:53a8:b0:117:f937:c515 with SMTP id z40csp1075432rwe; Fri, 14 Apr 2023 14:00:30 -0700 (PDT) X-Google-Smtp-Source: AKy350Y8ytptYeHC09w0JIP9KJze73ONQloOb4O/BSCWlSn/pO/jnQPFOgzsXaXywSaIsqt6PPA3 X-Received: by 2002:a17:90b:1244:b0:23f:ebf2:d3e9 with SMTP id gx4-20020a17090b124400b0023febf2d3e9mr6741667pjb.6.1681506029765; Fri, 14 Apr 2023 14:00:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681506029; cv=none; d=google.com; s=arc-20160816; b=WpszKo8c39mtb4h3XbOfI2oNAAPXsS2rLD0NFf7WTeK4Lu4ldphLhKFPvkbrmowoJr q0fxLPqWv1Rf4mwna9V/XFc0TxQYMDIzfSRraxmG363ttBOGPHXXTIcH4gz+D0VdLVWX QHRI8z83M9tukz35ircLg7Z0B7Smc539RBcYR0aC4VFFp4G4oXLlIUHbkChYBmvc/FGd wSC+ZdPhl0eMEKAgMzY08e7I8GD3vQA1c3rijXFtgxGPfLz+7jvoK6608pbTYrlVU3l7 ZAVKRoNHJ5mCP29byf8OoA3GRzVBMRAFO/w2TFgX05aQc8VnR0NtvxEZDbwcLr7RpoXx 7yCg== 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=cY+MrpF4eI5dOzJj64r5o7/dHssVBFcczJiWtEzkyXw=; b=ipj8MREFQeEwzPC7SI5E7Rqb1CMACHqNjkdWds2t7Lu7LKE9d+G0+uqS1pnjMroSde uNv5tVRFQlFmAwIP2B/nKxe8+kmUq6uYS34v5xsXl6mKoYG9lQhZs+Lhd24Paq8T6p5p sMqA6998Y+PmILMKKeF9VwB//iYPKkWIYbFg6Nug5M+Pqx+7JIVynfnEM8yRCRWbfo2m RBMMWYMSbiv5AZjZZapY404iaNH72Ma57jODoxTv4/aR1g64ecy3GfsxpKeqk+91n7h1 ikbOU7sVkZMDI3bw7dYPPPfVlIcEvY3UuMtR6TyqTeXaslgWnEtIjwxB7Y8zDdY6th5T d1VA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=Uy1KNVPM; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-wireless-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 bf9-20020a170902b90900b001a1966c2c33si5184532plb.275.2023.04.14.14.00.18; Fri, 14 Apr 2023 14:00:29 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless-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=Uy1KNVPM; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-wireless-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 S229815AbjDNU5z (ORCPT + 62 others); Fri, 14 Apr 2023 16:57:55 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50582 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229568AbjDNU5y (ORCPT ); Fri, 14 Apr 2023 16:57:54 -0400 Received: from mga17.intel.com (mga17.intel.com [192.55.52.151]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 07E074692 for ; Fri, 14 Apr 2023 13:57:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1681505873; x=1713041873; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=KV7yPUBZJ1mvdV8xkySfZ3z3xLKeVI9ZzUC+s0qeFV4=; b=Uy1KNVPM25rvq2reocp0bDCUEd5//4AnTAt/inhwbHrR0SdPrgbn2Ph4 l3i7qDlzAEindVGZy1d9j8wcxnIqEuqrEvxkzxlRSWQvJa1FYoz32gpCx pHaiOnjUN4Pn0IyDxYnxrB6w6xgNb0yQ/vG9yJ4/8dxpI1NrYAaPuBu6f dtZO+jNlm/h6ome7d6gGVpu/sn0tZJyWfh3AzZz+i0MYr0Jmlsu7x2B20 MIq7xQb8HNOhIUF6pbgs9vLRbMDskB+eLL//9nhLxKO3NC5uxwMJCa0kt 8099uTQ2kU5YGYMtVjThAv8CVYiuLDixqznbmOiL/4foAmUiSO3G4lS8C A==; X-IronPort-AV: E=McAfee;i="6600,9927,10680"; a="324917334" X-IronPort-AV: E=Sophos;i="5.99,198,1677571200"; d="scan'208";a="324917334" Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 14 Apr 2023 13:57:52 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10680"; a="754583157" X-IronPort-AV: E=Sophos;i="5.99,198,1677571200"; d="scan'208";a="754583157" Received: from lkp-server01.sh.intel.com (HELO b613635ddfff) ([10.239.97.150]) by fmsmga008.fm.intel.com with ESMTP; 14 Apr 2023 13:57:50 -0700 Received: from kbuild by b613635ddfff with local (Exim 4.96) (envelope-from ) id 1pnQUP-000Zxo-13; Fri, 14 Apr 2023 20:57:49 +0000 Date: Sat, 15 Apr 2023 04:57:02 +0800 From: kernel test robot To: Maharaja Kennadyrajan , ath11k@lists.infradead.org Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev, linux-wireless@vger.kernel.org, Maharaja Kennadyrajan , Manikanta Pubbisetty , Abinaya Kalaiselvan Subject: Re: [PATCH v2] wifi: ath11k: Add rx histogram stats Message-ID: <202304150445.MrUZP5M4-lkp@intel.com> References: <20230414112603.601199-1-quic_mkenna@quicinc.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230414112603.601199-1-quic_mkenna@quicinc.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-wireless@vger.kernel.org Hi Maharaja, kernel test robot noticed the following build warnings: [auto build test WARNING on kvalo-ath/ath-next] [cannot apply to wireless/main wireless-next/main linus/master v6.3-rc6] [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/Maharaja-Kennadyrajan/wifi-ath11k-Add-rx-histogram-stats/20230414-192912 base: https://git.kernel.org/pub/scm/linux/kernel/git/kvalo/ath.git ath-next patch link: https://lore.kernel.org/r/20230414112603.601199-1-quic_mkenna%40quicinc.com patch subject: [PATCH v2] wifi: ath11k: Add rx histogram stats config: hexagon-randconfig-r041-20230410 (https://download.01.org/0day-ci/archive/20230415/202304150445.MrUZP5M4-lkp@intel.com/config) compiler: clang version 17.0.0 (https://github.com/llvm/llvm-project 9638da200e00bd069e6dd63604e14cbafede9324) 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/8612657f6ce3fd8bd47a5c1b4ca0177e95a647f0 git remote add linux-review https://github.com/intel-lab-lkp/linux git fetch --no-tags linux-review Maharaja-Kennadyrajan/wifi-ath11k-Add-rx-histogram-stats/20230414-192912 git checkout 8612657f6ce3fd8bd47a5c1b4ca0177e95a647f0 # 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 olddefconfig COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=hexagon SHELL=/bin/bash drivers/net/wireless/ath/ath11k/ If you fix the issue, kindly add following tag where applicable | Reported-by: kernel test robot | Link: https://lore.kernel.org/oe-kbuild-all/202304150445.MrUZP5M4-lkp@intel.com/ All warnings (new ones prefixed by >>): In file included from drivers/net/wireless/ath/ath11k/debugfs_sta.c:8: In file included from drivers/net/wireless/ath/ath11k/debugfs_sta.h:9: In file included from include/net/mac80211.h:18: In file included from include/linux/if_ether.h:19: In file included from include/linux/skbuff.h:17: In file included from include/linux/bvec.h:10: In file included from include/linux/highmem.h:12: 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/net/wireless/ath/ath11k/debugfs_sta.c:8: In file included from drivers/net/wireless/ath/ath11k/debugfs_sta.h:9: In file included from include/net/mac80211.h:18: In file included from include/linux/if_ether.h:19: In file included from include/linux/skbuff.h:17: In file included from include/linux/bvec.h:10: In file included from include/linux/highmem.h:12: 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/net/wireless/ath/ath11k/debugfs_sta.c:8: In file included from drivers/net/wireless/ath/ath11k/debugfs_sta.h:9: In file included from include/net/mac80211.h:18: In file included from include/linux/if_ether.h:19: In file included from include/linux/skbuff.h:17: In file included from include/linux/bvec.h:10: In file included from include/linux/highmem.h:12: 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/net/wireless/ath/ath11k/debugfs_sta.c:242:13: warning: no previous prototype for function 'legacy_rate_str' [-Wmissing-prototypes] const char *legacy_rate_str(int legacy_rate_idx) ^ drivers/net/wireless/ath/ath11k/debugfs_sta.c:242:7: note: declare 'static' if the function is not intended to be used outside of this translation unit const char *legacy_rate_str(int legacy_rate_idx) ^ static 7 warnings generated. vim +/legacy_rate_str +242 drivers/net/wireless/ath/ath11k/debugfs_sta.c 241 > 242 const char *legacy_rate_str(int legacy_rate_idx) 243 { 244 switch (legacy_rate_idx) { 245 case 0: 246 return "1Mbps"; 247 case 1: 248 return "2Mbps"; 249 case 2: 250 return "5.5Mbps"; 251 case 3: 252 return "6Mbps"; 253 case 4: 254 return "9Mbps"; 255 case 5: 256 return "11Mbps"; 257 case 6: 258 return "12Mbps"; 259 case 7: 260 return "18Mbps"; 261 case 8: 262 return "18Mbps"; 263 case 9: 264 return "24Mbps"; 265 case 10: 266 return "36Mbps"; 267 case 11: 268 return "48Mbps"; 269 case 12: 270 return "54Mbps"; 271 default: 272 return "invalid legacy rate index"; 273 } 274 } 275 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests