From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=198.175.65.17 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796000745; b=PEFaTJvmSHNx7w0P7oalqj3Iq7wUFMWFQ+CjoazhofL/wli8oOOgTDUEJpW7KDI36Gxo X1rzLNEqN4otTpjGwaYKfcppyYTgTgocdkaWCsdgairg4uAiD+xg6gfRcFL3AXK70jIec FPYZapKsnVQ7NbcbHUzGQ5LO9AomUeAL3vxUR6g33CJ1425Py6G1Qc1WfozNX+BbOJ0mI 3MCBuWtnSPBWTKPbAxQYwfwL/PbQPMAczjPZ5yqVC1ARQS/iYoOsFU9FhI7rKsSrX/Ooy W7FvI5EEK1hto00b0d9aGjsDnHCEhL5Ht425jaD2K/+ce2uo+PhmOMUeNdzzmXfhv2g== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796000745; h=DMARC-Filter:DKIM-Signature:X-CSE-ConnectionGUID:X-CSE-MsgGUID: X-IronPort-AV:X-IronPort-AV:Received:X-CSE-ConnectionGUID: X-CSE-MsgGUID:X-ExtLoop1:X-IronPort-AV:Received:Received:Date:From:To: Cc:Subject:Message-ID:References:MIME-Version:Content-Type: Content-Disposition:In-Reply-To; bh=LXppZzmpwISW+1jNx+fJ6zNUUg3qWrmRgaX8H+Jp0HM=; b=ennWoYO0iQZQqofoIgSmjWBi+bq9dFW2qebbieISve/YbG8j50sl/YDix9C8egfWKH1X ilPO9Ze4ikG7cYrhCYDKwwGp0xLajJiLQDChdOMIzT+eFBtH8wIZyNHn9aqZ6u0gbtbes nQvIR8xGuzhBYGjHaON1CIplSeWAGClCbIS9tLdDOvfipgHoRHlT5d8pAxohFLqLWEzqL xdZ8f1fvLl0rubU2BoebDT7rPkVUpA28a9Nfk+3aTGo7cMCg8zO5zrF35wIx2Tfs8vhNi WpznsALh6yM9yhbAeSNYNVJrhuvoXTNS9SnfULd1m8Cgj3g7ZO7BLCBd+h70e5EKjwg== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=intel.com; spf=pass smtp.mailfrom=intel.com; dkim=pass header.d=intel.com header.i=@intel.com header.a=rsa-sha256 header.s=Intel header.b=dCXR71hn; arc=none smtp.remote-ip=198.175.65.17 Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.17]) (using TLSv1.2 with cipher ECDHE-ECDSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 2A804606A325; Mon, 30 Nov 2026 01:05:44 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 2A804606A325 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.a=rsa-sha256 header.s=Intel header.b=dCXR71hn DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1796000745; x=1827536745; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=riUZFWjxImRt9DWRtjHHAazZM8MdYtQO+cBp8ufV1OI=; b=dCXR71hnbeZJj3WRilelFKUIVQK4FdBx4BsJDqqGqj/7J1QNh0wP+kz3 bSQRx2/wKEbAePdQmRX3oLHCu2R4i5PhSUBdagwXnrCwwiY8hiEXiOrFY 2Uk/68EAwZd3QVrTeilZUVX9XNG3CH2oy7JObk9IcejMHa9xkANZpIYeR yV+SpWtT1+RjUqDJ4euc4GJwk5E1AB5rbvtH3/QEJwv5KorKHeNv/iALN N+u/FbHX1dT0bC9MLzO6XYK3YB2e6YJvP9rDDGiewszL3djpRBbdTxRLF SZOBM5HklM49HOEnJX7FP3na4LmPeqjDJalGz4Ziw5gsBKhUz8fqQwmZc g==; X-CSE-ConnectionGUID: /x//8KNmS/KmchXmhwN8Ng== X-CSE-MsgGUID: i+5OQ0INSE2Znluxq/GsSA== X-IronPort-AV: E=McAfee;i="6800,10657,11981"; a="4816847" X-IronPort-AV: E=Sophos;i="6.27,241,1787036400"; d="scan'208";a="4816847" Received: from orviesa001.jf.intel.com ([10.64.159.141]) by orvoesa109.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 29 Nov 2026 17:05:45 -0800 X-CSE-ConnectionGUID: FY693HxNRESx2Ck3LubYqA== X-CSE-MsgGUID: 9mwDNUCkTgaAP8g+k6A3KQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.27,241,1787036400"; d="scan'208";a="12974101" Received: from lkp-server01.sh.intel.com (HELO 0caa9d2d175c) ([10.239.97.150]) by orviesa001.jf.intel.com with ESMTP; 29 Nov 2026 17:05:40 -0800 Received: from kbuild by 0caa9d2d175c with local (Exim 4.98.2) (envelope-from ) id 1xXppp-00000001ZlJ-03Lq; Mon, 30 Nov 2026 01:05:37 +0000 Date: Mon, 30 Nov 2026 09:05:01 +0800 From: kernel test robot To: Marek Vasut , linux-phy@lists.infradead.org Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev, Thanh Quan , Phong Hoang , Hai Pham , Yoshihiro Shimoda , Marek Vasut , Arnd Bergmann , Biju Das , Conor Dooley , Geert Uytterhoeven , Krzysztof Kozlowski , Magnus Damm , Manivannan Sadhasivam , Neil Armstrong , Rob Herring , Tam Nguyen , Tommaso Merciai , Vinh Nguyen , Vinod Koul , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-renesas-soc@vger.kernel.org Subject: Re: [PATCH v2 2/3] phy: renesas: Add Renesas Multi-Protocol PHY driver for R-Car X5H Message-ID: <20261130085824.jctLCHNP-lkp@intel.com> References: <20261129173739.282027-2-marek.vasut+renesas@mailbox.org> X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20261129173739.282027-2-marek.vasut+renesas@mailbox.org> Hi Marek, kernel test robot noticed the following build warnings: [auto build test WARNING on phy/next] [also build test WARNING on geert-renesas-devel/next soc/for-next linus/master v7.4-rc4 next-20261127] [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/Marek-Vasut/phy-renesas-Add-Renesas-Multi-Protocol-PHY-driver-for-R-Car-X5H/20261129-183704 base: https://git.kernel.org/pub/scm/linux/kernel/git/phy/linux-phy.git next patch link: https://lore.kernel.org/r/20261129173739.282027-2-marek.vasut%2Brenesas%40mailbox.org patch subject: [PATCH v2 2/3] phy: renesas: Add Renesas Multi-Protocol PHY driver for R-Car X5H config: s390-allmodconfig (https://download.01.org/0day-ci/archive/20261130/20261130085824.jctLCHNP-lkp@intel.com/config) compiler: clang version 24.0.0git (https://github.com/llvm/llvm-project 04597ff5c4eda9d66da39a536aa26a7bab2fb2dd) reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20261130/20261130085824.jctLCHNP-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/20261130085824.jctLCHNP-lkp@intel.com/ All warnings (new ones prefixed by >>): >> drivers/phy/renesas/phy-rcar-gen5-mpphy.c:455:13: warning: variable 'tx_ack' is used uninitialized whenever 'if' condition is false [-Wsometimes-uninitialized] 455 | } else if (priv->num_lanes[phy->id] == 8) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ drivers/phy/renesas/phy-rcar-gen5-mpphy.c:466:11: note: uninitialized use occurs here 466 | return !(tx_ack & BIT(9)) && !(rx_ack & BIT(1)); | ^~~~~~ drivers/phy/renesas/phy-rcar-gen5-mpphy.c:455:9: note: remove the 'if' if its condition is always true 455 | } else if (priv->num_lanes[phy->id] == 8) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ drivers/phy/renesas/phy-rcar-gen5-mpphy.c:445:20: note: initialize the variable 'tx_ack' to silence this warning 445 | u32 rx_ack, tx_ack; | ^ | = 0 drivers/phy/renesas/phy-rcar-gen5-mpphy.c:584:12: warning: unused function 'mp_phy_suspend' [-Wunused-function] 584 | static int mp_phy_suspend(struct device *dev) | ^~~~~~~~~~~~~~ drivers/phy/renesas/phy-rcar-gen5-mpphy.c:635:12: warning: unused function 'mp_phy_resume' [-Wunused-function] 635 | static int mp_phy_resume(struct device *dev) | ^~~~~~~~~~~~~ 3 warnings generated. vim +455 drivers/phy/renesas/phy-rcar-gen5-mpphy.c 441 442 static int mp_phy_read_poll_pcie4(struct phy *phy) 443 { 444 struct mp_phy_priv *priv = phy_get_drvdata(phy); 445 u32 rx_ack, tx_ack; 446 447 if (priv->num_lanes[phy->id] == 2) { 448 tx_ack = readl(priv->base + MPPHY_PXTXREQ(2 * phy->id)); 449 rx_ack = readl(priv->base + MPPHY_PXRXREQ1(2 * phy->id)); 450 } else if (priv->num_lanes[phy->id] == 4) { 451 tx_ack = readl(priv->base + MPPHY_PXTXREQ(2 * phy->id)) & 452 readl(priv->base + MPPHY_PXTXREQ((2 * phy->id) + 1)); 453 rx_ack = readl(priv->base + MPPHY_PXRXREQ1(2 * phy->id)) & 454 readl(priv->base + MPPHY_PXRXREQ1((2 * phy->id) + 1)); > 455 } else if (priv->num_lanes[phy->id] == 8) { 456 tx_ack = readl(priv->base + MPPHY_PXTXREQ(0)) & 457 readl(priv->base + MPPHY_PXTXREQ(1)) & 458 readl(priv->base + MPPHY_PXTXREQ(2)) & 459 readl(priv->base + MPPHY_PXTXREQ(3)); 460 rx_ack = readl(priv->base + MPPHY_PXRXREQ1(0)) & 461 readl(priv->base + MPPHY_PXRXREQ1(1)) & 462 readl(priv->base + MPPHY_PXRXREQ1(2)) & 463 readl(priv->base + MPPHY_PXRXREQ1(3)); 464 } 465 466 return !(tx_ack & BIT(9)) && !(rx_ack & BIT(1)); 467 } 468 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki