Re: [PATCH] USB: PHY: JZ4770: Use the generic PHY framework.

kernel test robot
2020-08-30T10:39:39Z

[-- Attachment #1: Type: text/plain, Size: 3341 bytes --]

Hi "周琰杰,

Thank you for the patch! Perhaps something to improve:

[auto build test WARNING on next-20200828]
[cannot apply to balbi-usb/testing/next linus/master phy/next v5.9-rc2 v5.9-rc1 v5.8 v5.9-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]

url: https://github.com/0day-ci/linux/commits/Zhou-Yanjie/USB-PHY-JZ4770-Use-the-generic-PHY-framework/20200830-154912
base: b36c969764ab12faebb74711c942fa3e6eaf1e96
config: x86_64-randconfig-a012-20200830 (attached as .config)
compiler: clang version 12.0.0 (https://github.com/llvm/llvm-project c10e63677f5d20f18010f8f68c631ddc97546f7d)
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 x86_64 cross compiling tool for clang build
# apt-get install binutils-x86-64-linux-gnu
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=x86_64

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>

All warnings (new ones prefixed by >>):

>> drivers/phy/ingenic/phy-ingenic-usb.c:312:34: warning: unused variable 'ingenic_usb_phy_of_matches' [-Wunused-const-variable]
static const struct of_device_id ingenic_usb_phy_of_matches[] = {
^
1 warning generated.

# https://github.com/0day-ci/linux/commit/ab23f57890f43ef92dc601678a07b7754cc1833b
git remote add linux-review https://github.com/0day-ci/linux
git fetch --no-tags linux-review Zhou-Yanjie/USB-PHY-JZ4770-Use-the-generic-PHY-framework/20200830-154912
git checkout ab23f57890f43ef92dc601678a07b7754cc1833b
vim +/ingenic_usb_phy_of_matches +312 drivers/phy/ingenic/phy-ingenic-usb.c

2a6c0b82e65128c drivers/usb/phy/phy-jz4770.c 周琰杰 (Zhou Yanjie 2020-07-23 311)
2a6c0b82e65128c drivers/usb/phy/phy-jz4770.c 周琰杰 (Zhou Yanjie 2020-07-23 @312) static const struct of_device_id ingenic_usb_phy_of_matches[] = {
2a6c0b82e65128c drivers/usb/phy/phy-jz4770.c 周琰杰 (Zhou Yanjie 2020-07-23 313) { .compatible = "ingenic,jz4770-phy", .data = &jz4770_soc_info },
2a6c0b82e65128c drivers/usb/phy/phy-jz4770.c 周琰杰 (Zhou Yanjie 2020-07-23 314) { .compatible = "ingenic,jz4780-phy", .data = &jz4780_soc_info },
2a6c0b82e65128c drivers/usb/phy/phy-jz4770.c 周琰杰 (Zhou Yanjie 2020-07-23 315) { .compatible = "ingenic,x1000-phy", .data = &x1000_soc_info },
2a6c0b82e65128c drivers/usb/phy/phy-jz4770.c 周琰杰 (Zhou Yanjie 2020-07-23 316) { .compatible = "ingenic,x1830-phy", .data = &x1830_soc_info },
2a6c0b82e65128c drivers/usb/phy/phy-jz4770.c 周琰杰 (Zhou Yanjie 2020-07-23 317) { /* sentinel */ }
2a6c0b82e65128c drivers/usb/phy/phy-jz4770.c 周琰杰 (Zhou Yanjie 2020-07-23 318) };
2a6c0b82e65128c drivers/usb/phy/phy-jz4770.c 周琰杰 (Zhou Yanjie 2020-07-23 319) MODULE_DEVICE_TABLE(of, ingenic_usb_phy_of_matches);
2a6c0b82e65128c drivers/usb/phy/phy-jz4770.c 周琰杰 (Zhou Yanjie 2020-07-23 320)

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 31061 bytes --]