linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [xlnx:xlnx_rebase_v5.4 877/1757] include/linux/phy/phy-zynqmp.h:25:60: error: unknown type name 'u8'
@ 2021-05-14  6:39 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2021-05-14  6:39 UTC (permalink / raw)
  To: Manish Narani
  Cc: kbuild-all, linux-arm-kernel, Michal Simek, Anurag Kumar Vulisha,
	Hyun Kwon, Piyush Mehta

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

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@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

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

[-- Attachment #3: Type: text/plain, Size: 176 bytes --]

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-05-14  6:42 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-14  6:39 [xlnx:xlnx_rebase_v5.4 877/1757] include/linux/phy/phy-zynqmp.h:25:60: error: unknown type name 'u8' kernel test robot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).