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

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

tree:   https://github.com/frank-w/BPI-R2-4.14 5.8-rc
head:   d1aed336dd98422f620f11eb5d24ef39fc2d6fa2
commit: 5da5c99dbf16d4ece89d6f9ea68ef15af162afb3 [17/57] mt6625l: set MTK_PLATFORM in Makefile if none is set via *config
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 5da5c99dbf16d4ece89d6f9ea68ef15af162afb3
        # 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: kernel test robot <lkp@intel.com>

All errors (new ones prefixed by >>):

>> cc1: error: drivers/misc/mediatek/include/mt-plat/mt7623/include: No such file or directory [-Werror=missing-include-dirs]
>> cc1: error: arch/arm/mach-mt7623//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/mt7623/include: No such file or directory [-Werror=missing-include-dirs]
>> cc1: error: arch/arm/mach-mt7623//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/mt7623/include: No such file or directory [-Werror=missing-include-dirs]
>> cc1: error: arch/arm/mach-mt7623/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_log_buf_dmp_out':
   drivers/misc/mediatek/btif/common/mtk_btif.c:3029:17: error: variable 'p_buf' set but not used [-Werror=unused-but-set-variable]
    3029 |  unsigned char *p_buf = NULL;
         |                 ^~~~~
   cc1: all warnings being treated as errors
--
>> cc1: error: drivers/misc/mediatek/include/mt-plat/mt7623/include: No such file or directory [-Werror=missing-include-dirs]
>> cc1: error: arch/arm/mach-mt7623/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/mt7623/include: No such file or directory [-Werror=missing-include-dirs]
>> cc1: error: arch/arm/mach-mt7623/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:1313:17: error: variable 'flag' set but not used [-Werror=unused-but-set-variable]
    1313 |    unsigned int flag = 0;
         |                 ^~~~
   cc1: all warnings being treated as errors
--
>> cc1: error: drivers/misc/mediatek/include/mt-plat/mt7623/include: No such file or directory [-Werror=missing-include-dirs]
>> cc1: error: arch/arm/mach-mt7623/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:1343:17: error: variable 'flag' set but not used [-Werror=unused-but-set-variable]
    1343 |    unsigned int flag = 0;
         |                 ^~~~
   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: 75989 bytes --]

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

only message in thread, other threads:[~2020-07-26 20:06 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-26 20:06 [frank-w-bpi-r2-4.14:5.8-rc 17/57] cc1: error: drivers/misc/mediatek/include/mt-plat/mt7623/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.