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 kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id 3D7ABC83F25 for ; Thu, 29 Aug 2024 13:46:32 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 9B9006B007B; Thu, 29 Aug 2024 09:46:31 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 941286B0083; Thu, 29 Aug 2024 09:46:31 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 7E1EB6B0085; Thu, 29 Aug 2024 09:46:31 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0012.hostedemail.com [216.40.44.12]) by kanga.kvack.org (Postfix) with ESMTP id 5D6766B007B for ; Thu, 29 Aug 2024 09:46:31 -0400 (EDT) Received: from smtpin16.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay03.hostedemail.com (Postfix) with ESMTP id F2557A0F26 for ; Thu, 29 Aug 2024 13:46:30 +0000 (UTC) X-FDA: 82505407740.16.0210F24 Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.14]) by imf19.hostedemail.com (Postfix) with ESMTP id 56C7A1A000D for ; Thu, 29 Aug 2024 13:46:27 +0000 (UTC) Authentication-Results: imf19.hostedemail.com; dkim=pass header.d=intel.com header.s=Intel header.b=VMiiCNCU; spf=pass (imf19.hostedemail.com: domain of lkp@intel.com designates 192.198.163.14 as permitted sender) smtp.mailfrom=lkp@intel.com; dmarc=pass (policy=none) header.from=intel.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1724939069; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:content-transfer-encoding:in-reply-to: references:dkim-signature; bh=+Zc+331w/V1QyCk6Xz0z8tAxr8G1nrCQ0JZSHryoJ5o=; b=meAMIPVLXoIZEN2Reu82xGYtrMv31udko+50rKDXHbNnPiVyYR/fwIGsLnEYtJ/wfX6Y/L UhKgPXtw+kKSVd+2/xOTgpPYENoOC7eSSkqMxYtghFDbvU6Rj5JHWj8LXGRkrbvYEf5/z1 GCP5DI5nzbmmaJOCyqGBMbMDgseknlA= ARC-Authentication-Results: i=1; imf19.hostedemail.com; dkim=pass header.d=intel.com header.s=Intel header.b=VMiiCNCU; spf=pass (imf19.hostedemail.com: domain of lkp@intel.com designates 192.198.163.14 as permitted sender) smtp.mailfrom=lkp@intel.com; dmarc=pass (policy=none) header.from=intel.com ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1724939069; a=rsa-sha256; cv=none; b=upNWzzfy/CrfqzKic1LwmYybNqspdcxR325dkMwzsgu99AERYs8anb1Jzc1zv91pF7KjXK rRGM3jkJ1msJdKHVqCYk8xmxBq4NOkZf968uG3NQ2I0vqjiI06LdOLOdGEAFUXoDdL47uR 0ATD9jvqMFW1VEH10fF57BPDYFlPz2s= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1724939187; x=1756475187; h=date:from:to:cc:subject:message-id:mime-version; bh=C0pV0ra6gdUolhq25m4X59H0XFGuLIfL9M0hFB9/udc=; b=VMiiCNCUNuMUbaJNZFG/E6x+C+AZJcyz/9WZtwp/4Jpe5tmUImx6GlOI FsidcgPBAKrCF3quXaS9rOtrjOO2kK0qAVSXQjTPSr8Wl8w6UiJD68CRq +fbEYtFsMeUsfoH41mF8xGCvWzmN3/US8nfeYasXsf9idk4gHIki1OJDR MhFotGpYMQynXnvhkHkCH59ncMY0LAHuv7ycnVr+Ux9VsJcGT9b6+Uzdz FJpC4DLpJsdPgxkfdS8/JiG+0OY5iHjobSV+uOKw+CGomiGz77X4FwU5e EoFh4qW7QgyDm4lfwkZsYgn+mGzp56Wflzg3wmTpi1B5+fiblMBmA++Za A==; X-CSE-ConnectionGUID: MjWoWOyQQeackSs3S9FpUg== X-CSE-MsgGUID: +gy5QSTTSRWIdgwvAgD9MA== X-IronPort-AV: E=McAfee;i="6700,10204,11179"; a="23716626" X-IronPort-AV: E=Sophos;i="6.10,185,1719903600"; d="scan'208";a="23716626" Received: from fmviesa004.fm.intel.com ([10.60.135.144]) by fmvoesa108.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 29 Aug 2024 06:46:24 -0700 X-CSE-ConnectionGUID: MmYQAU9eTJSnl3f6rLe6aQ== X-CSE-MsgGUID: sxBnJOzXTrGL3MJk+67HFw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.10,185,1719903600"; d="scan'208";a="68246109" Received: from lkp-server01.sh.intel.com (HELO 9c6b1c7d3b50) ([10.239.97.150]) by fmviesa004.fm.intel.com with ESMTP; 29 Aug 2024 06:46:22 -0700 Received: from kbuild by 9c6b1c7d3b50 with local (Exim 4.96) (envelope-from ) id 1sjfTg-0000KU-2M; Thu, 29 Aug 2024 13:46:20 +0000 Date: Thu, 29 Aug 2024 21:46:12 +0800 From: kernel test robot To: Martyn Welch Cc: oe-kbuild-all@lists.linux.dev, Linux Memory Management List , Mathieu Poirier , Hari Nagalla , Andrew Davis Subject: [linux-next:master 4949/7693] drivers/mailbox/omap-mailbox.c:383:34: warning: unused variable 'omap_mailbox_of_match' Message-ID: <202408292154.19W0R3u3-lkp@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Rspamd-Server: rspam06 X-Rspamd-Queue-Id: 56C7A1A000D X-Stat-Signature: diz8wdgjbou5bf43xqp15emn1kcd1d4d X-Rspam-User: X-HE-Tag: 1724939187-757943 X-HE-Meta: U2FsdGVkX1/Xt9OtxglASgo5jAZd3hVSGs1O7HtfO+lZnBVn+lygTW/bRM5UHg+adqTAo0SdXU2iPur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ZD7uKqbskMHeRN5Uk1JGUXnmtaUDbxQJagibgFhG2mblDQ4KUw8MwZTomxLDPuhiDihHsw1qYlPb/jT/jPCAckcvNYgfCu+hS07RTKiPN+EtOI5AutWMo72yU41MGAJzuCGZeiJDQyNElvKBVG38tNnItNxW3ZJtuwGu2Rn1lp06tYhK0F/QFyn4BJQ0iADKTTpw6SZBhFKsyelu+XbRM9ZWdV4K/wliFstrUJePImPOHDCUJCh9CkbcX+bfcqxaMefkpnJ5kBmmfBsPt0avhymh0auNXQxmRy53CE7f3F/mBmFKJkSBJSY+iWKs/JLTcN4NRiPqM4Ew4ETYNvzJmm75xEN20+GpxCGE/g== X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: List-Subscribe: List-Unsubscribe: tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master head: b18bbfc14a38b5234e09c2adcf713e38063a7e6e commit: ebcf9008a895a2a9416f69e186b56fbade35e12c [4949/7693] remoteproc: k3-m4: Add a remoteproc driver for M4F subsystem config: hexagon-randconfig-r062-20240829 (https://download.01.org/0day-ci/archive/20240829/202408292154.19W0R3u3-lkp@intel.com/config) compiler: clang version 14.0.6 (https://github.com/llvm/llvm-project f28c006a5895fc0e329fe15fead81e37457cb1d1) reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240829/202408292154.19W0R3u3-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/202408292154.19W0R3u3-lkp@intel.com/ All warnings (new ones prefixed by >>): In file included from drivers/mailbox/omap-mailbox.c:12: 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: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] 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] 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/mailbox/omap-mailbox.c:12: 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: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] 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/mailbox/omap-mailbox.c:12: 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: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] __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] __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] __raw_writel((u32 __force)cpu_to_le32(value), PCI_IOBASE + addr); ~~~~~~~~~~ ^ >> drivers/mailbox/omap-mailbox.c:383:34: warning: unused variable 'omap_mailbox_of_match' [-Wunused-const-variable] static const struct of_device_id omap_mailbox_of_match[] = { ^ 7 warnings generated. Kconfig warnings: (for reference only) WARNING: unmet direct dependencies detected for OMAP2PLUS_MBOX Depends on [n]: MAILBOX [=y] && (ARCH_OMAP2PLUS || ARCH_K3) Selected by [y]: - TI_K3_M4_REMOTEPROC [=y] && REMOTEPROC [=y] && (ARCH_K3 || COMPILE_TEST [=y]) vim +/omap_mailbox_of_match +383 drivers/mailbox/omap-mailbox.c ea2ec1e80f78e5f Suman Anna 2018-07-11 382 75288cc66dc478b Suman Anna 2014-09-10 @383 static const struct of_device_id omap_mailbox_of_match[] = { 75288cc66dc478b Suman Anna 2014-09-10 384 { 75288cc66dc478b Suman Anna 2014-09-10 385 .compatible = "ti,omap2-mailbox", ea2ec1e80f78e5f Suman Anna 2018-07-11 386 .data = &omap2_data, 75288cc66dc478b Suman Anna 2014-09-10 387 }, 75288cc66dc478b Suman Anna 2014-09-10 388 { 75288cc66dc478b Suman Anna 2014-09-10 389 .compatible = "ti,omap3-mailbox", ea2ec1e80f78e5f Suman Anna 2018-07-11 390 .data = &omap2_data, 75288cc66dc478b Suman Anna 2014-09-10 391 }, 75288cc66dc478b Suman Anna 2014-09-10 392 { 75288cc66dc478b Suman Anna 2014-09-10 393 .compatible = "ti,omap4-mailbox", ea2ec1e80f78e5f Suman Anna 2018-07-11 394 .data = &omap4_data, 75288cc66dc478b Suman Anna 2014-09-10 395 }, 9c1f2a5dc2948b9 Suman Anna 2019-06-04 396 { 9c1f2a5dc2948b9 Suman Anna 2019-06-04 397 .compatible = "ti,am654-mailbox", 9c1f2a5dc2948b9 Suman Anna 2019-06-04 398 .data = &omap4_data, 9c1f2a5dc2948b9 Suman Anna 2019-06-04 399 }, 595be654b0c23b6 Suman Anna 2021-02-09 400 { 595be654b0c23b6 Suman Anna 2021-02-09 401 .compatible = "ti,am64-mailbox", 595be654b0c23b6 Suman Anna 2021-02-09 402 .data = &omap4_data, 595be654b0c23b6 Suman Anna 2021-02-09 403 }, 75288cc66dc478b Suman Anna 2014-09-10 404 { 75288cc66dc478b Suman Anna 2014-09-10 405 /* end */ 75288cc66dc478b Suman Anna 2014-09-10 406 }, 75288cc66dc478b Suman Anna 2014-09-10 407 }; 75288cc66dc478b Suman Anna 2014-09-10 408 MODULE_DEVICE_TABLE(of, omap_mailbox_of_match); 75288cc66dc478b Suman Anna 2014-09-10 409 :::::: The code at line 383 was first introduced by commit :::::: 75288cc66dc478b32e43970dd6913396526504ae mailbox/omap: add support for parsing dt devices :::::: TO: Suman Anna :::::: CC: Tony Lindgren -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki