All of lore.kernel.org
 help / color / mirror / Atom feed
* [frank-w-bpi-r2-4.14:5.7-rc 13/50] cc1: error: drivers/misc/mediatek/include/mt-plat//include: No such file or directory
@ 2020-05-31 17:53 kbuild test robot
  0 siblings, 0 replies; only message in thread
From: kbuild test robot @ 2020-05-31 17:53 UTC (permalink / raw)
  To: kbuild-all

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

tree:   https://github.com/frank-w/BPI-R2-4.14 5.7-rc
head:   b020fdd1ceb1683f13d77545ad0aa5c194fed62f
commit: f3f726dccda55cf4cfa3d9bc23923dc5b9e48404 [13/50] mt6625l: include wifi-folder
config: arm-allyesconfig (attached as .config)
compiler: arm-linux-gnueabi-gcc (GCC) 9.3.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
        git checkout f3f726dccda55cf4cfa3d9bc23923dc5b9e48404
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=arm 

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

Note: the frank-w-bpi-r2-4.14/5.7-rc HEAD b020fdd1ceb1683f13d77545ad0aa5c194fed62f builds fine.
      It only hurts bisectibility.

All error/warnings (new ones prefixed by >>, old ones prefixed by <<):

>> cc1: error: drivers/misc/mediatek/include/mt-plat//include: No such file or directory [-Werror=missing-include-dirs]
>> cc1: error: arch/arm/mach-/include/mach: No such file or directory [-Werror=missing-include-dirs]
In file included from drivers/misc/mediatek/btif/common/plat_inc/btif_pub.h:17,
from drivers/misc/mediatek/btif/common/mtk_btif.c:37:
drivers/misc/mediatek/btif/common/plat_inc/plat_common.h: In function 'hal_log_print':
>> drivers/misc/mediatek/btif/common/plat_inc/plat_common.h:64:2: error: function 'hal_log_print' might be a candidate for 'gnu_printf' format attribute [-Werror=suggest-attribute=format]
64 |  vsnprintf(temp_sring, DBG_LOG_STR_SIZE, str, args);
|  ^~~~~~~~~
drivers/misc/mediatek/btif/common/mtk_btif.c: In function 'mtk_btif_restore_noirq':
>> drivers/misc/mediatek/btif/common/mtk_btif.c:379:6: error: variable 'i_ret' set but not used [-Werror=unused-but-set-variable]
379 |  int i_ret = 0;
|      ^~~~~
drivers/misc/mediatek/btif/common/mtk_btif.c: At top level:
>> drivers/misc/mediatek/btif/common/mtk_btif.c:522:6: error: no previous prototype for 'btif_rx_notify_cb' [-Werror=missing-prototypes]
522 | void btif_rx_notify_cb(void)
|      ^~~~~~~~~~~~~~~~~
drivers/misc/mediatek/btif/common/mtk_btif.c: In function 'flag_store':
>> drivers/misc/mediatek/btif/common/mtk_btif.c:773:6: error: variable 'result' set but not used [-Werror=unused-but-set-variable]
773 |  int result = 0;
|      ^~~~~~
drivers/misc/mediatek/btif/common/mtk_btif.c: In function '_btif_pio_write':
>> drivers/misc/mediatek/btif/common/mtk_btif.c:2779:42: error: comparison of unsigned expression < 0 is always false [-Werror=type-limits]
2779 |   if ((++retry > max_tx_retry) || (i_ret < 0)) {
|                                          ^
drivers/misc/mediatek/btif/common/mtk_btif.c: In function 'btif_log_buf_dmp_out':
>> drivers/misc/mediatek/btif/common/mtk_btif.c:3034:17: error: variable 'p_buf' set but not used [-Werror=unused-but-set-variable]
3034 |  unsigned char *p_buf = NULL;
|                 ^~~~~
cc1: all warnings being treated as errors
--
>> cc1: error: drivers/misc/mediatek/include/mt-plat//include: No such file or directory [-Werror=missing-include-dirs]
>> cc1: error: arch/arm/mach-/include/mach: No such file or directory [-Werror=missing-include-dirs]
In file included from drivers/misc/mediatek/btif/common/plat_inc/btif_pub.h:17,
from drivers/misc/mediatek/btif/common/inc/mtk_btif.h:37,
from drivers/misc/mediatek/btif/common/mtk_btif_exp.c:20:
drivers/misc/mediatek/btif/common/plat_inc/plat_common.h: In function 'hal_log_print':
>> drivers/misc/mediatek/btif/common/plat_inc/plat_common.h:64:2: error: function 'hal_log_print' might be a candidate for 'gnu_printf' format attribute [-Werror=suggest-attribute=format]
64 |  vsnprintf(temp_sring, DBG_LOG_STR_SIZE, str, args);
|  ^~~~~~~~~
drivers/misc/mediatek/btif/common/mtk_btif_exp.c: At top level:
>> drivers/misc/mediatek/btif/common/mtk_btif_exp.c:24:12: error: no previous prototype for 'btif_exp_srh_id' [-Werror=missing-prototypes]
24 | p_mtk_btif btif_exp_srh_id(unsigned long u_id)
|            ^~~~~~~~~~~~~~~
>> drivers/misc/mediatek/btif/common/mtk_btif_exp.c:512:5: error: no previous prototype for 'btif_open_no_id' [-Werror=missing-prototypes]
512 | int btif_open_no_id(void)
|     ^~~~~~~~~~~~~~~
>> drivers/misc/mediatek/btif/common/mtk_btif_exp.c:527:5: error: no previous prototype for 'btif_close_no_id' [-Werror=missing-prototypes]
527 | int btif_close_no_id(void)
|     ^~~~~~~~~~~~~~~~
>> drivers/misc/mediatek/btif/common/mtk_btif_exp.c:541:5: error: no previous prototype for 'btif_write_no_id' [-Werror=missing-prototypes]
541 | int btif_write_no_id(const unsigned char *p_buf, unsigned int len)
|     ^~~~~~~~~~~~~~~~
>> drivers/misc/mediatek/btif/common/mtk_btif_exp.c:562:5: error: no previous prototype for 'btif_dpidle_ctrl_no_id' [-Werror=missing-prototypes]
562 | int btif_dpidle_ctrl_no_id(ENUM_BTIF_DPIDLE_CTRL en_flag)
|     ^~~~~~~~~~~~~~~~~~~~~~
>> drivers/misc/mediatek/btif/common/mtk_btif_exp.c:586:5: error: no previous prototype for 'btif_loopback_ctrl_no_id' [-Werror=missing-prototypes]
586 | int btif_loopback_ctrl_no_id(ENUM_BTIF_LPBK_MODE enable)
|     ^~~~~~~~~~~~~~~~~~~~~~~~
>> drivers/misc/mediatek/btif/common/mtk_btif_exp.c:597:5: error: no previous prototype for 'btif_dbg_ctrl_no_id' [-Werror=missing-prototypes]
597 | int btif_dbg_ctrl_no_id(ENUM_BTIF_DBG_ID flag)
|     ^~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
--
>> cc1: error: drivers/misc/mediatek/include/mt-plat//include: No such file or directory [-Werror=missing-include-dirs]
>> cc1: error: arch/arm/mach-/include/mach: No such file or directory [-Werror=missing-include-dirs]
In file included from drivers/misc/mediatek/btif/common/plat_inc/btif_dma_pub.h:19,
from drivers/misc/mediatek/btif/common/plat_inc/btif_dma_priv.h:18,
from drivers/misc/mediatek/btif/common/btif_dma_plat.c:22:
drivers/misc/mediatek/btif/common/plat_inc/plat_common.h: In function 'hal_log_print':
>> drivers/misc/mediatek/btif/common/plat_inc/plat_common.h:64:2: error: function 'hal_log_print' might be a candidate for 'gnu_printf' format attribute [-Werror=suggest-attribute=format]
64 |  vsnprintf(temp_sring, DBG_LOG_STR_SIZE, str, args);
|  ^~~~~~~~~
drivers/misc/mediatek/btif/common/btif_dma_plat.c: In function 'hal_dma_pm_ops':
>> drivers/misc/mediatek/btif/common/btif_dma_plat.c:1315:17: error: variable 'flag' set but not used [-Werror=unused-but-set-variable]
1315 |    unsigned int flag = 0;
|                 ^~~~
cc1: all warnings being treated as errors
--
>> cc1: error: drivers/misc/mediatek/include/mt-plat//include: No such file or directory [-Werror=missing-include-dirs]
>> cc1: error: arch/arm/mach-/include/mach: No such file or directory [-Werror=missing-include-dirs]
In file included from drivers/misc/mediatek/btif/common/plat_inc/btif_pub.h:17,
from drivers/misc/mediatek/btif/common/btif_plat.c:21:
drivers/misc/mediatek/btif/common/plat_inc/plat_common.h: In function 'hal_log_print':
>> drivers/misc/mediatek/btif/common/plat_inc/plat_common.h:64:2: error: function 'hal_log_print' might be a candidate for 'gnu_printf' format attribute [-Werror=suggest-attribute=format]
64 |  vsnprintf(temp_sring, DBG_LOG_STR_SIZE, str, args);
|  ^~~~~~~~~
drivers/misc/mediatek/btif/common/btif_plat.c: In function 'hal_btif_pm_ops':
>> drivers/misc/mediatek/btif/common/btif_plat.c:1348:17: error: variable 'flag' set but not used [-Werror=unused-but-set-variable]
1348 |    unsigned int flag = 0;
|                 ^~~~
cc1: all warnings being treated as errors
--
>> cc1: error: drivers/misc/mediatek/include/mt-plat//include: No such file or directory [-Werror=missing-include-dirs]
>> cc1: error: arch/arm/mach-//dct/dct: No such file or directory [-Werror=missing-include-dirs]
In file included from drivers/misc/mediatek/connectivity/common/common_detect/wmt_gpio.c:15:
>> drivers/misc/mediatek/connectivity/common/common_detect/wmt_gpio.h:24:10: fatal error: osal.h: No such file or directory
24 | #include "osal.h"
|          ^~~~~~~~
cc1: all warnings being treated as errors
compilation terminated.
--
>> cc1: error: drivers/misc/mediatek/include/mt-plat//include: No such file or directory [-Werror=missing-include-dirs]
>> cc1: error: arch/arm/mach-//dct/dct: No such file or directory [-Werror=missing-include-dirs]
In file included from drivers/misc/mediatek/connectivity/common/common_detect/sdio_detect.c:20:
drivers/misc/mediatek/connectivity/common/common_detect/sdio_detect.c: In function 'hif_sdio_is_chipid_valid':
>> drivers/misc/mediatek/connectivity/common/common_detect/wmt_detect.h:77:23: error: comparison of unsigned expression >= 0 is always true [-Werror=type-limits]
77 |  if (gWmtDetectDbgLvl >= WMT_DETECT_LOG_ERR)          |                       ^~
>> drivers/misc/mediatek/connectivity/common/common_detect/sdio_detect.c:108:3: note: in expansion of macro 'WMT_DETECT_ERR_FUNC'
108 |   WMT_DETECT_ERR_FUNC("no supported chipid foundn");
|   ^~~~~~~~~~~~~~~~~~~
drivers/misc/mediatek/connectivity/common/common_detect/sdio_detect.c: In function 'hif_sdio_match_chipid_by_dev_id':
>> drivers/misc/mediatek/connectivity/common/common_detect/wmt_detect.h:77:23: error: comparison of unsigned expression >= 0 is always true [-Werror=type-limits]
77 |  if (gWmtDetectDbgLvl >= WMT_DETECT_LOG_ERR)          |                       ^~
drivers/misc/mediatek/connectivity/common/common_detect/sdio_detect.c:135:3: note: in expansion of macro 'WMT_DETECT_ERR_FUNC'
135 |   WMT_DETECT_ERR_FUNC("No valid chipId found, vendor id(0x%x), device id(0x%x)n", id->vendor,
|   ^~~~~~~~~~~~~~~~~~~
drivers/misc/mediatek/connectivity/common/common_detect/sdio_detect.c: In function 'sdio_detect_probe':
>> drivers/misc/mediatek/connectivity/common/common_detect/wmt_detect.h:77:23: error: comparison of unsigned expression >= 0 is always true [-Werror=type-limits]
77 |  if (gWmtDetectDbgLvl >= WMT_DETECT_LOG_ERR)          |                       ^~
drivers/misc/mediatek/connectivity/common/common_detect/sdio_detect.c:236:4: note: in expansion of macro 'WMT_DETECT_ERR_FUNC'
236 |    WMT_DETECT_ERR_FUNC("sdio_enable_func failed!n");
|    ^~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
--
>> cc1: error: drivers/misc/mediatek/include/mt-plat//include: No such file or directory [-Werror=missing-include-dirs]
>> cc1: error: arch/arm/mach-//dct/dct: No such file or directory [-Werror=missing-include-dirs]
In file included from drivers/misc/mediatek/connectivity/common/common_detect/drv_init/conn_drv_init.c:20:
drivers/misc/mediatek/connectivity/common/common_detect/drv_init/conn_drv_init.c: In function 'do_wlan_drv_init':
>> drivers/misc/mediatek/connectivity/common/common_detect/drv_init/../wmt_detect.h:77:23: error: comparison of unsigned expression >= 0 is always true [-Werror=type-limits]
77 |  if (gWmtDetectDbgLvl >= WMT_DETECT_LOG_ERR)          |                       ^~
>> drivers/misc/mediatek/connectivity/common/common_detect/drv_init/conn_drv_init.c:31:2: note: in expansion of macro 'WMT_DETECT_ERR_FUNC'
31 |  WMT_DETECT_ERR_FUNC("Can not find wlan module for chip: %d !n", chip_id);
|  ^~~~~~~~~~~~~~~~~~~
drivers/misc/mediatek/connectivity/common/common_detect/drv_init/conn_drv_init.c: In function 'do_connectivity_driver_init':
>> drivers/misc/mediatek/connectivity/common/common_detect/drv_init/../wmt_detect.h:77:23: error: comparison of unsigned expression >= 0 is always true [-Werror=type-limits]
77 |  if (gWmtDetectDbgLvl >= WMT_DETECT_LOG_ERR)          |                       ^~
drivers/misc/mediatek/connectivity/common/common_detect/drv_init/conn_drv_init.c:49:3: note: in expansion of macro 'WMT_DETECT_ERR_FUNC'
49 |   WMT_DETECT_ERR_FUNC("do common driver init failed, ret:%dn", tmp_ret);
|   ^~~~~~~~~~~~~~~~~~~
>> drivers/misc/mediatek/connectivity/common/common_detect/drv_init/../wmt_detect.h:77:23: error: comparison of unsigned expression >= 0 is always true [-Werror=type-limits]
77 |  if (gWmtDetectDbgLvl >= WMT_DETECT_LOG_ERR)          |                       ^~
drivers/misc/mediatek/connectivity/common/common_detect/drv_init/conn_drv_init.c:50:3: note: in expansion of macro 'WMT_DETECT_ERR_FUNC'
50 |   WMT_DETECT_ERR_FUNC("abort connectivity driver init, because common part is not readyn");
|   ^~~~~~~~~~~~~~~~~~~
>> drivers/misc/mediatek/connectivity/common/common_detect/drv_init/../wmt_detect.h:77:23: error: comparison of unsigned expression >= 0 is always true [-Werror=type-limits]
77 |  if (gWmtDetectDbgLvl >= WMT_DETECT_LOG_ERR)          |                       ^~
drivers/misc/mediatek/connectivity/common/common_detect/drv_init/conn_drv_init.c:58:3: note: in expansion of macro 'WMT_DETECT_ERR_FUNC'
58 |   WMT_DETECT_ERR_FUNC("do common driver init failed, ret:%dn", tmp_ret);
|   ^~~~~~~~~~~~~~~~~~~
>> drivers/misc/mediatek/connectivity/common/common_detect/drv_init/../wmt_detect.h:77:23: error: comparison of unsigned expression >= 0 is always true [-Werror=type-limits]
77 |  if (gWmtDetectDbgLvl >= WMT_DETECT_LOG_ERR)          |                       ^~
drivers/misc/mediatek/connectivity/common/common_detect/drv_init/conn_drv_init.c:75:3: note: in expansion of macro 'WMT_DETECT_ERR_FUNC'
75 |   WMT_DETECT_ERR_FUNC("do wlan module init failed, ret:%dn", tmp_ret);
|   ^~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
--
>> cc1: error: drivers/misc/mediatek/include/mt-plat//include: No such file or directory [-Werror=missing-include-dirs]
>> cc1: error: arch/arm/mach-//dct/dct: No such file or directory [-Werror=missing-include-dirs]
In file included from drivers/misc/mediatek/connectivity/common/common_detect/drv_init/common_drv_init.c:20:
drivers/misc/mediatek/connectivity/common/common_detect/drv_init/common_drv_init.c: In function 'do_combo_common_drv_init':
>> drivers/misc/mediatek/connectivity/common/common_detect/drv_init/../wmt_detect.h:77:23: error: comparison of unsigned expression >= 0 is always true [-Werror=type-limits]
77 |  if (gWmtDetectDbgLvl >= WMT_DETECT_LOG_ERR)          |                       ^~
>> drivers/misc/mediatek/connectivity/common/common_detect/drv_init/common_drv_init.c:54:2: note: in expansion of macro 'WMT_DETECT_ERR_FUNC'
54 |  WMT_DETECT_ERR_FUNC("COMBO chip is not supported, please check CONFIG_MTK_COMBO_CHIP in kernel confign");
|  ^~~~~~~~~~~~~~~~~~~
drivers/misc/mediatek/connectivity/common/common_detect/drv_init/common_drv_init.c: In function 'do_soc_common_drv_init':
>> drivers/misc/mediatek/connectivity/common/common_detect/drv_init/../wmt_detect.h:77:23: error: comparison of unsigned expression >= 0 is always true [-Werror=type-limits]
77 |  if (gWmtDetectDbgLvl >= WMT_DETECT_LOG_ERR)          |                       ^~
drivers/misc/mediatek/connectivity/common/common_detect/drv_init/common_drv_init.c:76:2: note: in expansion of macro 'WMT_DETECT_ERR_FUNC'
76 |  WMT_DETECT_ERR_FUNC("SOC chip is not supported, please check CONFIG_MTK_COMBO_CHIP in kernel confign");
|  ^~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
--
>> cc1: error: drivers/misc/mediatek/include/mt-plat//include: No such file or directory [-Werror=missing-include-dirs]
>> cc1: error: arch/arm/mach-//dct/dct: No such file or directory [-Werror=missing-include-dirs]
cc1: all warnings being treated as errors
--
>> cc1: error: drivers/misc/mediatek/include/mt-plat//include: No such file or directory [-Werror=missing-include-dirs]
>> cc1: error: arch/arm/mach-//dct/dct: No such file or directory [-Werror=missing-include-dirs]
In file included from drivers/misc/mediatek/connectivity/common/common_detect/drv_init/wlan_drv_init.c:20:
drivers/misc/mediatek/connectivity/common/common_detect/drv_init/wlan_drv_init.c: In function 'do_wlan_drv_init':
>> drivers/misc/mediatek/connectivity/common/common_detect/drv_init/../wmt_detect.h:77:23: error: comparison of unsigned expression >= 0 is always true [-Werror=type-limits]
77 |  if (gWmtDetectDbgLvl >= WMT_DETECT_LOG_ERR)          |                       ^~
>> drivers/misc/mediatek/connectivity/common/common_detect/drv_init/wlan_drv_init.c:47:3: note: in expansion of macro 'WMT_DETECT_ERR_FUNC'
47 |   WMT_DETECT_ERR_FUNC("WLAN-GEN3 driver is not supported, please check CONFIG_MTK_COMBO_CHIPn");
|   ^~~~~~~~~~~~~~~~~~~
>> drivers/misc/mediatek/connectivity/common/common_detect/drv_init/../wmt_detect.h:77:23: error: comparison of unsigned expression >= 0 is always true [-Werror=type-limits]
77 |  if (gWmtDetectDbgLvl >= WMT_DETECT_LOG_ERR)          |                       ^~
drivers/misc/mediatek/connectivity/common/common_detect/drv_init/wlan_drv_init.c:62:3: note: in expansion of macro 'WMT_DETECT_ERR_FUNC'
62 |   WMT_DETECT_ERR_FUNC("WLAN-GEN2 driver is not supported, please check CONFIG_MTK_COMBO_CHIPn");
|   ^~~~~~~~~~~~~~~~~~~
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: 74272 bytes --]

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

only message in thread, other threads:[~2020-05-31 17:53 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-31 17:53 [frank-w-bpi-r2-4.14:5.7-rc 13/50] cc1: error: drivers/misc/mediatek/include/mt-plat//include: No such file or directory kbuild 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.