From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id CDD3FD1F9C5 for ; Tue, 15 Oct 2024 20:48:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:In-Reply-To:Content-Type: MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=GQztHC3fLzdhsMIZsuebDwjzJTgDsORWo+1CCNwGDhA=; b=bHEIF7taQF/9n0n3VMy3EHQ4iO b2J4AUsPyq51NF/GD+2QAALzlOd1picGcRRPAqi5w7EsgkX5l/ilc50joWetostwv+lyYaYmC/xFi /8zgNSmIUmsfgrgZdRRa5c6sRNHfi1xQDvG2l63KUobnt22eIp1dGbe13j89hyS7AA2lHftripev6 UksrfyBrhEEkQKAHnOD6arTB5C7XHvpGf3b7fHGnHLY9kzQAdGtVFxNfMtiFpyDX2zde3L3AVnCOW aC8v7KyRYc64LqmCCI3ud0LxRpmwAjZDt6PnotpcCWaRYxfuwHjDrq1qPPm5ZFgyk0zhfjlQfaSqT yXGeu4FQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1t0oSr-00000009Xw2-2rSX; Tue, 15 Oct 2024 20:48:21 +0000 Received: from mgamail.intel.com ([192.198.163.9]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1t0oRR-00000009XrU-2ggu for linux-arm-kernel@lists.infradead.org; Tue, 15 Oct 2024 20:46:55 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1729025213; x=1760561213; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=j3GtmwhKFyJfeeyHi+++6iBfpxuD/xvW8TWBFyVPnsk=; b=aqo+bFd9/jhdPghTj9pAFT3NDK4p79BAi0BwVBEMBOEwi6kATjfvixNj mgdyIn0Cax47e7xyiaq3vLJmFxL1neRdx+SDot/8pA0e10gKeZuLfgCuq vRbxX3YYkI4c5kKGVvXCSx7nJzIA9F95izpYI9/bv3IIsVFMQO423LPVW JQiCB5NXcrGVTxb0Z7Dohhd8iar0o/duu9a+IE3RoTQlaSCCudVsTVdFL OQ9Om5Uyufrudvfbz2GA/zno1zOQxuNFCsgoWnPRA2gWanqT/SNAwPCfU XBG4EuEC/EfrjAQgwMcXJCWjcKI6ImeXcOHf7SznvQek1OO0ql/YLXDGL w==; X-CSE-ConnectionGUID: OxM4hgxDSJS9vO+MjkKJcg== X-CSE-MsgGUID: U+rE3K7UR8+7DWMDgnMzfQ== X-IronPort-AV: E=McAfee;i="6700,10204,11225"; a="39078689" X-IronPort-AV: E=Sophos;i="6.11,206,1725346800"; d="scan'208";a="39078689" Received: from orviesa003.jf.intel.com ([10.64.159.143]) by fmvoesa103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 15 Oct 2024 13:46:52 -0700 X-CSE-ConnectionGUID: WDAobR3nTzqwxv22AgNFzw== X-CSE-MsgGUID: vgqutLJFRCuptDVHZpbwCQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.11,199,1725346800"; d="scan'208";a="82814929" Received: from lkp-server01.sh.intel.com (HELO a48cf1aa22e8) ([10.239.97.150]) by orviesa003.jf.intel.com with ESMTP; 15 Oct 2024 13:46:50 -0700 Received: from kbuild by a48cf1aa22e8 with local (Exim 4.96) (envelope-from ) id 1t0oRL-000JvP-1H; Tue, 15 Oct 2024 20:46:47 +0000 Date: Wed, 16 Oct 2024 04:46:32 +0800 From: kernel test robot To: Andrew Davis , Jassi Brar , Arnd Bergmann , Bjorn Andersson , Mathieu Poirier , Martyn Welch , Hari Nagalla Cc: oe-kbuild-all@lists.linux.dev, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Andrew Davis Subject: Re: [PATCH 2/2] mailbox: ti-msgmgr: Allow building under COMPILE_TEST Message-ID: <202410160435.WzzQa1p5-lkp@intel.com> References: <20241014144821.15094-3-afd@ti.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20241014144821.15094-3-afd@ti.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20241015_134653_726778_7799B53D X-CRM114-Status: GOOD ( 13.61 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Hi Andrew, kernel test robot noticed the following build warnings: [auto build test WARNING on soc/for-next] [also build test WARNING on linus/master v6.12-rc3 next-20241015] [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/Andrew-Davis/mailbox-ti-msgmgr-Remove-use-of-of_match_ptr-helper/20241014-225353 base: https://git.kernel.org/pub/scm/linux/kernel/git/soc/soc.git for-next patch link: https://lore.kernel.org/r/20241014144821.15094-3-afd%40ti.com patch subject: [PATCH 2/2] mailbox: ti-msgmgr: Allow building under COMPILE_TEST config: hexagon-randconfig-r131-20241015 (https://download.01.org/0day-ci/archive/20241016/202410160435.WzzQa1p5-lkp@intel.com/config) compiler: clang version 20.0.0git (https://github.com/llvm/llvm-project 70e0a7e7e6a8541bcc46908c592eed561850e416) reproduce: (https://download.01.org/0day-ci/archive/20241016/202410160435.WzzQa1p5-lkp@intel.com/reproduce) If you fix the issue in a separate patch/commit (i.e. not just a new version of the same patch/commit), kindly add following tags | Reported-by: kernel test robot | Closes: https://lore.kernel.org/oe-kbuild-all/202410160435.WzzQa1p5-lkp@intel.com/ All warnings (new ones prefixed by >>): In file included from drivers/firmware/ti_sci.c:14: In file included from include/linux/io.h:14: In file included from arch/hexagon/include/asm/io.h:328: include/asm-generic/io.h:548:31: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic] 548 | val = __raw_readb(PCI_IOBASE + addr); | ~~~~~~~~~~ ^ include/asm-generic/io.h:561:61: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic] 561 | 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' 37 | #define __le16_to_cpu(x) ((__force __u16)(__le16)(x)) | ^ In file included from drivers/firmware/ti_sci.c:14: In file included from include/linux/io.h:14: In file included from arch/hexagon/include/asm/io.h:328: include/asm-generic/io.h:574:61: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic] 574 | 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' 35 | #define __le32_to_cpu(x) ((__force __u32)(__le32)(x)) | ^ In file included from drivers/firmware/ti_sci.c:14: In file included from include/linux/io.h:14: In file included from arch/hexagon/include/asm/io.h:328: include/asm-generic/io.h:585:33: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic] 585 | __raw_writeb(value, PCI_IOBASE + addr); | ~~~~~~~~~~ ^ include/asm-generic/io.h:595:59: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic] 595 | __raw_writew((u16 __force)cpu_to_le16(value), PCI_IOBASE + addr); | ~~~~~~~~~~ ^ include/asm-generic/io.h:605:59: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic] 605 | __raw_writel((u32 __force)cpu_to_le32(value), PCI_IOBASE + addr); | ~~~~~~~~~~ ^ drivers/firmware/ti_sci.c:200:20: warning: unused function 'ti_sci_debugfs_destroy' [-Wunused-function] 200 | static inline void ti_sci_debugfs_destroy(struct platform_device *dev, | ^~~~~~~~~~~~~~~~~~~~~~ >> drivers/firmware/ti_sci.c:3285:34: warning: unused variable 'ti_sci_of_match' [-Wunused-const-variable] 3285 | static const struct of_device_id ti_sci_of_match[] = { | ^~~~~~~~~~~~~~~ 8 warnings generated. vim +/ti_sci_of_match +3285 drivers/firmware/ti_sci.c aa276781a64a5f Nishanth Menon 2016-10-18 3284 aa276781a64a5f Nishanth Menon 2016-10-18 @3285 static const struct of_device_id ti_sci_of_match[] = { aa276781a64a5f Nishanth Menon 2016-10-18 3286 {.compatible = "ti,k2g-sci", .data = &ti_sci_pmmc_k2g_desc}, 754c9477ae7872 Peter Ujfalusi 2019-04-30 3287 {.compatible = "ti,am654-sci", .data = &ti_sci_pmmc_am654_desc}, aa276781a64a5f Nishanth Menon 2016-10-18 3288 { /* Sentinel */ }, aa276781a64a5f Nishanth Menon 2016-10-18 3289 }; aa276781a64a5f Nishanth Menon 2016-10-18 3290 MODULE_DEVICE_TABLE(of, ti_sci_of_match); aa276781a64a5f Nishanth Menon 2016-10-18 3291 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki