From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.13]) (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 9D34C79D2 for ; Thu, 27 Mar 2025 03:04:37 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=192.198.163.13 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1743044679; cv=none; b=sBAyqGPOxS/ZU47YaAzmg2WjjFECe8HQQ/1f8X3Nn3okoNU1E0Yc+f55PAEcs+aBteoWj0s4guVBh6FzalzoCgOb8fOQIO3Yoonr/3odazw9XG9f9dER/XH9HrwmcpeVyfPyZvjvxXstoRUKxDEXfrdkLpfLPok7OJaEjAgjuOY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1743044679; c=relaxed/simple; bh=q4GLwDOeo5KNYERKi6ouCJQQtdJK+5y6QPLzxMf0jM0=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=iZ3UfNC5FtzoL1+jYVa2Wg7d4yy1zjVRUDo/eIkCHhPISorBDhpDJMN0kcjt3AOALikD6P64TMrFcJih0jYq3cXvsFo6Rlh7GcwH5h+K3tHOUiZzcItS6yS9en17kXHfgz7g7tWRIStNvnvwLcYtlxhyAUocBzUdJ4+6ryC5R3o= 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=K8kkSHLZ; arc=none smtp.client-ip=192.198.163.13 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="K8kkSHLZ" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1743044677; x=1774580677; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=q4GLwDOeo5KNYERKi6ouCJQQtdJK+5y6QPLzxMf0jM0=; b=K8kkSHLZ18smiZqs3HJoeu3Ff3xYVK7o38MFhPgScf1txcQm768oi72P bC5kD7a7WOPQyApLfL2IP/nanT2bWDibEoCYuVBA2PnZOe61C6HBUrrEa XCUxAZT+MFHN3LN0JWbOnhSZMlk/u8rM+q6o9WfYIw9vY69mYs2LBDXP1 h3JqmocJbPhnKevP7U31jSPGV8plE6TjJFlmoF/JEHi+BxQkwaeY6m49g 89Za7QrobIbORhMo7mJ4v74l8//GxU8gk0YXl+iuYe32OFPx9JpMyqLBk Nd0MsKwHoLLYt9d98hs0is3MgW1jYG3egZMWrVYFSg1Nr/BBve89a6ABk w==; X-CSE-ConnectionGUID: f1U1ETh4S5OBL+qlUljcSg== X-CSE-MsgGUID: Dsqku2WrRgmw1VSsIUVsmA== X-IronPort-AV: E=McAfee;i="6700,10204,11385"; a="47095671" X-IronPort-AV: E=Sophos;i="6.14,279,1736841600"; d="scan'208";a="47095671" Received: from orviesa001.jf.intel.com ([10.64.159.141]) by fmvoesa107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 26 Mar 2025 20:04:36 -0700 X-CSE-ConnectionGUID: gAvOjfvhQ9W+KmjYdM/wXw== X-CSE-MsgGUID: mfwCHzOqRcO+Ua0o0Hgtqg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.14,279,1736841600"; d="scan'208";a="162240382" Received: from lkp-server02.sh.intel.com (HELO e98e3655d6d2) ([10.239.97.151]) by orviesa001.jf.intel.com with ESMTP; 26 Mar 2025 20:04:36 -0700 Received: from kbuild by e98e3655d6d2 with local (Exim 4.96) (envelope-from ) id 1txdXl-0006J9-1X; Thu, 27 Mar 2025 03:04:33 +0000 Date: Thu, 27 Mar 2025 11:03:36 +0800 From: kernel test robot To: Christian Marangi Cc: oe-kbuild-all@lists.linux.dev Subject: Re: [net-next RFC PATCH v3 1/4] net: phy: pass PHY driver to .match_phy_device OP Message-ID: <202503271003.WFfVO8fF-lkp@intel.com> References: <20250326233512.17153-2-ansuelsmth@gmail.com> Precedence: bulk X-Mailing-List: oe-kbuild-all@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20250326233512.17153-2-ansuelsmth@gmail.com> Hi Christian, [This is a private test report for your RFC patch.] 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/Christian-Marangi/net-phy-pass-PHY-driver-to-match_phy_device-OP/20250327-073812 base: net-next/main patch link: https://lore.kernel.org/r/20250326233512.17153-2-ansuelsmth%40gmail.com patch subject: [net-next RFC PATCH v3 1/4] net: phy: pass PHY driver to .match_phy_device OP config: um-randconfig-002-20250327 (https://download.01.org/0day-ci/archive/20250327/202503271003.WFfVO8fF-lkp@intel.com/config) compiler: gcc-12 (Debian 12.2.0-14) 12.2.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250327/202503271003.WFfVO8fF-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/202503271003.WFfVO8fF-lkp@intel.com/ All errors (new ones prefixed by >>): >> drivers/net/phy/nxp-c45-tja11xx.c:2089:43: error: initialization of 'int (*)(struct phy_device *, const struct phy_driver *)' from incompatible pointer type 'int (*)(struct phy_device *)' [-Werror=incompatible-pointer-types] 2089 | .match_phy_device = tja1103_match_phy_device, | ^~~~~~~~~~~~~~~~~~~~~~~~ drivers/net/phy/nxp-c45-tja11xx.c:2089:43: note: (near initialization for 'nxp_c45_driver[0].match_phy_device') drivers/net/phy/nxp-c45-tja11xx.c:2113:43: error: initialization of 'int (*)(struct phy_device *, const struct phy_driver *)' from incompatible pointer type 'int (*)(struct phy_device *)' [-Werror=incompatible-pointer-types] 2113 | .match_phy_device = tja1104_match_phy_device, | ^~~~~~~~~~~~~~~~~~~~~~~~ drivers/net/phy/nxp-c45-tja11xx.c:2113:43: note: (near initialization for 'nxp_c45_driver[1].match_phy_device') drivers/net/phy/nxp-c45-tja11xx.c:2138:43: error: initialization of 'int (*)(struct phy_device *, const struct phy_driver *)' from incompatible pointer type 'int (*)(struct phy_device *)' [-Werror=incompatible-pointer-types] 2138 | .match_phy_device = tja1120_match_phy_device, | ^~~~~~~~~~~~~~~~~~~~~~~~ drivers/net/phy/nxp-c45-tja11xx.c:2138:43: note: (near initialization for 'nxp_c45_driver[2].match_phy_device') drivers/net/phy/nxp-c45-tja11xx.c:2163:43: error: initialization of 'int (*)(struct phy_device *, const struct phy_driver *)' from incompatible pointer type 'int (*)(struct phy_device *)' [-Werror=incompatible-pointer-types] 2163 | .match_phy_device = tja1121_match_phy_device, | ^~~~~~~~~~~~~~~~~~~~~~~~ drivers/net/phy/nxp-c45-tja11xx.c:2163:43: note: (near initialization for 'nxp_c45_driver[3].match_phy_device') cc1: some warnings being treated as errors vim +2089 drivers/net/phy/nxp-c45-tja11xx.c f1fe5dff2b8aa8 Radu Pirea (NXP OSS 2023-07-31 2065) b050f2f15e04f0 Radu Pirea (NXP OSS 2021-04-19 2066) static struct phy_driver nxp_c45_driver[] = { b050f2f15e04f0 Radu Pirea (NXP OSS 2021-04-19 2067) { b050f2f15e04f0 Radu Pirea (NXP OSS 2021-04-19 2068) .name = "NXP C45 TJA1103", 369da333569eb8 Radu Pirea (NXP OSS 2023-07-31 2069) .get_features = nxp_c45_get_features, 6c0c85da044e92 Radu Pirea (NXP OSS 2023-07-31 2070) .driver_data = &tja1103_phy_data, b050f2f15e04f0 Radu Pirea (NXP OSS 2021-04-19 2071) .probe = nxp_c45_probe, b050f2f15e04f0 Radu Pirea (NXP OSS 2021-04-19 2072) .soft_reset = nxp_c45_soft_reset, ac0687e821cffa Radu Pirea (NXP OSS 2023-07-31 2073) .config_aneg = genphy_c45_config_aneg, b050f2f15e04f0 Radu Pirea (NXP OSS 2021-04-19 2074) .config_init = nxp_c45_config_init, 425c8348df7b86 Radu Pirea (NXP OSS 2023-07-31 2075) .config_intr = tja1103_config_intr, b2f0ca00e6b34b Radu Pirea (NXP OSS 2021-04-23 2076) .handle_interrupt = nxp_c45_handle_interrupt, ac0687e821cffa Radu Pirea (NXP OSS 2023-07-31 2077) .read_status = genphy_c45_read_status, b050f2f15e04f0 Radu Pirea (NXP OSS 2021-04-19 2078) .suspend = genphy_c45_pma_suspend, b050f2f15e04f0 Radu Pirea (NXP OSS 2021-04-19 2079) .resume = genphy_c45_pma_resume, b050f2f15e04f0 Radu Pirea (NXP OSS 2021-04-19 2080) .get_sset_count = nxp_c45_get_sset_count, b050f2f15e04f0 Radu Pirea (NXP OSS 2021-04-19 2081) .get_strings = nxp_c45_get_strings, b050f2f15e04f0 Radu Pirea (NXP OSS 2021-04-19 2082) .get_stats = nxp_c45_get_stats, b050f2f15e04f0 Radu Pirea (NXP OSS 2021-04-19 2083) .cable_test_start = nxp_c45_cable_test_start, b050f2f15e04f0 Radu Pirea (NXP OSS 2021-04-19 2084) .cable_test_get_status = nxp_c45_cable_test_get_status, b050f2f15e04f0 Radu Pirea (NXP OSS 2021-04-19 2085) .set_loopback = genphy_c45_loopback, b050f2f15e04f0 Radu Pirea (NXP OSS 2021-04-19 2086) .get_sqi = nxp_c45_get_sqi, b050f2f15e04f0 Radu Pirea (NXP OSS 2021-04-19 2087) .get_sqi_max = nxp_c45_get_sqi_max, a4506722dc39ca Radu Pirea (OSS 2023-04-06 2088) .remove = nxp_c45_remove, a06a868a0cd96b Andrei Botila 2025-02-28 @2089 .match_phy_device = tja1103_match_phy_device, a06a868a0cd96b Andrei Botila 2025-02-28 2090 }, a06a868a0cd96b Andrei Botila 2025-02-28 2091 { a06a868a0cd96b Andrei Botila 2025-02-28 2092 .name = "NXP C45 TJA1104", a06a868a0cd96b Andrei Botila 2025-02-28 2093 .get_features = nxp_c45_get_features, a06a868a0cd96b Andrei Botila 2025-02-28 2094 .driver_data = &tja1103_phy_data, a06a868a0cd96b Andrei Botila 2025-02-28 2095 .probe = nxp_c45_probe, a06a868a0cd96b Andrei Botila 2025-02-28 2096 .soft_reset = nxp_c45_soft_reset, a06a868a0cd96b Andrei Botila 2025-02-28 2097 .config_aneg = genphy_c45_config_aneg, a06a868a0cd96b Andrei Botila 2025-02-28 2098 .config_init = nxp_c45_config_init, a06a868a0cd96b Andrei Botila 2025-02-28 2099 .config_intr = tja1103_config_intr, a06a868a0cd96b Andrei Botila 2025-02-28 2100 .handle_interrupt = nxp_c45_handle_interrupt, a06a868a0cd96b Andrei Botila 2025-02-28 2101 .read_status = genphy_c45_read_status, a06a868a0cd96b Andrei Botila 2025-02-28 2102 .suspend = genphy_c45_pma_suspend, a06a868a0cd96b Andrei Botila 2025-02-28 2103 .resume = genphy_c45_pma_resume, a06a868a0cd96b Andrei Botila 2025-02-28 2104 .get_sset_count = nxp_c45_get_sset_count, a06a868a0cd96b Andrei Botila 2025-02-28 2105 .get_strings = nxp_c45_get_strings, a06a868a0cd96b Andrei Botila 2025-02-28 2106 .get_stats = nxp_c45_get_stats, a06a868a0cd96b Andrei Botila 2025-02-28 2107 .cable_test_start = nxp_c45_cable_test_start, a06a868a0cd96b Andrei Botila 2025-02-28 2108 .cable_test_get_status = nxp_c45_cable_test_get_status, a06a868a0cd96b Andrei Botila 2025-02-28 2109 .set_loopback = genphy_c45_loopback, a06a868a0cd96b Andrei Botila 2025-02-28 2110 .get_sqi = nxp_c45_get_sqi, a06a868a0cd96b Andrei Botila 2025-02-28 2111 .get_sqi_max = nxp_c45_get_sqi_max, a06a868a0cd96b Andrei Botila 2025-02-28 2112 .remove = nxp_c45_remove, a06a868a0cd96b Andrei Botila 2025-02-28 2113 .match_phy_device = tja1104_match_phy_device, b050f2f15e04f0 Radu Pirea (NXP OSS 2021-04-19 2114) }, f1fe5dff2b8aa8 Radu Pirea (NXP OSS 2023-07-31 2115) { f1fe5dff2b8aa8 Radu Pirea (NXP OSS 2023-07-31 2116) .name = "NXP C45 TJA1120", f1fe5dff2b8aa8 Radu Pirea (NXP OSS 2023-07-31 2117) .get_features = nxp_c45_get_features, f1fe5dff2b8aa8 Radu Pirea (NXP OSS 2023-07-31 2118) .driver_data = &tja1120_phy_data, f1fe5dff2b8aa8 Radu Pirea (NXP OSS 2023-07-31 2119) .probe = nxp_c45_probe, f1fe5dff2b8aa8 Radu Pirea (NXP OSS 2023-07-31 2120) .soft_reset = nxp_c45_soft_reset, f1fe5dff2b8aa8 Radu Pirea (NXP OSS 2023-07-31 2121) .config_aneg = genphy_c45_config_aneg, f1fe5dff2b8aa8 Radu Pirea (NXP OSS 2023-07-31 2122) .config_init = nxp_c45_config_init, 425c8348df7b86 Radu Pirea (NXP OSS 2023-07-31 2123) .config_intr = tja1120_config_intr, f1fe5dff2b8aa8 Radu Pirea (NXP OSS 2023-07-31 2124) .handle_interrupt = nxp_c45_handle_interrupt, f1fe5dff2b8aa8 Radu Pirea (NXP OSS 2023-07-31 2125) .read_status = genphy_c45_read_status, 68c6af72047ca7 Radu Pirea (NXP OSS 2023-07-31 2126) .link_change_notify = tja1120_link_change_notify, f1fe5dff2b8aa8 Radu Pirea (NXP OSS 2023-07-31 2127) .suspend = genphy_c45_pma_suspend, f1fe5dff2b8aa8 Radu Pirea (NXP OSS 2023-07-31 2128) .resume = genphy_c45_pma_resume, f1fe5dff2b8aa8 Radu Pirea (NXP OSS 2023-07-31 2129) .get_sset_count = nxp_c45_get_sset_count, f1fe5dff2b8aa8 Radu Pirea (NXP OSS 2023-07-31 2130) .get_strings = nxp_c45_get_strings, f1fe5dff2b8aa8 Radu Pirea (NXP OSS 2023-07-31 2131) .get_stats = nxp_c45_get_stats, f1fe5dff2b8aa8 Radu Pirea (NXP OSS 2023-07-31 2132) .cable_test_start = nxp_c45_cable_test_start, f1fe5dff2b8aa8 Radu Pirea (NXP OSS 2023-07-31 2133) .cable_test_get_status = nxp_c45_cable_test_get_status, f1fe5dff2b8aa8 Radu Pirea (NXP OSS 2023-07-31 2134) .set_loopback = genphy_c45_loopback, f1fe5dff2b8aa8 Radu Pirea (NXP OSS 2023-07-31 2135) .get_sqi = nxp_c45_get_sqi, f1fe5dff2b8aa8 Radu Pirea (NXP OSS 2023-07-31 2136) .get_sqi_max = nxp_c45_get_sqi_max, f1fe5dff2b8aa8 Radu Pirea (NXP OSS 2023-07-31 2137) .remove = nxp_c45_remove, 7215e9375694db Andrei Botila 2025-02-28 2138 .match_phy_device = tja1120_match_phy_device, 7215e9375694db Andrei Botila 2025-02-28 2139 }, 7215e9375694db Andrei Botila 2025-02-28 2140 { 7215e9375694db Andrei Botila 2025-02-28 2141 .name = "NXP C45 TJA1121", 7215e9375694db Andrei Botila 2025-02-28 2142 .get_features = nxp_c45_get_features, 7215e9375694db Andrei Botila 2025-02-28 2143 .driver_data = &tja1120_phy_data, 7215e9375694db Andrei Botila 2025-02-28 2144 .probe = nxp_c45_probe, 7215e9375694db Andrei Botila 2025-02-28 2145 .soft_reset = nxp_c45_soft_reset, 7215e9375694db Andrei Botila 2025-02-28 2146 .config_aneg = genphy_c45_config_aneg, 7215e9375694db Andrei Botila 2025-02-28 2147 .config_init = nxp_c45_config_init, 7215e9375694db Andrei Botila 2025-02-28 2148 .config_intr = tja1120_config_intr, 7215e9375694db Andrei Botila 2025-02-28 2149 .handle_interrupt = nxp_c45_handle_interrupt, 7215e9375694db Andrei Botila 2025-02-28 2150 .read_status = genphy_c45_read_status, 7215e9375694db Andrei Botila 2025-02-28 2151 .link_change_notify = tja1120_link_change_notify, 7215e9375694db Andrei Botila 2025-02-28 2152 .suspend = genphy_c45_pma_suspend, 7215e9375694db Andrei Botila 2025-02-28 2153 .resume = genphy_c45_pma_resume, 7215e9375694db Andrei Botila 2025-02-28 2154 .get_sset_count = nxp_c45_get_sset_count, 7215e9375694db Andrei Botila 2025-02-28 2155 .get_strings = nxp_c45_get_strings, 7215e9375694db Andrei Botila 2025-02-28 2156 .get_stats = nxp_c45_get_stats, 7215e9375694db Andrei Botila 2025-02-28 2157 .cable_test_start = nxp_c45_cable_test_start, 7215e9375694db Andrei Botila 2025-02-28 2158 .cable_test_get_status = nxp_c45_cable_test_get_status, 7215e9375694db Andrei Botila 2025-02-28 2159 .set_loopback = genphy_c45_loopback, 7215e9375694db Andrei Botila 2025-02-28 2160 .get_sqi = nxp_c45_get_sqi, 7215e9375694db Andrei Botila 2025-02-28 2161 .get_sqi_max = nxp_c45_get_sqi_max, 7215e9375694db Andrei Botila 2025-02-28 2162 .remove = nxp_c45_remove, 7215e9375694db Andrei Botila 2025-02-28 2163 .match_phy_device = tja1121_match_phy_device, f1fe5dff2b8aa8 Radu Pirea (NXP OSS 2023-07-31 2164) }, b050f2f15e04f0 Radu Pirea (NXP OSS 2021-04-19 2165) }; b050f2f15e04f0 Radu Pirea (NXP OSS 2021-04-19 2166) -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki