[xlnx:xlnx_rebase_v5.4 877/1757] include/linux/phy/phy-zynqmp.h:25:60: error: unknown type name 'u8'

kernel test robot lkp at intel.com
Thu May 13 23:39:19 PDT 2021


tree:   https://github.com/Xilinx/linux-xlnx xlnx_rebase_v5.4
head:   f09edce8c39b74223461bf2175649535ebe8b213
commit: 976601b0f932344ea7739ffabf03dbe7429c0f27 [877/1757] phy: zynqmp: Add phy driver for xilinx zynqmp phy core
config: um-allmodconfig (attached as .config)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
reproduce (this is a W=1 build):
        # https://github.com/Xilinx/linux-xlnx/commit/976601b0f932344ea7739ffabf03dbe7429c0f27
        git remote add xlnx https://github.com/Xilinx/linux-xlnx
        git fetch --no-tags xlnx xlnx_rebase_v5.4
        git checkout 976601b0f932344ea7739ffabf03dbe7429c0f27
        # save the attached .config to linux build tree
        make W=1 W=1 ARCH=um 

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

All errors (new ones prefixed by >>):

   cc1: warning: arch/um/include/uapi: No such file or directory [-Wmissing-include-dirs]
   In file included from <command-line>:
>> include/linux/phy/phy-zynqmp.h:25:60: error: unknown type name 'u8'
      25 | static inline int xpsgtr_override_deemph(struct phy *base, u8 plvl, u8 vlvl)
         |                                                            ^~
   include/linux/phy/phy-zynqmp.h:25:69: error: unknown type name 'u8'
      25 | static inline int xpsgtr_override_deemph(struct phy *base, u8 plvl, u8 vlvl)
         |                                                                     ^~
   include/linux/phy/phy-zynqmp.h:30:61: error: unknown type name 'u8'
      30 | static inline int xpsgtr_margining_factor(struct phy *base, u8 plvl, u8 vlvl)
         |                                                             ^~
   include/linux/phy/phy-zynqmp.h:30:70: error: unknown type name 'u8'
      30 | static inline int xpsgtr_margining_factor(struct phy *base, u8 plvl, u8 vlvl)
         |                                                                      ^~
   include/linux/phy/phy-zynqmp.h: In function 'xpsgtr_wait_pll_lock':
>> include/linux/phy/phy-zynqmp.h:37:10: error: 'ENODEV' undeclared (first use in this function)
      37 |  return -ENODEV;
         |          ^~~~~~
   include/linux/phy/phy-zynqmp.h:37:10: note: each undeclared identifier is reported only once for each function it appears in
   include/linux/phy/phy-zynqmp.h: In function 'xpsgtr_usb_crst_assert':
   include/linux/phy/phy-zynqmp.h:42:10: error: 'ENODEV' undeclared (first use in this function)
      42 |  return -ENODEV;
         |          ^~~~~~
   include/linux/phy/phy-zynqmp.h: In function 'xpsgtr_usb_crst_release':
   include/linux/phy/phy-zynqmp.h:47:10: error: 'ENODEV' undeclared (first use in this function)
      47 |  return -ENODEV;
         |          ^~~~~~

Kconfig warnings: (for reference only)
   WARNING: unmet direct dependencies detected for UIO_DMEM_GENIRQ
   Depends on UIO && HAS_DMA
   Selected by
   - UIO_XILINX_AI_ENGINE && UIO


vim +/u8 +25 include/linux/phy/phy-zynqmp.h

    24	
  > 25	static inline int xpsgtr_override_deemph(struct phy *base, u8 plvl, u8 vlvl)
    26	{
    27		return -ENODEV;
    28	}
    29	
    30	static inline int xpsgtr_margining_factor(struct phy *base, u8 plvl, u8 vlvl)
    31	{
    32		return -ENODEV;
    33	}
    34	
    35	extern inline int xpsgtr_wait_pll_lock(struct phy *phy)
    36	{
  > 37		return -ENODEV;
    38	}
    39	

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: .config.gz
Type: application/gzip
Size: 21947 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20210514/76cfa448/attachment-0001.gz>


More information about the linux-arm-kernel mailing list