Re: [PATCH RESEND v6 5/5] USB: PHY: JZ4770: Use the generic PHY framework.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi "周琰杰,

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 linus/master v5.8-rc6 next-20200724]
[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
https://git-scm.com/docs/git-format-patch]

url:    https://github.com/0day-ci/linux/commits/Zhou-Yanjie/dt-bindings-USB-Add-bindings-for-new-Ingenic-SoCs/20200725-161930
base:   https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing
config: x86_64-randconfig-a005-20200726 (attached as .config)
compiler: clang version 12.0.0 (https://github.com/llvm/llvm-project 8bf4c1f4fb257774f66c8cda07adc6c5e8668326)
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@xxxxxxxxx>

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.

vim +/ingenic_usb_phy_of_matches +312 drivers/phy/ingenic/phy-ingenic-usb.c

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

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

Attachment: .config.gz
Description: application/gzip


[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux