From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 758B9606A31C for ; Mon, 30 Nov 2026 01:05:50 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.a=rsa-sha256 header.s=bombadil.20210309 header.b=c4PHtOZi; dkim=fail reason="signature verification failed" (2048-bit key) header.d=intel.com header.i=@intel.com header.a=rsa-sha256 header.s=Intel header.b=ANb3X4Ot DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Unsubscribe-Post:List-Owner; bh=1cwls1Gyo07nSlKYDpsNq7QRuqvxBExFHMyRbuiOVFE=; b=c4PHtOZiyRR7S/ns9k++s52jZE GZcvOZl9VaxViHOCeguxeRdb5XISDX4GjYq3Ds3pwMiwRVb95XVZRRx/krOK/+23QH7M04n9cEP3O TLZicRR4v7qGIbFoQh96KBGT6earcbG1zvZlhRiM5JTeSFJFfu2ABauvIYwWDWEx7SNmwdeDGs0xR xFycYaYphUU40SP4D2VvmT2a5IdRJFkNrikb4vfRymrZBxojC1wgV8MA8suM6RG2sxTc+/Qh8aPAK aVJRGSKV5VtXttIggPJAO9d2x1/xzwKKvdiReogjhtLkpSqAHrwTdte0blSHGX702SaepP1y9RQ3b 9sXregDg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.100.1 #2 (Red Hat Linux)) id 1xXpq2-00000002kCe-0GRg; Mon, 30 Nov 2026 01:05:50 +0000 Received: from mgamail.intel.com ([198.175.65.17]) by bombadil.infradead.org with esmtps (Exim 4.100.1 #2 (Red Hat Linux)) id 1xXppy-00000002kBa-4Bti for linux-phy@lists.infradead.org; Mon, 30 Nov 2026 01:05:49 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1796000747; x=1827536747; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=riUZFWjxImRt9DWRtjHHAazZM8MdYtQO+cBp8ufV1OI=; b=ANb3X4OtkXOzz0PhTNcLOdEDYs/D0Q0m5NemMZ80kFY4r3PSrq56TJlA m3BcAo565b77moBzDYQfAgvJWajr/K0eg8mS9MpJ+swXJY6JwehDtsMyC lUaG9m8YCJwFq7jaoEh9DHu+XTZDi/CWrnxfPb2nxfsd+GBQ2UUhM0xZg coLU6oNz79QxVEaaBaUMJOG5PFmqpLK+vRWTlFMItWyudrN+lHxxnjFE8 m4wrCans+wyT6xGBaZgsa++ywdEdI5tZrOcem8/Ko2sVrVb4Mj/nEvlN0 6Dg8uWH4WFCdDsjxyzu/4euowKfnGETwzyjtoLbB2cZGaY3i+aAhIu5UU g==; X-CSE-ConnectionGUID: BUtxzayRTROrVyEp+QFgUA== X-CSE-MsgGUID: 6Ae8dfheQHaq25xDiRsxOg== X-IronPort-AV: E=McAfee;i="6800,10657,11981"; a="4816851" X-IronPort-AV: E=Sophos;i="6.27,241,1787036400"; d="scan'208";a="4816851" 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-Archived-By: MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20261129173739.282027-2-marek.vasut+renesas@mailbox.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.9.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20261129_170547_102208_C27524D0 X-CRM114-Status: GOOD ( 14.55 ) X-Spam-Score: -4.4 (----) X-BeenThere: linux-phy@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Linux Phy Mailing list List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-phy" X-Spam-Status: No, score=-8.9 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_EF,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=4.0.1 X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-26) on aws-us-west-2-korg-listserv-alma10-1 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 -- linux-phy mailing list linux-phy@lists.infradead.org https://lists.infradead.org/mailman/listinfo/linux-phy