From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) (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 D7541173 for ; Fri, 21 Jan 2022 16:40:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1642783206; x=1674319206; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=wy8KvC+qP9LJLqxszBR4Lznvgde40sWScqOt94GUNwE=; b=NQKp0m3jpL/54pvpYAVUBdbYHK2mD6IEw9PVVEuQjeygknTz9W7gIl3y IszQg4CVYdu+67TI+QW5/heb4daWNJSRuWe3NUSgjVjAvYFOIKI2m6TvO gXQ+MegUNhfv3AJdsEiW4iYfkKDtbinJtSqw8M0WPBVn5B7R3kyy54eq2 EKdPox87G7oexRPHkRK3TbVhFLBgF5LJv/tPEz/Wqag/bpXzQJn1YbH4j sngEIVq5IqN/Fzq4lX1pboU4YNphFvZqN4pLef3RrX3On0Ex54We6H/PL HQ+gb+X8AYqjV4Jta+rBxxpDIkrxRucA0CGkFfVajcjw0NyUXRGSrrLHz w==; X-IronPort-AV: E=McAfee;i="6200,9189,10234"; a="244515636" X-IronPort-AV: E=Sophos;i="5.88,304,1635231600"; d="scan'208";a="244515636" Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 21 Jan 2022 08:39:02 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.88,304,1635231600"; d="scan'208";a="623374207" Received: from lkp-server01.sh.intel.com (HELO 276f1b88eecb) ([10.239.97.150]) by fmsmga002.fm.intel.com with ESMTP; 21 Jan 2022 08:38:58 -0800 Received: from kbuild by 276f1b88eecb with local (Exim 4.92) (envelope-from ) id 1nAwwD-000FUO-IF; Fri, 21 Jan 2022 16:38:57 +0000 Date: Sat, 22 Jan 2022 00:38:38 +0800 From: kernel test robot To: Pratyush Yadav , Vinod Koul Cc: llvm@lists.linux.dev, kbuild-all@lists.01.org, Pratyush Yadav , Laurent Pinchart , Paul Kocialkowski , Tomi Valkeinen , Vignesh Raghavendra , Kishon Vijay Abraham I , Rob Herring , Swapnil Jakhade , devicetree@vger.kernel.org Subject: Re: [PATCH v8 1/4] phy: cadence: Add Cadence D-PHY Rx driver Message-ID: <202201220002.AYMD2qX0-lkp@intel.com> References: <20220121093849.3218092-2-p.yadav@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: <20220121093849.3218092-2-p.yadav@ti.com> User-Agent: Mutt/1.10.1 (2018-07-13) Hi Pratyush, I love your patch! Perhaps something to improve: [auto build test WARNING on robh/for-next] [also build test WARNING on linus/master v5.16 next-20220121] [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/Pratyush-Yadav/Rx-mode-support-for-Cadence-DPHY/20220121-174104 base: https://git.kernel.org/pub/scm/linux/kernel/git/robh/linux.git for-next config: arm64-allmodconfig (https://download.01.org/0day-ci/archive/20220122/202201220002.AYMD2qX0-lkp@intel.com/config) compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project 7b3d30728816403d1fd73cc5082e9fb761262bce) 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 # install arm64 cross compiling tool for clang build # apt-get install binutils-aarch64-linux-gnu # https://github.com/0day-ci/linux/commit/a27020695f773ffff7f462e53f7ff7ca39109cd0 git remote add linux-review https://github.com/0day-ci/linux git fetch --no-tags linux-review Pratyush-Yadav/Rx-mode-support-for-Cadence-DPHY/20220121-174104 git checkout a27020695f773ffff7f462e53f7ff7ca39109cd0 # 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=arm64 SHELL=/bin/bash drivers/gpu/drm/meson/ drivers/phy/cadence/ If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot All warnings (new ones prefixed by >>): >> drivers/phy/cadence/cdns-dphy-rx.c:223:46: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] dev_err(dev, "Failed to create PHY: %d\n", PTR_ERR(dphy->phy)); ~~ ^~~~~~~~~~~~~~~~~~ %ld include/linux/dev_printk.h:144:65: note: expanded from macro 'dev_err' dev_printk_index_wrap(_dev_err, KERN_ERR, dev, dev_fmt(fmt), ##__VA_ARGS__) ~~~ ^~~~~~~~~~~ include/linux/dev_printk.h:110:23: note: expanded from macro 'dev_printk_index_wrap' _p_func(dev, fmt, ##__VA_ARGS__); \ ~~~ ^~~~~~~~~~~ drivers/phy/cadence/cdns-dphy-rx.c:231:4: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] PTR_ERR(provider)); ^~~~~~~~~~~~~~~~~ include/linux/dev_printk.h:144:65: note: expanded from macro 'dev_err' dev_printk_index_wrap(_dev_err, KERN_ERR, dev, dev_fmt(fmt), ##__VA_ARGS__) ~~~ ^~~~~~~~~~~ include/linux/dev_printk.h:110:23: note: expanded from macro 'dev_printk_index_wrap' _p_func(dev, fmt, ##__VA_ARGS__); \ ~~~ ^~~~~~~~~~~ 2 warnings generated. vim +223 drivers/phy/cadence/cdns-dphy-rx.c 203 204 static int cdns_dphy_rx_probe(struct platform_device *pdev) 205 { 206 struct device *dev = &pdev->dev; 207 struct phy_provider *provider; 208 struct cdns_dphy_rx *dphy; 209 210 dphy = devm_kzalloc(dev, sizeof(*dphy), GFP_KERNEL); 211 if (!dphy) 212 return -ENOMEM; 213 214 dev_set_drvdata(dev, dphy); 215 dphy->dev = dev; 216 217 dphy->regs = devm_platform_ioremap_resource(pdev, 0); 218 if (IS_ERR(dphy->regs)) 219 return PTR_ERR(dphy->regs); 220 221 dphy->phy = devm_phy_create(dev, NULL, &cdns_dphy_rx_ops); 222 if (IS_ERR(dphy->phy)) { > 223 dev_err(dev, "Failed to create PHY: %d\n", PTR_ERR(dphy->phy)); 224 return PTR_ERR(dphy->phy); 225 } 226 227 phy_set_drvdata(dphy->phy, dphy); 228 provider = devm_of_phy_provider_register(dev, of_phy_simple_xlate); 229 if (IS_ERR(provider)) { 230 dev_err(dev, "Failed to register PHY provider: %d\n", 231 PTR_ERR(provider)); 232 return PTR_ERR(provider); 233 } 234 235 return 0; 236 } 237 --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org From mboxrd@z Thu Jan 1 00:00:00 1970 Content-Type: multipart/mixed; boundary="===============2569662879276090875==" MIME-Version: 1.0 From: kernel test robot To: kbuild-all@lists.01.org Subject: Re: [PATCH v8 1/4] phy: cadence: Add Cadence D-PHY Rx driver Date: Sat, 22 Jan 2022 00:38:38 +0800 Message-ID: <202201220002.AYMD2qX0-lkp@intel.com> In-Reply-To: <20220121093849.3218092-2-p.yadav@ti.com> List-Id: --===============2569662879276090875== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Hi Pratyush, I love your patch! Perhaps something to improve: [auto build test WARNING on robh/for-next] [also build test WARNING on linus/master v5.16 next-20220121] [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/Pratyush-Yadav/Rx-mode-sup= port-for-Cadence-DPHY/20220121-174104 base: https://git.kernel.org/pub/scm/linux/kernel/git/robh/linux.git for-= next config: arm64-allmodconfig (https://download.01.org/0day-ci/archive/2022012= 2/202201220002.AYMD2qX0-lkp(a)intel.com/config) compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project 7b3d30= 728816403d1fd73cc5082e9fb761262bce) reproduce (this is a W=3D1 build): wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/= make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # install arm64 cross compiling tool for clang build # apt-get install binutils-aarch64-linux-gnu # https://github.com/0day-ci/linux/commit/a27020695f773ffff7f462e53= f7ff7ca39109cd0 git remote add linux-review https://github.com/0day-ci/linux git fetch --no-tags linux-review Pratyush-Yadav/Rx-mode-support-for= -Cadence-DPHY/20220121-174104 git checkout a27020695f773ffff7f462e53f7ff7ca39109cd0 # save the config file to linux build tree mkdir build_dir COMPILER_INSTALL_PATH=3D$HOME/0day COMPILER=3Dclang make.cross W=3D= 1 O=3Dbuild_dir ARCH=3Darm64 SHELL=3D/bin/bash drivers/gpu/drm/meson/ drive= rs/phy/cadence/ If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot All warnings (new ones prefixed by >>): >> drivers/phy/cadence/cdns-dphy-rx.c:223:46: warning: format specifies typ= e 'int' but the argument has type 'long' [-Wformat] dev_err(dev, "Failed to create PHY: %d\n", PTR_ERR(dphy-= >phy)); ~~ ^~~~~~~~~~~~~= ~~~~~ %ld include/linux/dev_printk.h:144:65: note: expanded from macro 'dev_err' dev_printk_index_wrap(_dev_err, KERN_ERR, dev, dev_fmt(fmt), ##_= _VA_ARGS__) ~~~ ^= ~~~~~~~~~~ include/linux/dev_printk.h:110:23: note: expanded from macro 'dev_printk= _index_wrap' _p_func(dev, fmt, ##__VA_ARGS__); \ ~~~ ^~~~~~~~~~~ drivers/phy/cadence/cdns-dphy-rx.c:231:4: warning: format specifies type= 'int' but the argument has type 'long' [-Wformat] PTR_ERR(provider)); ^~~~~~~~~~~~~~~~~ include/linux/dev_printk.h:144:65: note: expanded from macro 'dev_err' dev_printk_index_wrap(_dev_err, KERN_ERR, dev, dev_fmt(fmt), ##_= _VA_ARGS__) ~~~ ^= ~~~~~~~~~~ include/linux/dev_printk.h:110:23: note: expanded from macro 'dev_printk= _index_wrap' _p_func(dev, fmt, ##__VA_ARGS__); \ ~~~ ^~~~~~~~~~~ 2 warnings generated. vim +223 drivers/phy/cadence/cdns-dphy-rx.c 203 = 204 static int cdns_dphy_rx_probe(struct platform_device *pdev) 205 { 206 struct device *dev =3D &pdev->dev; 207 struct phy_provider *provider; 208 struct cdns_dphy_rx *dphy; 209 = 210 dphy =3D devm_kzalloc(dev, sizeof(*dphy), GFP_KERNEL); 211 if (!dphy) 212 return -ENOMEM; 213 = 214 dev_set_drvdata(dev, dphy); 215 dphy->dev =3D dev; 216 = 217 dphy->regs =3D devm_platform_ioremap_resource(pdev, 0); 218 if (IS_ERR(dphy->regs)) 219 return PTR_ERR(dphy->regs); 220 = 221 dphy->phy =3D devm_phy_create(dev, NULL, &cdns_dphy_rx_ops); 222 if (IS_ERR(dphy->phy)) { > 223 dev_err(dev, "Failed to create PHY: %d\n", PTR_ERR(dphy->phy)); 224 return PTR_ERR(dphy->phy); 225 } 226 = 227 phy_set_drvdata(dphy->phy, dphy); 228 provider =3D devm_of_phy_provider_register(dev, of_phy_simple_xlate= ); 229 if (IS_ERR(provider)) { 230 dev_err(dev, "Failed to register PHY provider: %d\n", 231 PTR_ERR(provider)); 232 return PTR_ERR(provider); 233 } 234 = 235 return 0; 236 } 237 = --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org --===============2569662879276090875==--