Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.14]) (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 D6420211A05 for ; Fri, 26 Dec 2025 15:26:38 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.175.65.14 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1766762801; cv=none; b=pf/rbacHGVJg5aYflPJPgwg3Bq+9T+u9JkDJS6GKZd0NkTSaESHmtC/7fNXyEm3i1t12QNfDVE6ISA3qBnNq3vA1VNRILJkdSlY6CCTLjFiVuEFtq1U4QDXZG8xhXyB9XviOtD6yLy/hgEjrRUIO8ivwi7nsB4a49/deFIk0K8U= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1766762801; c=relaxed/simple; bh=8AeqMVfrs86O2yx8LflBMbz99exfh69Zk1R6DsXrO1s=; h=Date:From:To:Cc:Subject:Message-ID:MIME-Version:Content-Type: Content-Disposition; b=lLV1qLbaGpDrxM+6m/ktguVkvLS22YFNjVf7YvHsewEuCi/op0IAA9I6p17SbbmgEv6s8QiZ+nimNQO1bTGJK81C3IUgERnAeIaeTz5efXCmPRoBJQEleR4gpFC55bpCGCmgdVSshmPQaiJ9auqccaRAScC6po0kJgjznRg9pag= 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=OSOkvLcn; arc=none smtp.client-ip=198.175.65.14 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="OSOkvLcn" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1766762799; x=1798298799; h=date:from:to:cc:subject:message-id:mime-version; bh=8AeqMVfrs86O2yx8LflBMbz99exfh69Zk1R6DsXrO1s=; b=OSOkvLcnjlqhdv0BjuxdrPnPIaQM2vVvzYjDLP4VTp4oGKyO0lHJEDKT 2Pf+eXgjq0rsu/JCDdD8zycQ0js1e90Sdd+5lf4QFYQRx2+J03Wl1w29m DUOFBrjiuHHcBNvBkcdd2z8SGT+hIyur/tgQPJrDgiQZnHe+jIGiKbPCj RqJhPerfAiSvUDCIuZ7WbcylJmw4YlwpcTao6vK+LtZRC8lfDO775pZTf Zz7PeH2Qr25H0HBSMfsfsYHrnEUg0seabJARaQ+ETroTv7HZC+qkhPg2l U65oGzoAW3QI1l1DTyVuUULr2IBFHMkwTzKFmwp3p63F9oibZdjgJAqcZ A==; X-CSE-ConnectionGUID: 7GdBEyrXRsy73/fNUIYFgA== X-CSE-MsgGUID: 0ixzeKU7SHeozxAm0FFv3A== X-IronPort-AV: E=McAfee;i="6800,10657,11653"; a="72369673" X-IronPort-AV: E=Sophos;i="6.21,178,1763452800"; d="scan'208";a="72369673" Received: from orviesa010.jf.intel.com ([10.64.159.150]) by orvoesa106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 26 Dec 2025 07:26:39 -0800 X-CSE-ConnectionGUID: bAz8LoxkTKq1Wuq1vsYTuA== X-CSE-MsgGUID: Ib//WV50Slysyd3nvL7jhQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.21,178,1763452800"; d="scan'208";a="199638377" Received: from lkp-server02.sh.intel.com (HELO dd3453e2b682) ([10.239.97.151]) by orviesa010.jf.intel.com with ESMTP; 26 Dec 2025 07:26:37 -0800 Received: from kbuild by dd3453e2b682 with local (Exim 4.98.2) (envelope-from ) id 1vZ9i6-0000000056v-3g5F; Fri, 26 Dec 2025 15:26:34 +0000 Date: Fri, 26 Dec 2025 23:26:22 +0800 From: kernel test robot To: oe-kbuild@lists.linux.dev Cc: lkp@intel.com, Dan Carpenter Subject: Re: [PATCH v2 1/2] usb: phy: tegra: use phy type directly Message-ID: <202512262345.OOsbJ2kr-lkp@intel.com> Precedence: bulk X-Mailing-List: oe-kbuild@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline BCC: lkp@intel.com CC: oe-kbuild-all@lists.linux.dev In-Reply-To: <20251223094529.7202-2-clamor95@gmail.com> References: <20251223094529.7202-2-clamor95@gmail.com> TO: Svyatoslav Ryhel TO: "Greg Kroah-Hartman" TO: Thierry Reding TO: Jonathan Hunter TO: Svyatoslav Ryhel TO: Dmitry Osipenko CC: linux-usb@vger.kernel.org CC: linux-tegra@vger.kernel.org CC: linux-kernel@vger.kernel.org Hi Svyatoslav, kernel test robot noticed the following build warnings: [auto build test WARNING on tegra/for-next] [also build test WARNING on usb/usb-testing usb/usb-next usb/usb-linus staging/staging-testing staging/staging-next staging/staging-linus linus/master v6.19-rc2] [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/Svyatoslav-Ryhel/usb-phy-tegra-use-phy-type-directly/20251223-175449 base: https://git.kernel.org/pub/scm/linux/kernel/git/tegra/linux.git for-next patch link: https://lore.kernel.org/r/20251223094529.7202-2-clamor95%40gmail.com patch subject: [PATCH v2 1/2] usb: phy: tegra: use phy type directly :::::: branch date: 3 days ago :::::: commit date: 3 days ago config: arm-randconfig-r071-20251224 (https://download.01.org/0day-ci/archive/20251226/202512262345.OOsbJ2kr-lkp@intel.com/config) compiler: arm-linux-gnueabi-gcc (GCC) 8.5.0 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 | Reported-by: Dan Carpenter | Closes: https://lore.kernel.org/r/202512262345.OOsbJ2kr-lkp@intel.com/ smatch warnings: drivers/usb/phy/phy-tegra-usb.c:857 tegra_usb_phy_power_off() error: uninitialized symbol 'err'. vim +/err +857 drivers/usb/phy/phy-tegra-usb.c 1ba8216f0bc02a drivers/usb/phy/tegra_usb_phy.c Venu Byravarasu 2012-09-05 836 1ba8216f0bc02a drivers/usb/phy/tegra_usb_phy.c Venu Byravarasu 2012-09-05 837 static int tegra_usb_phy_power_off(struct tegra_usb_phy *phy) 1ba8216f0bc02a drivers/usb/phy/tegra_usb_phy.c Venu Byravarasu 2012-09-05 838 { 18bd8bff69f7fb drivers/usb/phy/phy-tegra-usb.c Dmitry Osipenko 2020-01-06 839 int err; 18bd8bff69f7fb drivers/usb/phy/phy-tegra-usb.c Dmitry Osipenko 2020-01-06 840 18bd8bff69f7fb drivers/usb/phy/phy-tegra-usb.c Dmitry Osipenko 2020-01-06 841 if (!phy->powered_on) 18bd8bff69f7fb drivers/usb/phy/phy-tegra-usb.c Dmitry Osipenko 2020-01-06 842 return 0; 18bd8bff69f7fb drivers/usb/phy/phy-tegra-usb.c Dmitry Osipenko 2020-01-06 843 156fbdcb2a09b8 drivers/usb/phy/phy-tegra-usb.c Svyatoslav Ryhel 2025-12-23 844 switch (phy->phy_type) { 156fbdcb2a09b8 drivers/usb/phy/phy-tegra-usb.c Svyatoslav Ryhel 2025-12-23 845 case USBPHY_INTERFACE_MODE_UTMI: 18bd8bff69f7fb drivers/usb/phy/phy-tegra-usb.c Dmitry Osipenko 2020-01-06 846 err = utmi_phy_power_off(phy); 156fbdcb2a09b8 drivers/usb/phy/phy-tegra-usb.c Svyatoslav Ryhel 2025-12-23 847 break; 156fbdcb2a09b8 drivers/usb/phy/phy-tegra-usb.c Svyatoslav Ryhel 2025-12-23 848 156fbdcb2a09b8 drivers/usb/phy/phy-tegra-usb.c Svyatoslav Ryhel 2025-12-23 849 case USBPHY_INTERFACE_MODE_ULPI: 156fbdcb2a09b8 drivers/usb/phy/phy-tegra-usb.c Svyatoslav Ryhel 2025-12-23 850 err = ulpi_phy_power_off(phy); 156fbdcb2a09b8 drivers/usb/phy/phy-tegra-usb.c Svyatoslav Ryhel 2025-12-23 851 break; 156fbdcb2a09b8 drivers/usb/phy/phy-tegra-usb.c Svyatoslav Ryhel 2025-12-23 852 156fbdcb2a09b8 drivers/usb/phy/phy-tegra-usb.c Svyatoslav Ryhel 2025-12-23 853 default: 156fbdcb2a09b8 drivers/usb/phy/phy-tegra-usb.c Svyatoslav Ryhel 2025-12-23 854 break; 156fbdcb2a09b8 drivers/usb/phy/phy-tegra-usb.c Svyatoslav Ryhel 2025-12-23 855 } 156fbdcb2a09b8 drivers/usb/phy/phy-tegra-usb.c Svyatoslav Ryhel 2025-12-23 856 18bd8bff69f7fb drivers/usb/phy/phy-tegra-usb.c Dmitry Osipenko 2020-01-06 @857 if (err) 18bd8bff69f7fb drivers/usb/phy/phy-tegra-usb.c Dmitry Osipenko 2020-01-06 858 return err; 18bd8bff69f7fb drivers/usb/phy/phy-tegra-usb.c Dmitry Osipenko 2020-01-06 859 18bd8bff69f7fb drivers/usb/phy/phy-tegra-usb.c Dmitry Osipenko 2020-01-06 860 phy->powered_on = false; 18bd8bff69f7fb drivers/usb/phy/phy-tegra-usb.c Dmitry Osipenko 2020-01-06 861 18bd8bff69f7fb drivers/usb/phy/phy-tegra-usb.c Dmitry Osipenko 2020-01-06 862 return 0; 1ba8216f0bc02a drivers/usb/phy/tegra_usb_phy.c Venu Byravarasu 2012-09-05 863 } 1ba8216f0bc02a drivers/usb/phy/tegra_usb_phy.c Venu Byravarasu 2012-09-05 864 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki