From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.15]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id F0C5F14F104; Wed, 9 Apr 2025 02:22:35 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=192.198.163.15 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1744165357; cv=none; b=GfTx1eC06qmc6ljqGFLkFWQwl2EFFYC7lMWj3aGhlzj7xENYrqN8q8Bgci+OAjq4pzQ/HSiRYpPjDegGvC2hvVZdbCa1iTVH6K35KcDuL+bGvc5b+isLfvPqyZR9+p60AtehUKcFYniEjWxaP0cvZMQWu/FVpqLOk8V3YxUcFXc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1744165357; c=relaxed/simple; bh=/xFpigHjeCenOvaIiPeP+K517mAY8qj9sAvIlssbnZ8=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=pN6pcq6LfnXkkQi8LF4uoeUBORw7MUFmNCsdEpkBRTmOF5fFV45iEi69C/7+9isEbiKu2BlLFuL6bX9PzvDnjKLuuHMW3xLK6JFdu0a3a2K0dotQt8OJJtxcCrKZWChggkis4kt8jMzxOM/ObxMYrRR2EVW9LGUxIq0cfEtP3F4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com; spf=pass smtp.mailfrom=intel.com; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b=Oki6Aq2o; arc=none smtp.client-ip=192.198.163.15 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=intel.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="Oki6Aq2o" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1744165356; x=1775701356; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=/xFpigHjeCenOvaIiPeP+K517mAY8qj9sAvIlssbnZ8=; b=Oki6Aq2ooyJLzbSGUeZ/rHx/nedgCtXMsyAYSfLoyxVj9g3yzPhwzmfZ 51+0Af1zEoPRIkT8I7POl2d2LfmKQYdjdgABdN8Lqe0f6JQ7qvD9qByrj F2dxxQ4QSl2krABlXBMcsWIC6qXY7EPayYCpdulphn3wvE3OSF3WTA9gW Dv6TAObZpAdlAkOyJhtO9QNaIpUzf0jt+C4fHD5R/x97ByaW/LObLnOgs tabHJao9Fg7Vu2IQ0E8L/drcbaIkOWM4AN9hnyAoz9+FlWUnLleNxRoaK GRiyxKwVJHL5PA89G7ywyRWEZLeC63gE0Vk4A5qVEYv4uuTs6C8+0Bff3 w==; X-CSE-ConnectionGUID: 8KCK64GZQC20wKNdpRNM5g== X-CSE-MsgGUID: YAh4aI3FRKOBIxihZJ6vig== X-IronPort-AV: E=McAfee;i="6700,10204,11397"; a="45742650" X-IronPort-AV: E=Sophos;i="6.15,199,1739865600"; d="scan'208";a="45742650" Received: from fmviesa009.fm.intel.com ([10.60.135.149]) by fmvoesa109.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 08 Apr 2025 19:22:35 -0700 X-CSE-ConnectionGUID: SFlbZrv7RpeZeZJGlkvwrw== X-CSE-MsgGUID: LGaKhWZNQ66UoLsYYQhIrg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.15,199,1739865600"; d="scan'208";a="129273444" Received: from lkp-server01.sh.intel.com (HELO b207828170a5) ([10.239.97.150]) by fmviesa009.fm.intel.com with ESMTP; 08 Apr 2025 19:22:32 -0700 Received: from kbuild by b207828170a5 with local (Exim 4.96) (envelope-from ) id 1u2L5C-0008Bj-0S; Wed, 09 Apr 2025 02:22:30 +0000 Date: Wed, 9 Apr 2025 10:21:44 +0800 From: kernel test robot To: Sean Anderson , netdev@vger.kernel.org, Andrew Lunn , "David S . Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Russell King Cc: oe-kbuild-all@lists.linux.dev, linux-kernel@vger.kernel.org, upstream@airoha.com, Christian Marangi , Heiner Kallweit , Kory Maincent , Sean Anderson Subject: Re: [net-next PATCH v2 02/14] device property: Add optional nargs_prop for get_reference_args Message-ID: <202504091003.Hc0Ig56O-lkp@intel.com> References: <20250407231746.2316518-3-sean.anderson@linux.dev> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20250407231746.2316518-3-sean.anderson@linux.dev> Hi Sean, kernel test robot noticed the following build errors: [auto build test ERROR on net-next/main] url: https://github.com/intel-lab-lkp/linux/commits/Sean-Anderson/dt-bindings-net-Add-Xilinx-PCS/20250408-072650 base: net-next/main patch link: https://lore.kernel.org/r/20250407231746.2316518-3-sean.anderson%40linux.dev patch subject: [net-next PATCH v2 02/14] device property: Add optional nargs_prop for get_reference_args config: i386-buildonly-randconfig-003-20250409 (https://download.01.org/0day-ci/archive/20250409/202504091003.Hc0Ig56O-lkp@intel.com/config) compiler: gcc-11 (Debian 11.3.0-12) 11.3.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250409/202504091003.Hc0Ig56O-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/202504091003.Hc0Ig56O-lkp@intel.com/ All errors (new ones prefixed by >>): >> drivers/acpi/property.c:1669:39: error: initialization of 'int (*)(const struct fwnode_handle *, const char *, const char *, int, unsigned int, struct fwnode_reference_args *)' from incompatible pointer type 'int (*)(const struct fwnode_handle *, const char *, const char *, unsigned int, unsigned int, struct fwnode_reference_args *)' [-Werror=incompatible-pointer-types] 1669 | .get_reference_args = acpi_fwnode_get_reference_args, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ drivers/acpi/property.c:1680:1: note: in expansion of macro 'DECLARE_ACPI_FWNODE_OPS' 1680 | DECLARE_ACPI_FWNODE_OPS(acpi_device_fwnode_ops); | ^~~~~~~~~~~~~~~~~~~~~~~ drivers/acpi/property.c:1669:39: note: (near initialization for 'acpi_device_fwnode_ops.get_reference_args') 1669 | .get_reference_args = acpi_fwnode_get_reference_args, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ drivers/acpi/property.c:1680:1: note: in expansion of macro 'DECLARE_ACPI_FWNODE_OPS' 1680 | DECLARE_ACPI_FWNODE_OPS(acpi_device_fwnode_ops); | ^~~~~~~~~~~~~~~~~~~~~~~ >> drivers/acpi/property.c:1669:39: error: initialization of 'int (*)(const struct fwnode_handle *, const char *, const char *, int, unsigned int, struct fwnode_reference_args *)' from incompatible pointer type 'int (*)(const struct fwnode_handle *, const char *, const char *, unsigned int, unsigned int, struct fwnode_reference_args *)' [-Werror=incompatible-pointer-types] 1669 | .get_reference_args = acpi_fwnode_get_reference_args, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ drivers/acpi/property.c:1681:1: note: in expansion of macro 'DECLARE_ACPI_FWNODE_OPS' 1681 | DECLARE_ACPI_FWNODE_OPS(acpi_data_fwnode_ops); | ^~~~~~~~~~~~~~~~~~~~~~~ drivers/acpi/property.c:1669:39: note: (near initialization for 'acpi_data_fwnode_ops.get_reference_args') 1669 | .get_reference_args = acpi_fwnode_get_reference_args, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ drivers/acpi/property.c:1681:1: note: in expansion of macro 'DECLARE_ACPI_FWNODE_OPS' 1681 | DECLARE_ACPI_FWNODE_OPS(acpi_data_fwnode_ops); | ^~~~~~~~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors vim +1669 drivers/acpi/property.c 99c63707bafd15 Sakari Ailus 2022-03-31 1650 db3e50f3234ba1 Sakari Ailus 2017-07-21 1651 #define DECLARE_ACPI_FWNODE_OPS(ops) \ db3e50f3234ba1 Sakari Ailus 2017-07-21 1652 const struct fwnode_operations ops = { \ db3e50f3234ba1 Sakari Ailus 2017-07-21 1653 .device_is_available = acpi_fwnode_device_is_available, \ 146b4dbb0eef36 Sinan Kaya 2017-12-13 1654 .device_get_match_data = acpi_fwnode_device_get_match_data, \ 8c756a0a2de17f Sakari Ailus 2022-03-31 1655 .device_dma_supported = \ 8c756a0a2de17f Sakari Ailus 2022-03-31 1656 acpi_fwnode_device_dma_supported, \ 8c756a0a2de17f Sakari Ailus 2022-03-31 1657 .device_get_dma_attr = acpi_fwnode_device_get_dma_attr, \ db3e50f3234ba1 Sakari Ailus 2017-07-21 1658 .property_present = acpi_fwnode_property_present, \ bb3914101f704a Rob Herring (Arm 2025-01-09 1659) .property_read_bool = acpi_fwnode_property_present, \ db3e50f3234ba1 Sakari Ailus 2017-07-21 1660 .property_read_int_array = \ db3e50f3234ba1 Sakari Ailus 2017-07-21 1661 acpi_fwnode_property_read_int_array, \ db3e50f3234ba1 Sakari Ailus 2017-07-21 1662 .property_read_string_array = \ db3e50f3234ba1 Sakari Ailus 2017-07-21 1663 acpi_fwnode_property_read_string_array, \ db3e50f3234ba1 Sakari Ailus 2017-07-21 1664 .get_parent = acpi_node_get_parent, \ db3e50f3234ba1 Sakari Ailus 2017-07-21 1665 .get_next_child_node = acpi_get_next_subnode, \ db3e50f3234ba1 Sakari Ailus 2017-07-21 1666 .get_named_child_node = acpi_fwnode_get_named_child_node, \ bc0500c1e43d95 Sakari Ailus 2019-10-03 1667 .get_name = acpi_fwnode_get_name, \ e7e242bccb209b Sakari Ailus 2019-10-03 1668 .get_name_prefix = acpi_fwnode_get_name_prefix, \ 3e3119d3088f41 Sakari Ailus 2017-07-21 @1669 .get_reference_args = acpi_fwnode_get_reference_args, \ db3e50f3234ba1 Sakari Ailus 2017-07-21 1670 .graph_get_next_endpoint = \ 0ef7478639c516 Sakari Ailus 2018-07-17 1671 acpi_graph_get_next_endpoint, \ db3e50f3234ba1 Sakari Ailus 2017-07-21 1672 .graph_get_remote_endpoint = \ 0ef7478639c516 Sakari Ailus 2018-07-17 1673 acpi_graph_get_remote_endpoint, \ 37ba983cfb47cc Sakari Ailus 2017-07-21 1674 .graph_get_port_parent = acpi_fwnode_get_parent, \ db3e50f3234ba1 Sakari Ailus 2017-07-21 1675 .graph_parse_endpoint = acpi_fwnode_graph_parse_endpoint, \ 99c63707bafd15 Sakari Ailus 2022-03-31 1676 .irq_get = acpi_fwnode_irq_get, \ db3e50f3234ba1 Sakari Ailus 2017-07-21 1677 }; \ db3e50f3234ba1 Sakari Ailus 2017-07-21 1678 EXPORT_SYMBOL_GPL(ops) db3e50f3234ba1 Sakari Ailus 2017-07-21 1679 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki