[lkml]   [2022]   [May]   [31]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH 2/3] usb: phy: Add devm_of_usb_get_phy_by_phandle
Hi Harsh,

Thank you for the patch! Perhaps something to improve:

[auto build test WARNING on usb/usb-testing]
[also build test WARNING on robh/for-next v5.18 next-20220531]
[cannot apply to balbi-usb/testing/next]
[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]

base: usb-testing
config: csky-defconfig (
compiler: csky-linux-gcc (GCC) 11.3.0
reproduce (this is a W=1 build):
wget -O ~/bin/make.cross
chmod +x ~/bin/make.cross
git remote add linux-review
git fetch --no-tags linux-review Harsh-Agarwal/Add-support-for-multiport-controller/20220531-162337
git checkout 7af1d0e696ec2ddf574df10e3bf3799299b8061a
# save the config file
mkdir build_dir && cp config build_dir/.config
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.3.0 make.cross W=1 O=build_dir ARCH=csky SHELL=/bin/bash drivers/usb/phy/

If you fix the issue, kindly add following tag where applicable
Reported-by: kernel test robot <>

All warnings (new ones prefixed by >>):

In file included from include/linux/usb/otg.h:14,
from include/linux/usb/of.h:12,
from drivers/usb/phy/of.c:9:
>> include/linux/usb/phy.h:257:16: warning: 'ERR_PTR' is static but used in inline function 'devm_of_usb_get_phy_by_phandle' which is not static
257 | return ERR_PTR(-ENXIO);
| ^~~~~~~

vim +257 include/linux/usb/phy.h

254 extern inline struct usb_phy *devm_of_usb_get_phy_by_phandle(struct device *dev,
255 const char *phandle, u8 index, struct device_node *lookup_node)
256 {
> 257 return ERR_PTR(-ENXIO);
258 }

0-DAY CI Kernel Test Service

 \ /
  Last update: 2022-05-31 12:22    [W:0.081 / U:7.216 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site