All of lore.kernel.org
 help / color / mirror / Atom feed
* [frank-w-bpi-r2-4.14:5.15-r2pro 30/41] drivers/net/phy/rtk/rtl8367c/rtk_switch.c:43:6: error: this use of "defined" may not be portable
@ 2021-10-03 17:07 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2021-10-03 17:07 UTC (permalink / raw)
  To: kbuild-all

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

tree:   https://github.com/frank-w/BPI-R2-4.14 5.15-r2pro
head:   557a40d015a304c590be93b7b71a37f271feff38
commit: 45c802de94ef8f995473ee77bc53126c82693dc8 [30/41] rtl8367: fix more includes
config: powerpc-allyesconfig (attached as .config)
compiler: powerpc64-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/45c802de94ef8f995473ee77bc53126c82693dc8
        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-r2pro
        git checkout 45c802de94ef8f995473ee77bc53126c82693dc8
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross ARCH=powerpc 

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: In function 'gsw_debug_proc_init':
>> drivers/net/phy/rtk/rtl8367s_dbg.c:176:55: error: passing argument 4 of 'proc_create' from incompatible pointer type [-Werror=incompatible-pointer-types]
     176 |         proc_create(PROCREG_ESW_CNT, 0, proc_reg_dir, &switch_count_fops);
         |                                                       ^~~~~~~~~~~~~~~~~~
         |                                                       |
         |                                                       const struct file_operations *
   In file included from drivers/net/phy/rtk/rtl8367s_dbg.c:3:
   include/linux/proc_fs.h:110:122: note: expected 'const struct proc_ops *' but argument is of type 'const struct file_operations *'
     110 | struct proc_dir_entry *proc_create(const char *name, umode_t mode, struct proc_dir_entry *parent, const struct proc_ops *proc_ops);
         |                                                                                                   ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
   drivers/net/phy/rtk/rtl8367s_dbg.c:182:52: error: passing argument 4 of 'proc_create' from incompatible pointer type [-Werror=incompatible-pointer-types]
     182 |         proc_create(PROCREG_VLAN, 0, proc_reg_dir, &switch_vlan_fops);
         |                                                    ^~~~~~~~~~~~~~~~~
         |                                                    |
         |                                                    const struct file_operations *
   In file included from drivers/net/phy/rtk/rtl8367s_dbg.c:3:
   include/linux/proc_fs.h:110:122: note: expected 'const struct proc_ops *' but argument is of type 'const struct file_operations *'
     110 | struct proc_dir_entry *proc_create(const char *name, umode_t mode, struct proc_dir_entry *parent, const struct proc_ops *proc_ops);
         |                                                                                                   ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
   drivers/net/phy/rtk/rtl8367s_dbg.c: At top level:
>> 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]
>> 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:41:15: error: no previous prototype for 'rtk_stat_global_reset' [-Werror=missing-prototypes]
      41 | rtk_api_ret_t rtk_stat_global_reset(void)
         |               ^~~~~~~~~~~~~~~~~~~~~
>> drivers/net/phy/rtk/rtl8367c/stat.c:69:15: error: no previous prototype for 'rtk_stat_port_reset' [-Werror=missing-prototypes]
      69 | rtk_api_ret_t rtk_stat_port_reset(rtk_port_t port)
         |               ^~~~~~~~~~~~~~~~~~~
>> drivers/net/phy/rtk/rtl8367c/stat.c:100:15: error: no previous prototype for 'rtk_stat_queueManage_reset' [-Werror=missing-prototypes]
     100 | rtk_api_ret_t rtk_stat_queueManage_reset(void)
         |               ^~~~~~~~~~~~~~~~~~~~~~~~~~
>> drivers/net/phy/rtk/rtl8367c/stat.c:130:35: error: unknown type name 'rtk_stat_global_type_t'
     130 | rtk_api_ret_t rtk_stat_global_get(rtk_stat_global_type_t cntr_idx, rtk_stat_counter_t *pCntr)
         |                                   ^~~~~~~~~~~~~~~~~~~~~~
>> drivers/net/phy/rtk/rtl8367c/stat.c:130:68: error: unknown type name 'rtk_stat_counter_t'
     130 | rtk_api_ret_t rtk_stat_global_get(rtk_stat_global_type_t cntr_idx, rtk_stat_counter_t *pCntr)
         |                                                                    ^~~~~~~~~~~~~~~~~~
>> drivers/net/phy/rtk/rtl8367c/stat.c:165:38: error: unknown type name 'rtk_stat_global_cntr_t'
     165 | rtk_api_ret_t rtk_stat_global_getAll(rtk_stat_global_cntr_t *pGlobal_cntrs)
         |                                      ^~~~~~~~~~~~~~~~~~~~~~
>> drivers/net/phy/rtk/rtl8367c/stat.c:182:40: error: unknown type name 'rtk_stat_port_type_t'
     182 | static rtk_api_ret_t _get_asic_mib_idx(rtk_stat_port_type_t cnt_idx, RTL8367C_MIBCOUNTER *pMib_idx)
         |                                        ^~~~~~~~~~~~~~~~~~~~
   drivers/net/phy/rtk/rtl8367c/stat.c:276:50: error: unknown type name 'rtk_stat_port_type_t'
     276 | rtk_api_ret_t rtk_stat_port_get(rtk_port_t port, rtk_stat_port_type_t cntr_idx, rtk_stat_counter_t *pCntr)
         |                                                  ^~~~~~~~~~~~~~~~~~~~
   drivers/net/phy/rtk/rtl8367c/stat.c:276:81: error: unknown type name 'rtk_stat_counter_t'
     276 | rtk_api_ret_t rtk_stat_port_get(rtk_port_t port, rtk_stat_port_type_t cntr_idx, rtk_stat_counter_t *pCntr)
         |                                                                                 ^~~~~~~~~~~~~~~~~~
>> drivers/net/phy/rtk/rtl8367c/stat.c:344:53: error: unknown type name 'rtk_stat_port_cntr_t'
     344 | rtk_api_ret_t rtk_stat_port_getAll(rtk_port_t port, rtk_stat_port_cntr_t *pPort_cntrs)
         |                                                     ^~~~~~~~~~~~~~~~~~~~
>> drivers/net/phy/rtk/rtl8367c/stat.c:409:63: error: unknown type name 'rtk_logging_counter_mode_t'
     409 | rtk_api_ret_t rtk_stat_logging_counterCfg_set(rtk_uint32 idx, rtk_logging_counter_mode_t mode, rtk_logging_counter_type_t type)
         |                                                               ^~~~~~~~~~~~~~~~~~~~~~~~~~
>> drivers/net/phy/rtk/rtl8367c/stat.c:409:96: error: unknown type name 'rtk_logging_counter_type_t'
     409 | rtk_api_ret_t rtk_stat_logging_counterCfg_set(rtk_uint32 idx, rtk_logging_counter_mode_t mode, rtk_logging_counter_type_t type)
         |                                                                                                ^~~~~~~~~~~~~~~~~~~~~~~~~~
   drivers/net/phy/rtk/rtl8367c/stat.c:456:63: error: unknown type name 'rtk_logging_counter_mode_t'
     456 | rtk_api_ret_t rtk_stat_logging_counterCfg_get(rtk_uint32 idx, rtk_logging_counter_mode_t *pMode, rtk_logging_counter_type_t *pType)
         |                                                               ^~~~~~~~~~~~~~~~~~~~~~~~~~
   drivers/net/phy/rtk/rtl8367c/stat.c:456:98: error: unknown type name 'rtk_logging_counter_type_t'
     456 | rtk_api_ret_t rtk_stat_logging_counterCfg_get(rtk_uint32 idx, rtk_logging_counter_mode_t *pMode, rtk_logging_counter_type_t *pType)
         |                                                                                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~
>> drivers/net/phy/rtk/rtl8367c/stat.c:505:15: error: no previous prototype for 'rtk_stat_logging_counter_reset' [-Werror=missing-prototypes]
     505 | rtk_api_ret_t rtk_stat_logging_counter_reset(rtk_uint32 idx)
         |               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>> drivers/net/phy/rtk/rtl8367c/stat.c:537:15: error: no previous prototype for 'rtk_stat_logging_counter_get' [-Werror=missing-prototypes]
     537 | rtk_api_ret_t rtk_stat_logging_counter_get(rtk_uint32 idx, rtk_uint32 *pCnt)
         |               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
>> drivers/net/phy/rtk/rtl8367c/stat.c:573:39: error: unknown type name 'rtk_stat_lengthMode_t'
     573 | rtk_api_ret_t rtk_stat_lengthMode_set(rtk_stat_lengthMode_t txMode, rtk_stat_lengthMode_t rxMode)
         |                                       ^~~~~~~~~~~~~~~~~~~~~
   drivers/net/phy/rtk/rtl8367c/stat.c:573:69: error: unknown type name 'rtk_stat_lengthMode_t'
     573 | rtk_api_ret_t rtk_stat_lengthMode_set(rtk_stat_lengthMode_t txMode, rtk_stat_lengthMode_t rxMode)
         |                                                                     ^~~~~~~~~~~~~~~~~~~~~
   drivers/net/phy/rtk/rtl8367c/stat.c:608:39: error: unknown type name 'rtk_stat_lengthMode_t'
     608 | rtk_api_ret_t rtk_stat_lengthMode_get(rtk_stat_lengthMode_t *pTxMode, rtk_stat_lengthMode_t *pRxMode)
         |                                       ^~~~~~~~~~~~~~~~~~~~~
   drivers/net/phy/rtk/rtl8367c/stat.c:608:71: error: unknown type name 'rtk_stat_lengthMode_t'
     608 | rtk_api_ret_t rtk_stat_lengthMode_get(rtk_stat_lengthMode_t *pTxMode, rtk_stat_lengthMode_t *pRxMode)
         |                                                                       ^~~~~~~~~~~~~~~~~~~~~
   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


vim +/defined +43 drivers/net/phy/rtk/rtl8367c/rtk_switch.c

411a1d9540ab20 Sean Wang 2018-07-19   42  
411a1d9540ab20 Sean Wang 2018-07-19  @43  #if (AUTO_PROBE || defined(FORCE_PROBE_RTL8367C))
411a1d9540ab20 Sean Wang 2018-07-19   44  static rtk_switch_halCtrl_t rtl8367c_hal_Ctrl =
411a1d9540ab20 Sean Wang 2018-07-19   45  {
411a1d9540ab20 Sean Wang 2018-07-19   46      /* Switch Chip */
411a1d9540ab20 Sean Wang 2018-07-19   47      CHIP_RTL8367C,
411a1d9540ab20 Sean Wang 2018-07-19   48  
411a1d9540ab20 Sean Wang 2018-07-19   49      /* Logical to Physical */
411a1d9540ab20 Sean Wang 2018-07-19   50      {0, 1, 2, 3, 4, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF,
411a1d9540ab20 Sean Wang 2018-07-19   51       6, 7, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF },
411a1d9540ab20 Sean Wang 2018-07-19   52  
411a1d9540ab20 Sean Wang 2018-07-19   53      /* Physical to Logical */
411a1d9540ab20 Sean Wang 2018-07-19   54      {UTP_PORT0, UTP_PORT1, UTP_PORT2, UTP_PORT3, UTP_PORT4, UNDEFINE_PORT, EXT_PORT0, EXT_PORT1,
411a1d9540ab20 Sean Wang 2018-07-19   55       UNDEFINE_PORT, UNDEFINE_PORT, UNDEFINE_PORT, UNDEFINE_PORT, UNDEFINE_PORT, UNDEFINE_PORT, UNDEFINE_PORT, UNDEFINE_PORT,
411a1d9540ab20 Sean Wang 2018-07-19   56       UNDEFINE_PORT, UNDEFINE_PORT, UNDEFINE_PORT, UNDEFINE_PORT, UNDEFINE_PORT, UNDEFINE_PORT, UNDEFINE_PORT, UNDEFINE_PORT,
411a1d9540ab20 Sean Wang 2018-07-19   57       UNDEFINE_PORT, UNDEFINE_PORT, UNDEFINE_PORT, UNDEFINE_PORT, UNDEFINE_PORT, UNDEFINE_PORT, UNDEFINE_PORT, UNDEFINE_PORT},
411a1d9540ab20 Sean Wang 2018-07-19   58  
411a1d9540ab20 Sean Wang 2018-07-19   59      /* Port Type */
411a1d9540ab20 Sean Wang 2018-07-19   60      {UTP_PORT, UTP_PORT, UTP_PORT, UTP_PORT, UTP_PORT, UNKNOWN_PORT, UNKNOWN_PORT, UNKNOWN_PORT,
411a1d9540ab20 Sean Wang 2018-07-19   61       UNKNOWN_PORT, UNKNOWN_PORT, UNKNOWN_PORT, UNKNOWN_PORT, UNKNOWN_PORT, UNKNOWN_PORT, UNKNOWN_PORT, UNKNOWN_PORT,
411a1d9540ab20 Sean Wang 2018-07-19   62       EXT_PORT, EXT_PORT, UNKNOWN_PORT, UNKNOWN_PORT, UNKNOWN_PORT, UNKNOWN_PORT, UNKNOWN_PORT, UNKNOWN_PORT,
411a1d9540ab20 Sean Wang 2018-07-19   63       UNKNOWN_PORT, UNKNOWN_PORT, UNKNOWN_PORT, UNKNOWN_PORT, UNKNOWN_PORT, UNKNOWN_PORT, UNKNOWN_PORT, UNKNOWN_PORT},
411a1d9540ab20 Sean Wang 2018-07-19   64  
411a1d9540ab20 Sean Wang 2018-07-19   65      /* PTP port */
411a1d9540ab20 Sean Wang 2018-07-19   66      {1, 1, 1, 1, 1, 0, 0, 0,
411a1d9540ab20 Sean Wang 2018-07-19   67       0, 0, 0, 0, 0, 0, 0, 0,
411a1d9540ab20 Sean Wang 2018-07-19   68       0, 0, 0, 0, 0, 0, 0, 0,
411a1d9540ab20 Sean Wang 2018-07-19   69       0, 0, 0, 0, 0, 0, 0, 0 },
411a1d9540ab20 Sean Wang 2018-07-19   70  
411a1d9540ab20 Sean Wang 2018-07-19   71      /* Valid port mask */
411a1d9540ab20 Sean Wang 2018-07-19   72      ( (0x1 << UTP_PORT0) | (0x1 << UTP_PORT1) | (0x1 << UTP_PORT2) | (0x1 << UTP_PORT3) | (0x1 << UTP_PORT4) | (0x1 << EXT_PORT0) | (0x1 << EXT_PORT1) ),
411a1d9540ab20 Sean Wang 2018-07-19   73  
411a1d9540ab20 Sean Wang 2018-07-19   74      /* Valid UTP port mask */
411a1d9540ab20 Sean Wang 2018-07-19   75      ( (0x1 << UTP_PORT0) | (0x1 << UTP_PORT1) | (0x1 << UTP_PORT2) | (0x1 << UTP_PORT3) | (0x1 << UTP_PORT4) ),
411a1d9540ab20 Sean Wang 2018-07-19   76  
411a1d9540ab20 Sean Wang 2018-07-19   77      /* Valid EXT port mask */
411a1d9540ab20 Sean Wang 2018-07-19   78      ( (0x1 << EXT_PORT0) | (0x1 << EXT_PORT1) ),
411a1d9540ab20 Sean Wang 2018-07-19   79  
411a1d9540ab20 Sean Wang 2018-07-19   80      /* Valid CPU port mask */
411a1d9540ab20 Sean Wang 2018-07-19   81      0x00,
411a1d9540ab20 Sean Wang 2018-07-19   82  
411a1d9540ab20 Sean Wang 2018-07-19   83      /* Minimum physical port number */
411a1d9540ab20 Sean Wang 2018-07-19   84      0,
411a1d9540ab20 Sean Wang 2018-07-19   85  
411a1d9540ab20 Sean Wang 2018-07-19   86      /* Maxmum physical port number */
411a1d9540ab20 Sean Wang 2018-07-19   87      7,
411a1d9540ab20 Sean Wang 2018-07-19   88  
411a1d9540ab20 Sean Wang 2018-07-19   89      /* Physical port mask */
411a1d9540ab20 Sean Wang 2018-07-19   90      0xDF,
411a1d9540ab20 Sean Wang 2018-07-19   91  
411a1d9540ab20 Sean Wang 2018-07-19   92      /* Combo Logical port ID */
411a1d9540ab20 Sean Wang 2018-07-19   93      4,
411a1d9540ab20 Sean Wang 2018-07-19   94  
411a1d9540ab20 Sean Wang 2018-07-19   95      /* HSG Logical port ID */
411a1d9540ab20 Sean Wang 2018-07-19   96      EXT_PORT0,
411a1d9540ab20 Sean Wang 2018-07-19   97  
411a1d9540ab20 Sean Wang 2018-07-19   98      /* SGMII Logical portmask */
411a1d9540ab20 Sean Wang 2018-07-19   99      (0x1 << EXT_PORT0),
411a1d9540ab20 Sean Wang 2018-07-19  100  
411a1d9540ab20 Sean Wang 2018-07-19  101      /* Max Meter ID */
411a1d9540ab20 Sean Wang 2018-07-19  102      31,
411a1d9540ab20 Sean Wang 2018-07-19  103  
411a1d9540ab20 Sean Wang 2018-07-19  104      /* MAX LUT Address Number */
411a1d9540ab20 Sean Wang 2018-07-19  105      2112,
411a1d9540ab20 Sean Wang 2018-07-19  106  
411a1d9540ab20 Sean Wang 2018-07-19  107      /* Trunk Group Mask */
411a1d9540ab20 Sean Wang 2018-07-19  108      0x03
411a1d9540ab20 Sean Wang 2018-07-19  109  };
411a1d9540ab20 Sean Wang 2018-07-19  110  #endif
411a1d9540ab20 Sean Wang 2018-07-19  111  

:::::: The code@line 43 was first introduced by commit
:::::: 411a1d9540ab20be64920818433b04acd0a99665 net: phy: add rtl8367 switch phy

:::::: TO: Sean Wang <sean.wang@mediatek.com>
:::::: CC: Frank Wunderlich <frank-w@public-files.de>

---
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: 74085 bytes --]

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

only message in thread, other threads:[~2021-10-03 17:07 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-03 17:07 [frank-w-bpi-r2-4.14:5.15-r2pro 30/41] drivers/net/phy/rtk/rtl8367c/rtk_switch.c:43:6: error: this use of "defined" may not be portable 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.