Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp2978257rwd; Wed, 14 Jun 2023 09:34:45 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4M5B9rvA3nM8XV0b8o0ZwcQnECOZFirWiITyhxXfQ8+2JiD+9NU/ZUbmFCYpqz1FCUsggx X-Received: by 2002:a05:6808:b0c:b0:39c:71fc:4cb4 with SMTP id s12-20020a0568080b0c00b0039c71fc4cb4mr9402453oij.58.1686760485210; Wed, 14 Jun 2023 09:34:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686760485; cv=none; d=google.com; s=arc-20160816; b=oaZTxzzywhE94DoflVi76qAEgwmyy8Og3V4KI7VTnqu9qYJlyzmQ5+LOrOdVjr5yPq E1kJcnzxRRFFqV5ObEdd/j3LZwKeFwWqeT/g1aliR9Zrv7AUuANX5onBrbbwa6S8JX0h iuaA4vqnznpOWigqdbxnPD0FDP+3XzhHDZeC8zYV4YscIhqtzgzphsW/sHWmn1TQDlTu szWTmP4M+SP9YKEZXXS6nXDfQcl64khvt8m9Z08QoQ8yK2+snJcJ5U452ysGCuS5R0ZA J+Xplke72LPGH5egjPYfcNrB0OaYkqZtautdyeV6Fzqx7k7goDIzxoebNntKDYjlQv5x VqzQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=9snZb+QGyT0JI6v+MCneSM+wtBE35ZdlTtPzscujLvo=; b=PYePXTZrAKZJaakwmzoCeMuabUNodJtQhnevu/XqY1Yymxt4vN+UeSCul3eYMRYp8W 3tYWqznkGk5YNMGSUkcZ1zqx09QRZfMvxsK53E5MdbzyEmw4PAQxDowQb9IkJVV9I4q2 hh9195XYQ87mtPi3X8zhbG5T8+pPGuZCdiYyYzMXd6h3J5bDQizXY5ZIbRwoztwg+/Cc 5MhwhUKVmVX00IhbAa7idEszr9elilsmsSAAoPai0kXuvApQqvjO/hQbuJJr4l583RkN kgSmdNoEB/CNN3pIL9on6sJyhGekD0Lz7apywv7DertKsZ2AH6g9eUFYrdCG//j4GHWj 5+dA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=WwXr4o3H; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id k189-20020a636fc6000000b00543e355adb3si11011564pgc.275.2023.06.14.09.34.32; Wed, 14 Jun 2023 09:34:45 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=WwXr4o3H; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232646AbjFNQRG (ORCPT + 99 others); Wed, 14 Jun 2023 12:17:06 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35660 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233011AbjFNQQo (ORCPT ); Wed, 14 Jun 2023 12:16:44 -0400 Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 74945ED; Wed, 14 Jun 2023 09:16:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1686759402; x=1718295402; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=hNRyqUyJwPRgDx83ggrfVP33lL+susjiOlT7HtsU1sA=; b=WwXr4o3Hz1i2SnMajN0ScyfGNVrgQMKypOWre+O+McnM1KHzxeo3/DDi C5o2GPH69fZYeKMHDcnIqvITgZfttyGQhKTEkoYCWyoRujt5s5buGvaPw W6Bn8Ru1m1UrTcOVoffbvcFQ8DTZiBISWdviJZJNlvhEnb3JRIPvIkkd+ OnPo1/givaIiuUDKAuFNQ4eEupLg/MdHNQiv77mx/4pwdhgEqpupSmlYr gVY6Fc352RIBgZPEcSSGL7/f4m9OztpwcnacJm7q36EAohk7C8GlrDchi +ejDDxNWxlpmt9BgN6faXl52pY8T3xjjDzn4c6Eq2DBWe4AiNQ0RLcREJ Q==; X-IronPort-AV: E=McAfee;i="6600,9927,10741"; a="424546801" X-IronPort-AV: E=Sophos;i="6.00,243,1681196400"; d="scan'208";a="424546801" Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 14 Jun 2023 09:14:40 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10741"; a="824872060" X-IronPort-AV: E=Sophos;i="6.00,243,1681196400"; d="scan'208";a="824872060" Received: from lkp-server02.sh.intel.com (HELO d59cacf64e9e) ([10.239.97.151]) by fmsmga002.fm.intel.com with ESMTP; 14 Jun 2023 09:14:36 -0700 Received: from kbuild by d59cacf64e9e with local (Exim 4.96) (envelope-from ) id 1q9T8l-0000qX-10; Wed, 14 Jun 2023 16:14:35 +0000 Date: Thu, 15 Jun 2023 00:13:21 +0800 From: kernel test robot To: Stanley Chang , Greg Kroah-Hartman Cc: oe-kbuild-all@lists.linux.dev, Stanley Chang , Vinod Koul , Kishon Vijay Abraham I , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Alan Stern , Bagas Sanjaya , Matthias Kaehlcke , Douglas Anderson , Flavio Suligoi , Ray Chi , linux-phy@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-usb@vger.kernel.org Subject: Re: [PATCH v4 3/5] phy: realtek: usb: Add driver for the Realtek SoC USB 3.0 PHY Message-ID: <202306142340.nvui81i4-lkp@intel.com> References: <20230614092850.21460-3-stanley_chang@realtek.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230614092850.21460-3-stanley_chang@realtek.com> X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_NONE,T_SCC_BODY_TEXT_LINE, URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Stanley, kernel test robot noticed the following build warnings: [auto build test WARNING on usb/usb-testing] [also build test WARNING on usb/usb-next usb/usb-linus robh/for-next linus/master v6.4-rc6 next-20230614] [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/Stanley-Chang/phy-realtek-usb-Add-driver-for-the-Realtek-SoC-USB-2-0-PHY/20230614-173349 base: https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing patch link: https://lore.kernel.org/r/20230614092850.21460-3-stanley_chang%40realtek.com patch subject: [PATCH v4 3/5] phy: realtek: usb: Add driver for the Realtek SoC USB 3.0 PHY config: sparc-allyesconfig (https://download.01.org/0day-ci/archive/20230614/202306142340.nvui81i4-lkp@intel.com/config) compiler: sparc64-linux-gcc (GCC) 12.3.0 reproduce (this is a W=1 build): mkdir -p ~/bin wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross git remote add usb https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git git fetch usb usb-testing git checkout usb/usb-testing b4 shazam https://lore.kernel.org/r/20230614092850.21460-3-stanley_chang@realtek.com # save the config file mkdir build_dir && cp config build_dir/.config COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.3.0 ~/bin/make.cross W=1 O=build_dir ARCH=sparc olddefconfig COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.3.0 ~/bin/make.cross W=1 O=build_dir ARCH=sparc SHELL=/bin/bash drivers/phy/realtek/ 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/202306142340.nvui81i4-lkp@intel.com/ All warnings (new ones prefixed by >>): drivers/phy/realtek/phy-rtk-usb3.c: In function 'rtk_usb3phy_probe': >> drivers/phy/realtek/phy-rtk-usb3.c:779:29: warning: variable 'node' set but not used [-Wunused-but-set-variable] 779 | struct device_node *node; | ^~~~ vim +/node +779 drivers/phy/realtek/phy-rtk-usb3.c 774 775 static int rtk_usb3phy_probe(struct platform_device *pdev) 776 { 777 struct rtk_phy *rtk_phy; 778 struct device *dev = &pdev->dev; > 779 struct device_node *node; 780 struct phy *generic_phy; 781 struct phy_provider *phy_provider; 782 const struct phy_cfg *phy_cfg; 783 int ret; 784 785 phy_cfg = of_device_get_match_data(dev); 786 if (!phy_cfg) { 787 dev_err(dev, "phy config are not assigned!\n"); 788 return -EINVAL; 789 } 790 791 rtk_phy = devm_kzalloc(dev, sizeof(*rtk_phy), GFP_KERNEL); 792 if (!rtk_phy) 793 return -ENOMEM; 794 795 rtk_phy->dev = &pdev->dev; 796 rtk_phy->phy.dev = rtk_phy->dev; 797 rtk_phy->phy.label = "rtk-usb3phy"; 798 rtk_phy->phy.notify_port_status = rtk_phy_notify_port_status; 799 800 rtk_phy->phy_cfg = devm_kzalloc(dev, sizeof(*phy_cfg), GFP_KERNEL); 801 802 memcpy(rtk_phy->phy_cfg, phy_cfg, sizeof(*phy_cfg)); 803 804 node = dev->of_node; 805 806 rtk_phy->num_phy = 1; 807 808 ret = parse_phy_data(rtk_phy); 809 if (ret) 810 goto err; 811 812 platform_set_drvdata(pdev, rtk_phy); 813 814 generic_phy = devm_phy_create(rtk_phy->dev, NULL, &ops); 815 if (IS_ERR(generic_phy)) 816 return PTR_ERR(generic_phy); 817 818 phy_set_drvdata(generic_phy, rtk_phy); 819 820 phy_provider = devm_of_phy_provider_register(rtk_phy->dev, of_phy_simple_xlate); 821 if (IS_ERR(phy_provider)) 822 return PTR_ERR(phy_provider); 823 824 ret = usb_add_phy_dev(&rtk_phy->phy); 825 if (ret) 826 goto err; 827 828 create_debug_files(rtk_phy); 829 830 err: 831 return ret; 832 } 833 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki