All of lore.kernel.org
 help / color / mirror / Atom feed
* sound/soc//intel/boards/bxt_da7219_max98357a.c:19:10: fatal error: asm/cpu_device_id.h: No such file or directory
@ 2019-05-20  6:52 kbuild test robot
  0 siblings, 0 replies; only message in thread
From: kbuild test robot @ 2019-05-20  6:52 UTC (permalink / raw)
  To: Mark Brown; +Cc: kbuild-all, linux-kernel

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

Hi Mark,

FYI, the error/warning still remains.

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   a188339ca5a396acc588e5851ed7e19f66b0ebd9
commit: 164a263bf8d003e4cbb197d52b74d26df72604d7 ASoC: Intel: Make boards more available for compile test
date:   3 weeks ago
config: ia64-allyesconfig (attached as .config)
compiler: ia64-linux-gcc (GCC) 8.1.0
reproduce:
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        git checkout 164a263bf8d003e4cbb197d52b74d26df72604d7
        # save the attached .config to linux build tree
        GCC_VERSION=8.1.0 make.cross ARCH=ia64 

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

All errors (new ones prefixed by >>):

>> sound/soc//intel/boards/bxt_da7219_max98357a.c:19:10: fatal error: asm/cpu_device_id.h: No such file or directory
    #include <asm/cpu_device_id.h>
             ^~~~~~~~~~~~~~~~~~~~~
   compilation terminated.
--
>> sound/soc//intel/boards/bytcr_rt5640.c:31:10: fatal error: asm/cpu_device_id.h: No such file or directory
    #include <asm/cpu_device_id.h>
             ^~~~~~~~~~~~~~~~~~~~~
   compilation terminated.
--
>> sound/soc//intel/boards/bytcr_rt5651.c:33:10: fatal error: asm/cpu_device_id.h: No such file or directory
    #include <asm/cpu_device_id.h>
             ^~~~~~~~~~~~~~~~~~~~~
   compilation terminated.
--
>> sound/soc//intel/boards/cht_bsw_rt5645.c:29:10: fatal error: asm/cpu_device_id.h: No such file or directory
    #include <asm/cpu_device_id.h>
             ^~~~~~~~~~~~~~~~~~~~~
   compilation terminated.
--
>> sound/soc//intel/boards/bytcht_da7213.c:26:10: fatal error: asm/platform_sst_audio.h: No such file or directory
    #include <asm/platform_sst_audio.h>
             ^~~~~~~~~~~~~~~~~~~~~~~~~~
   compilation terminated.
--
>> sound/soc//intel/boards/bytcht_es8316.c:33:10: fatal error: asm/cpu_device_id.h: No such file or directory
    #include <asm/cpu_device_id.h>
             ^~~~~~~~~~~~~~~~~~~~~
   compilation terminated.
--
>> sound/soc/intel/skylake/skl-ssp-clk.c:26:16: error: field 'hw' has incomplete type
     struct clk_hw hw;
                   ^~
   In file included from include/linux/kernel.h:11,
                    from sound/soc/intel/skylake/skl-ssp-clk.c:8:
   sound/soc/intel/skylake/skl-ssp-clk.c: In function 'skl_clk_prepare':
>> include/linux/kernel.h:979:32: error: dereferencing pointer to incomplete type 'struct clk_hw'
     BUILD_BUG_ON_MSG(!__same_type(*(ptr), ((type *)0)->member) && \
                                   ^~~~~~
   include/linux/compiler.h:324:9: note: in definition of macro '__compiletime_assert'
      if (!(condition))     \
            ^~~~~~~~~
   include/linux/compiler.h:344:2: note: in expansion of macro '_compiletime_assert'
     _compiletime_assert(condition, msg, __compiletime_assert_, __LINE__)
     ^~~~~~~~~~~~~~~~~~~
   include/linux/build_bug.h:39:37: note: in expansion of macro 'compiletime_assert'
    #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg)
                                        ^~~~~~~~~~~~~~~~~~
   include/linux/kernel.h:979:2: note: in expansion of macro 'BUILD_BUG_ON_MSG'
     BUILD_BUG_ON_MSG(!__same_type(*(ptr), ((type *)0)->member) && \
     ^~~~~~~~~~~~~~~~
   include/linux/kernel.h:979:20: note: in expansion of macro '__same_type'
     BUILD_BUG_ON_MSG(!__same_type(*(ptr), ((type *)0)->member) && \
                       ^~~~~~~~~~~
   sound/soc/intel/skylake/skl-ssp-clk.c:18:25: note: in expansion of macro 'container_of'
    #define to_skl_clk(_hw) container_of(_hw, struct skl_clk, hw)
                            ^~~~~~~~~~~~
   sound/soc/intel/skylake/skl-ssp-clk.c:201:27: note: in expansion of macro 'to_skl_clk'
     struct skl_clk *clkdev = to_skl_clk(hw);
                              ^~~~~~~~~~
   sound/soc/intel/skylake/skl-ssp-clk.c: At top level:
>> sound/soc/intel/skylake/skl-ssp-clk.c:260:21: error: variable 'skl_clk_ops' has initializer but incomplete type
    static const struct clk_ops skl_clk_ops = {
                        ^~~~~~~
>> sound/soc/intel/skylake/skl-ssp-clk.c:261:3: error: 'const struct clk_ops' has no member named 'prepare'
     .prepare = skl_clk_prepare,
      ^~~~~~~
   sound/soc/intel/skylake/skl-ssp-clk.c:261:13: warning: excess elements in struct initializer
     .prepare = skl_clk_prepare,
                ^~~~~~~~~~~~~~~
   sound/soc/intel/skylake/skl-ssp-clk.c:261:13: note: (near initialization for 'skl_clk_ops')
>> sound/soc/intel/skylake/skl-ssp-clk.c:262:3: error: 'const struct clk_ops' has no member named 'unprepare'
     .unprepare = skl_clk_unprepare,
      ^~~~~~~~~
   sound/soc/intel/skylake/skl-ssp-clk.c:262:15: warning: excess elements in struct initializer
     .unprepare = skl_clk_unprepare,
                  ^~~~~~~~~~~~~~~~~
   sound/soc/intel/skylake/skl-ssp-clk.c:262:15: note: (near initialization for 'skl_clk_ops')
>> sound/soc/intel/skylake/skl-ssp-clk.c:263:3: error: 'const struct clk_ops' has no member named 'set_rate'
     .set_rate = skl_clk_set_rate,
      ^~~~~~~~
   sound/soc/intel/skylake/skl-ssp-clk.c:263:14: warning: excess elements in struct initializer
     .set_rate = skl_clk_set_rate,
                 ^~~~~~~~~~~~~~~~
   sound/soc/intel/skylake/skl-ssp-clk.c:263:14: note: (near initialization for 'skl_clk_ops')
>> sound/soc/intel/skylake/skl-ssp-clk.c:264:3: error: 'const struct clk_ops' has no member named 'round_rate'
     .round_rate = skl_clk_round_rate,
      ^~~~~~~~~~
   sound/soc/intel/skylake/skl-ssp-clk.c:264:16: warning: excess elements in struct initializer
     .round_rate = skl_clk_round_rate,
                   ^~~~~~~~~~~~~~~~~~
   sound/soc/intel/skylake/skl-ssp-clk.c:264:16: note: (near initialization for 'skl_clk_ops')
>> sound/soc/intel/skylake/skl-ssp-clk.c:265:3: error: 'const struct clk_ops' has no member named 'recalc_rate'
     .recalc_rate = skl_clk_recalc_rate,
      ^~~~~~~~~~~
   sound/soc/intel/skylake/skl-ssp-clk.c:265:17: warning: excess elements in struct initializer
     .recalc_rate = skl_clk_recalc_rate,
                    ^~~~~~~~~~~~~~~~~~~
   sound/soc/intel/skylake/skl-ssp-clk.c:265:17: note: (near initialization for 'skl_clk_ops')
   sound/soc/intel/skylake/skl-ssp-clk.c: In function 'unregister_parent_src_clk':
>> sound/soc/intel/skylake/skl-ssp-clk.c:273:3: error: implicit declaration of function 'clk_hw_unregister_fixed_rate'; did you mean 'clk_hw_register_clkdev'? [-Werror=implicit-function-declaration]
      clk_hw_unregister_fixed_rate(pclk[id].hw);
      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
      clk_hw_register_clkdev
   sound/soc/intel/skylake/skl-ssp-clk.c: In function 'skl_register_parent_clks':
>> sound/soc/intel/skylake/skl-ssp-clk.c:294:18: error: implicit declaration of function 'clk_hw_register_fixed_rate'; did you mean 'clk_hw_register_clkdev'? [-Werror=implicit-function-declaration]
      parent[i].hw = clk_hw_register_fixed_rate(dev, pclk[i].name,
                     ^~~~~~~~~~~~~~~~~~~~~~~~~~
                     clk_hw_register_clkdev
   sound/soc/intel/skylake/skl-ssp-clk.c:294:16: warning: assignment to 'struct clk_hw *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
      parent[i].hw = clk_hw_register_fixed_rate(dev, pclk[i].name,
                   ^
   sound/soc/intel/skylake/skl-ssp-clk.c: In function 'register_skl_clk':
>> sound/soc/intel/skylake/skl-ssp-clk.c:321:23: error: storage size of 'init' isn't known
     struct clk_init_data init;
                          ^~~~
>> sound/soc/intel/skylake/skl-ssp-clk.c:331:15: error: 'CLK_SET_RATE_GATE' undeclared (first use in this function); did you mean 'DL_STATE_NONE'?
     init.flags = CLK_SET_RATE_GATE;
                  ^~~~~~~~~~~~~~~~~
                  DL_STATE_NONE
   sound/soc/intel/skylake/skl-ssp-clk.c:331:15: note: each undeclared identifier is reported only once for each function it appears in
>> sound/soc/intel/skylake/skl-ssp-clk.c:338:8: error: implicit declaration of function 'devm_clk_hw_register'; did you mean 'devm_clk_hw_register_clkdev'? [-Werror=implicit-function-declaration]
     ret = devm_clk_hw_register(dev, &clkdev->hw);
           ^~~~~~~~~~~~~~~~~~~~
           devm_clk_hw_register_clkdev
   sound/soc/intel/skylake/skl-ssp-clk.c:321:23: warning: unused variable 'init' [-Wunused-variable]
     struct clk_init_data init;
                          ^~~~
   sound/soc/intel/skylake/skl-ssp-clk.c: At top level:
>> sound/soc/intel/skylake/skl-ssp-clk.c:260:29: error: storage size of 'skl_clk_ops' isn't known
    static const struct clk_ops skl_clk_ops = {
                                ^~~~~~~~~~~
   cc1: some warnings being treated as errors
--
   sound/soc//intel/skylake/skl-ssp-clk.c:26:16: error: field 'hw' has incomplete type
     struct clk_hw hw;
                   ^~
   In file included from include/linux/kernel.h:11,
                    from sound/soc//intel/skylake/skl-ssp-clk.c:8:
   sound/soc//intel/skylake/skl-ssp-clk.c: In function 'skl_clk_prepare':
>> include/linux/kernel.h:979:32: error: dereferencing pointer to incomplete type 'struct clk_hw'
     BUILD_BUG_ON_MSG(!__same_type(*(ptr), ((type *)0)->member) && \
                                   ^~~~~~
   include/linux/compiler.h:324:9: note: in definition of macro '__compiletime_assert'
      if (!(condition))     \
            ^~~~~~~~~
   include/linux/compiler.h:344:2: note: in expansion of macro '_compiletime_assert'
     _compiletime_assert(condition, msg, __compiletime_assert_, __LINE__)
     ^~~~~~~~~~~~~~~~~~~
   include/linux/build_bug.h:39:37: note: in expansion of macro 'compiletime_assert'
    #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg)
                                        ^~~~~~~~~~~~~~~~~~
   include/linux/kernel.h:979:2: note: in expansion of macro 'BUILD_BUG_ON_MSG'
     BUILD_BUG_ON_MSG(!__same_type(*(ptr), ((type *)0)->member) && \
     ^~~~~~~~~~~~~~~~
   include/linux/kernel.h:979:20: note: in expansion of macro '__same_type'
     BUILD_BUG_ON_MSG(!__same_type(*(ptr), ((type *)0)->member) && \
                       ^~~~~~~~~~~
   sound/soc//intel/skylake/skl-ssp-clk.c:18:25: note: in expansion of macro 'container_of'
    #define to_skl_clk(_hw) container_of(_hw, struct skl_clk, hw)
                            ^~~~~~~~~~~~
   sound/soc//intel/skylake/skl-ssp-clk.c:201:27: note: in expansion of macro 'to_skl_clk'
     struct skl_clk *clkdev = to_skl_clk(hw);
                              ^~~~~~~~~~
   sound/soc//intel/skylake/skl-ssp-clk.c: At top level:
   sound/soc//intel/skylake/skl-ssp-clk.c:260:21: error: variable 'skl_clk_ops' has initializer but incomplete type
    static const struct clk_ops skl_clk_ops = {
                        ^~~~~~~
   sound/soc//intel/skylake/skl-ssp-clk.c:261:3: error: 'const struct clk_ops' has no member named 'prepare'
     .prepare = skl_clk_prepare,
      ^~~~~~~
   sound/soc//intel/skylake/skl-ssp-clk.c:261:13: warning: excess elements in struct initializer
     .prepare = skl_clk_prepare,
                ^~~~~~~~~~~~~~~
   sound/soc//intel/skylake/skl-ssp-clk.c:261:13: note: (near initialization for 'skl_clk_ops')
   sound/soc//intel/skylake/skl-ssp-clk.c:262:3: error: 'const struct clk_ops' has no member named 'unprepare'
     .unprepare = skl_clk_unprepare,
      ^~~~~~~~~
   sound/soc//intel/skylake/skl-ssp-clk.c:262:15: warning: excess elements in struct initializer
     .unprepare = skl_clk_unprepare,
                  ^~~~~~~~~~~~~~~~~
   sound/soc//intel/skylake/skl-ssp-clk.c:262:15: note: (near initialization for 'skl_clk_ops')
   sound/soc//intel/skylake/skl-ssp-clk.c:263:3: error: 'const struct clk_ops' has no member named 'set_rate'
     .set_rate = skl_clk_set_rate,
      ^~~~~~~~
   sound/soc//intel/skylake/skl-ssp-clk.c:263:14: warning: excess elements in struct initializer
     .set_rate = skl_clk_set_rate,
                 ^~~~~~~~~~~~~~~~
   sound/soc//intel/skylake/skl-ssp-clk.c:263:14: note: (near initialization for 'skl_clk_ops')
   sound/soc//intel/skylake/skl-ssp-clk.c:264:3: error: 'const struct clk_ops' has no member named 'round_rate'
     .round_rate = skl_clk_round_rate,
      ^~~~~~~~~~
   sound/soc//intel/skylake/skl-ssp-clk.c:264:16: warning: excess elements in struct initializer
     .round_rate = skl_clk_round_rate,
                   ^~~~~~~~~~~~~~~~~~
   sound/soc//intel/skylake/skl-ssp-clk.c:264:16: note: (near initialization for 'skl_clk_ops')
   sound/soc//intel/skylake/skl-ssp-clk.c:265:3: error: 'const struct clk_ops' has no member named 'recalc_rate'
     .recalc_rate = skl_clk_recalc_rate,
      ^~~~~~~~~~~
   sound/soc//intel/skylake/skl-ssp-clk.c:265:17: warning: excess elements in struct initializer
     .recalc_rate = skl_clk_recalc_rate,
                    ^~~~~~~~~~~~~~~~~~~
   sound/soc//intel/skylake/skl-ssp-clk.c:265:17: note: (near initialization for 'skl_clk_ops')
   sound/soc//intel/skylake/skl-ssp-clk.c: In function 'unregister_parent_src_clk':
   sound/soc//intel/skylake/skl-ssp-clk.c:273:3: error: implicit declaration of function 'clk_hw_unregister_fixed_rate'; did you mean 'clk_hw_register_clkdev'? [-Werror=implicit-function-declaration]
      clk_hw_unregister_fixed_rate(pclk[id].hw);
      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
      clk_hw_register_clkdev
   sound/soc//intel/skylake/skl-ssp-clk.c: In function 'skl_register_parent_clks':
   sound/soc//intel/skylake/skl-ssp-clk.c:294:18: error: implicit declaration of function 'clk_hw_register_fixed_rate'; did you mean 'clk_hw_register_clkdev'? [-Werror=implicit-function-declaration]
      parent[i].hw = clk_hw_register_fixed_rate(dev, pclk[i].name,
                     ^~~~~~~~~~~~~~~~~~~~~~~~~~
                     clk_hw_register_clkdev
   sound/soc//intel/skylake/skl-ssp-clk.c:294:16: warning: assignment to 'struct clk_hw *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
      parent[i].hw = clk_hw_register_fixed_rate(dev, pclk[i].name,
                   ^
   sound/soc//intel/skylake/skl-ssp-clk.c: In function 'register_skl_clk':
   sound/soc//intel/skylake/skl-ssp-clk.c:321:23: error: storage size of 'init' isn't known
     struct clk_init_data init;
                          ^~~~
   sound/soc//intel/skylake/skl-ssp-clk.c:331:15: error: 'CLK_SET_RATE_GATE' undeclared (first use in this function); did you mean 'DL_STATE_NONE'?
     init.flags = CLK_SET_RATE_GATE;
                  ^~~~~~~~~~~~~~~~~
                  DL_STATE_NONE
   sound/soc//intel/skylake/skl-ssp-clk.c:331:15: note: each undeclared identifier is reported only once for each function it appears in
   sound/soc//intel/skylake/skl-ssp-clk.c:338:8: error: implicit declaration of function 'devm_clk_hw_register'; did you mean 'devm_clk_hw_register_clkdev'? [-Werror=implicit-function-declaration]
     ret = devm_clk_hw_register(dev, &clkdev->hw);
           ^~~~~~~~~~~~~~~~~~~~
           devm_clk_hw_register_clkdev
   sound/soc//intel/skylake/skl-ssp-clk.c:321:23: warning: unused variable 'init' [-Wunused-variable]
     struct clk_init_data init;
                          ^~~~
   sound/soc//intel/skylake/skl-ssp-clk.c: At top level:
   sound/soc//intel/skylake/skl-ssp-clk.c:260:29: error: storage size of 'skl_clk_ops' isn't known
    static const struct clk_ops skl_clk_ops = {
                                ^~~~~~~~~~~
   cc1: some warnings being treated as errors

vim +19 sound/soc//intel/boards/bxt_da7219_max98357a.c

c011245a Yong Zhi               2019-02-13 @19  #include <asm/cpu_device_id.h>
9dd9b210 Yong Zhi               2019-02-13  20  #include <linux/input.h>
723bad3f Sathyanarayana Nujella 2016-05-31  21  #include <linux/module.h>
723bad3f Sathyanarayana Nujella 2016-05-31  22  #include <linux/platform_device.h>
723bad3f Sathyanarayana Nujella 2016-05-31  23  #include <sound/core.h>
723bad3f Sathyanarayana Nujella 2016-05-31  24  #include <sound/jack.h>
723bad3f Sathyanarayana Nujella 2016-05-31  25  #include <sound/pcm.h>
723bad3f Sathyanarayana Nujella 2016-05-31  26  #include <sound/pcm_params.h>
723bad3f Sathyanarayana Nujella 2016-05-31  27  #include <sound/soc.h>
7ebf2528 Pierre-Louis Bossart   2019-01-25  28  #include <sound/soc-acpi.h>
723bad3f Sathyanarayana Nujella 2016-05-31  29  #include "../../codecs/hdac_hdmi.h"
723bad3f Sathyanarayana Nujella 2016-05-31  30  #include "../../codecs/da7219.h"
723bad3f Sathyanarayana Nujella 2016-05-31  31  #include "../../codecs/da7219-aad.h"
723bad3f Sathyanarayana Nujella 2016-05-31  32  

:::::: The code at line 19 was first introduced by commit
:::::: c011245a197017f8e9e9d140b658bdb2b702a0c5 ASoC: Intel: Add Geminilake Dialog Maxim machine driver

:::::: TO: Yong Zhi <yong.zhi@intel.com>
:::::: CC: Mark Brown <broonie@kernel.org>

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

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

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

only message in thread, other threads:[~2019-05-20  6:52 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-05-20  6:52 sound/soc//intel/boards/bxt_da7219_max98357a.c:19:10: fatal error: asm/cpu_device_id.h: 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.