All of lore.kernel.org
 help / color / mirror / Atom feed
* [frank-w-bpi-r2-4.14:5.15-rtl8367dsa 31/37] cc1: error: drivers/net/phy/rtk/rtl8367c/include: No such file or directory
@ 2021-11-06  4:34 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2021-11-06  4:34 UTC (permalink / raw)
  To: kbuild-all

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

tree:   https://github.com/frank-w/BPI-R2-4.14 5.15-rtl8367dsa
head:   99ce3a58aacb46675bb47e35e306f2285064862d
commit: 54251835782f2792cb404b5c12dd412deb72dd7c [31/37] net: phy: add rtl8367 switch phy driver for r64 v0.1
config: m68k-allmodconfig (attached as .config)
compiler: m68k-linux-gcc (GCC) 11.2.0
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
        # https://github.com/frank-w/BPI-R2-4.14/commit/54251835782f2792cb404b5c12dd412deb72dd7c
        git remote add frank-w-bpi-r2-4.14 https://github.com/frank-w/BPI-R2-4.14
        git fetch --no-tags frank-w-bpi-r2-4.14 5.15-rtl8367dsa
        git checkout 54251835782f2792cb404b5c12dd412deb72dd7c
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross ARCH=m68k 

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: error: drivers/net/phy/rtk/rtl8367c/include: No such file or directory [-Werror=missing-include-dirs]
>> cc1: error: include/linux/: No such file or directory [-Werror=missing-include-dirs]
>> drivers/net/phy/rtk/rtl8367s_mdio.c:45:14: error: no previous prototype for 'mii_mgr_read' [-Werror=missing-prototypes]
      45 | unsigned int mii_mgr_read(unsigned int phy_addr,unsigned int phy_register,unsigned int *read_data)
         |              ^~~~~~~~~~~~
>> drivers/net/phy/rtk/rtl8367s_mdio.c:58:14: error: no previous prototype for 'mii_mgr_write' [-Werror=missing-prototypes]
      58 | unsigned int mii_mgr_write(unsigned int phy_addr,unsigned int phy_register,unsigned int write_data)
         |              ^~~~~~~~~~~~~
>> drivers/net/phy/rtk/rtl8367s_mdio.c:213:6: error: no previous prototype for 'init_gsw' [-Werror=missing-prototypes]
     213 | void init_gsw(void)
         |      ^~~~~~~~
   cc1: all warnings being treated as errors
--
>> cc1: error: drivers/net/phy/rtk/rtl8367c/include: No such file or directory [-Werror=missing-include-dirs]
>> cc1: error: include/linux/: No such file or directory [-Werror=missing-include-dirs]
>> drivers/net/phy/rtk/rtl8367s_dbg.c:169:5: error: no previous prototype for 'gsw_debug_proc_init' [-Werror=missing-prototypes]
     169 | int gsw_debug_proc_init(void)
         |     ^~~~~~~~~~~~~~~~~~~
>> drivers/net/phy/rtk/rtl8367s_dbg.c:190:6: error: no previous prototype for 'gsw_debug_proc_exit' [-Werror=missing-prototypes]
     190 | void gsw_debug_proc_exit(void)
         |      ^~~~~~~~~~~~~~~~~~~
   cc1: all warnings being treated as errors
--
>> cc1: error: drivers/net/phy/rtk/rtl8367c/include: No such file or directory [-Werror=missing-include-dirs]
>> cc1: error: include/linux/: No such file or directory [-Werror=missing-include-dirs]
   cc1: all warnings being treated as errors
--
>> cc1: error: drivers/net/phy/rtk/rtl8367c/include: No such file or directory [-Werror=missing-include-dirs]
>> cc1: error: include/linux/: No such file or directory [-Werror=missing-include-dirs]
>> drivers/net/phy/rtk/rtl8367c/rtk_switch.c:43:6: error: this use of "defined" may not be portable [-Werror=expansion-to-defined]
      43 | #if (AUTO_PROBE || defined(FORCE_PROBE_RTL8367C))
         |      ^~~~~~~~~~
>> drivers/net/phy/rtk/rtl8367c/rtk_switch.c:43:6: error: this use of "defined" may not be portable [-Werror=expansion-to-defined]
>> drivers/net/phy/rtk/rtl8367c/rtk_switch.c:43:6: error: this use of "defined" may not be portable [-Werror=expansion-to-defined]
>> drivers/net/phy/rtk/rtl8367c/rtk_switch.c:43:6: error: this use of "defined" may not be portable [-Werror=expansion-to-defined]
   drivers/net/phy/rtk/rtl8367c/rtk_switch.c:112:6: error: this use of "defined" may not be portable [-Werror=expansion-to-defined]
     112 | #if (AUTO_PROBE || defined(FORCE_PROBE_RTL8370B))
         |      ^~~~~~~~~~
   drivers/net/phy/rtk/rtl8367c/rtk_switch.c:112:6: error: this use of "defined" may not be portable [-Werror=expansion-to-defined]
   drivers/net/phy/rtk/rtl8367c/rtk_switch.c:112:6: error: this use of "defined" may not be portable [-Werror=expansion-to-defined]
   drivers/net/phy/rtk/rtl8367c/rtk_switch.c:112:6: error: this use of "defined" may not be portable [-Werror=expansion-to-defined]
   drivers/net/phy/rtk/rtl8367c/rtk_switch.c:181:6: error: this use of "defined" may not be portable [-Werror=expansion-to-defined]
     181 | #if (AUTO_PROBE || defined(FORCE_PROBE_RTL8364B))
         |      ^~~~~~~~~~
   drivers/net/phy/rtk/rtl8367c/rtk_switch.c:181:6: error: this use of "defined" may not be portable [-Werror=expansion-to-defined]
   drivers/net/phy/rtk/rtl8367c/rtk_switch.c:181:6: error: this use of "defined" may not be portable [-Werror=expansion-to-defined]
   drivers/net/phy/rtk/rtl8367c/rtk_switch.c:181:6: error: this use of "defined" may not be portable [-Werror=expansion-to-defined]
   drivers/net/phy/rtk/rtl8367c/rtk_switch.c:250:6: error: this use of "defined" may not be portable [-Werror=expansion-to-defined]
     250 | #if (AUTO_PROBE || defined(FORCE_PROBE_RTL8363SC_VB))
         |      ^~~~~~~~~~
   drivers/net/phy/rtk/rtl8367c/rtk_switch.c:250:6: error: this use of "defined" may not be portable [-Werror=expansion-to-defined]
   drivers/net/phy/rtk/rtl8367c/rtk_switch.c:250:6: error: this use of "defined" may not be portable [-Werror=expansion-to-defined]
   drivers/net/phy/rtk/rtl8367c/rtk_switch.c:250:6: error: this use of "defined" may not be portable [-Werror=expansion-to-defined]
   cc1: all warnings being treated as errors
--
>> cc1: error: drivers/net/phy/rtk/rtl8367c/include: No such file or directory [-Werror=missing-include-dirs]
>> cc1: error: include/linux/: No such file or directory [-Werror=missing-include-dirs]
   drivers/net/phy/rtk/rtl8367c/stat.c: In function 'rtk_stat_global_get':
>> drivers/net/phy/rtk/rtl8367c/stat.c:143:50: error: implicit conversion from 'rtk_stat_global_type_t' {aka 'enum rtk_stat_global_type_e'} to 'RTL8367C_MIBCOUNTER' {aka 'enum RTL8367C_MIBCOUNTER_E'} [-Werror=enum-conversion]
     143 |     if ((retVal = rtl8367c_getAsicMIBsCounter(0, cntr_idx, pCntr)) != RT_ERR_OK)
         |                                                  ^~~~~~~~
   drivers/net/phy/rtk/rtl8367c/stat.c: In function 'rtk_stat_global_getAll':
>> drivers/net/phy/rtk/rtl8367c/stat.c:175:49: error: implicit conversion from 'enum rtk_stat_global_type_e' to 'RTL8367C_MIBCOUNTER' {aka 'enum RTL8367C_MIBCOUNTER_E'} [-Werror=enum-conversion]
     175 |     if ((retVal = rtl8367c_getAsicMIBsCounter(0,DOT1D_TP_LEARNED_ENTRY_DISCARDS_INDEX, &pGlobal_cntrs->dot1dTpLearnedEntryDiscards)) != RT_ERR_OK)
         |                                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   cc1: all warnings being treated as errors
--
>> cc1: error: drivers/net/phy/rtk/rtl8367c/include: No such file or directory [-Werror=missing-include-dirs]
>> cc1: error: include/linux/: No such file or directory [-Werror=missing-include-dirs]
   drivers/net/phy/rtk/rtl8367c/vlan.c: In function 'rtk_vlan_protoAndPortBasedVlan_add':
>> drivers/net/phy/rtk/rtl8367c/vlan.c:953:13: error: implicit conversion from 'rtk_vlan_protoVlan_frameType_t' {aka 'enum rtk_vlan_protoVlan_frameType_e'} to 'rtl8367c_provlan_frametype' [-Werror=enum-conversion]
     953 |         tmp = pInfo->frame_type;
         |             ^
   drivers/net/phy/rtk/rtl8367c/vlan.c:979:32: error: implicit conversion from 'rtk_vlan_protoVlan_frameType_t' {aka 'enum rtk_vlan_protoVlan_frameType_e'} to 'rtl8367c_provlan_frametype' [-Werror=enum-conversion]
     979 |         ppb_data_cfg.frameType = pInfo->frame_type;
         |                                ^
   drivers/net/phy/rtk/rtl8367c/vlan.c: In function 'rtk_vlan_tagMode_set':
>> drivers/net/phy/rtk/rtl8367c/vlan.c:1270:84: error: implicit conversion from 'rtk_vlan_tagMode_t' {aka 'enum rtk_vlan_tagMode_e'} to 'rtl8367c_egtagmode' [-Werror=enum-conversion]
    1270 |     if ((retVal = rtl8367c_setAsicVlanEgressTagMode(rtk_switch_port_L2P_get(port), tag_mode)) != RT_ERR_OK)
         |                                                                                    ^~~~~~~~
   cc1: all warnings being treated as errors

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

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

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

only message in thread, other threads:[~2021-11-06  4:34 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-06  4:34 [frank-w-bpi-r2-4.14:5.15-rtl8367dsa 31/37] cc1: error: drivers/net/phy/rtk/rtl8367c/include: No such file or directory kernel test robot

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.