From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) (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 43852184E for ; Wed, 23 Mar 2022 12:17:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1648037855; x=1679573855; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=PSHcI897D2zwxp8xEylKJ3SYcDP8lVWYEjAmdTs22kM=; b=cDix+CWmfVXS886QJ115nqoWru4hPJ+q7NMZSdk07vJ6V/WU2tddpQgF oLpT4bXyP7KttIgOx6W0TZKv3U99Z+e53fhySk8unhi5JWQNTjsYS11Al Kx5wOmUw9MdN6Eps2eBnFHPWvYEFbUWXObTpRKMZmJ4HIAQsl6WHFXQd+ 9ZieR4e87e4/WI7HWG08ADL3y26tR8BLU1N+yMPueArfA61ygvUns3xvD LYXmitAV0FGyKfRDLcWpkN/A2cN32naPh1W87wEv74VtH45sO4GB4cJ+a XJNZgInITDOBq03gpQ5on5p/f698ZWiRIuoXk5ATNvwEHSarnCm+pZZwF Q==; X-IronPort-AV: E=McAfee;i="6200,9189,10294"; a="240256920" X-IronPort-AV: E=Sophos;i="5.90,204,1643702400"; d="scan'208";a="240256920" Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 23 Mar 2022 05:17:31 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.90,204,1643702400"; d="scan'208";a="583669177" Received: from lkp-server02.sh.intel.com (HELO 89b41b6ae01c) ([10.239.97.151]) by orsmga001.jf.intel.com with ESMTP; 23 Mar 2022 05:17:28 -0700 Received: from kbuild by 89b41b6ae01c with local (Exim 4.92) (envelope-from ) id 1nWzvb-000K2T-L6; Wed, 23 Mar 2022 12:17:27 +0000 Date: Wed, 23 Mar 2022 20:17:22 +0800 From: kernel test robot To: Aswath Govindraju Cc: llvm@lists.linux.dev, kbuild-all@lists.01.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-usb@vger.kernel.org, Felipe Balbi , Krzysztof Kozlowski , Rob Herring , Greg Kroah-Hartman , Roger Quadros , Vignesh Raghavendra , Kishon Vijay Abraham I , Aswath Govindraju Subject: Re: [PATCH 2/2] drivers: usb: dwc3: Add AM62 USB wrapper driver Message-ID: <202203232002.K45zQUfY-lkp@intel.com> References: <20220323053524.7009-3-a-govindraju@ti.com> Precedence: bulk X-Mailing-List: llvm@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: <20220323053524.7009-3-a-govindraju@ti.com> User-Agent: Mutt/1.10.1 (2018-07-13) Hi Aswath, I love your patch! Yet something to improve: [auto build test ERROR on linux/master] [also build test ERROR on usb/usb-testing linus/master v5.17 next-20220323] [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] url: https://github.com/0day-ci/linux/commits/Aswath-Govindraju/AM62-Add-support-for-AM62-USB-wrapper-driver/20220323-133708 base: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git 2c271fe77d52a0555161926c232cd5bc07178b39 config: hexagon-buildonly-randconfig-r002-20220323 (https://download.01.org/0day-ci/archive/20220323/202203232002.K45zQUfY-lkp@intel.com/config) compiler: clang version 15.0.0 (https://github.com/llvm/llvm-project 902f4708fe1d03b0de7e5315ef875006a6adc319) reproduce (this is a W=1 build): wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # https://github.com/0day-ci/linux/commit/4ca423573f638454724a40416042d84552db81af git remote add linux-review https://github.com/0day-ci/linux git fetch --no-tags linux-review Aswath-Govindraju/AM62-Add-support-for-AM62-USB-wrapper-driver/20220323-133708 git checkout 4ca423573f638454724a40416042d84552db81af # save the config file to linux build tree mkdir build_dir COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=hexagon SHELL=/bin/bash drivers/usb/ If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot All errors (new ones prefixed by >>): >> drivers/usb/dwc3/dwc3-am62.c:567:10: error: use of undeclared identifier 'dwc3_ti_pm_ops'; did you mean 'dwc3_ti_probe'? .pm = &dwc3_ti_pm_ops, ^~~~~~~~~~~~~~ dwc3_ti_probe drivers/usb/dwc3/dwc3-am62.c:379:12: note: 'dwc3_ti_probe' declared here static int dwc3_ti_probe(struct platform_device *pdev) ^ >> drivers/usb/dwc3/dwc3-am62.c:567:9: error: incompatible pointer types initializing 'const struct dev_pm_ops *' with an expression of type 'int (*)(struct platform_device *)' [-Werror,-Wincompatible-pointer-types] .pm = &dwc3_ti_pm_ops, ^~~~~~~~~~~~~~~ 2 errors generated. vim +567 drivers/usb/dwc3/dwc3-am62.c 561 562 static struct platform_driver dwc3_ti_driver = { 563 .probe = dwc3_ti_probe, 564 .remove = dwc3_ti_remove, 565 .driver = { 566 .name = "dwc3-am62", > 567 .pm = &dwc3_ti_pm_ops, 568 .of_match_table = dwc3_ti_of_match, 569 }, 570 }; 571 -- 0-DAY CI Kernel Test Service https://01.org/lkp