All of lore.kernel.org
 help / color / mirror / Atom feed
From: kbuild test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: [linux-sof-driver:pr/2155 1/1] include/sound/sof/ext_manifest.h:97:29: error: field 'hdr' has incomplete type
Date: Tue, 02 Jun 2020 00:57:13 +0800	[thread overview]
Message-ID: <202006020009.C8UemCe2%lkp@intel.com> (raw)

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

tree:   https://github.com/thesofproject/linux pr/2155
head:   9df44d84b86dfe5ec20bfaacc16fd8d3d02ea78b
commit: 9df44d84b86dfe5ec20bfaacc16fd8d3d02ea78b [1/1] ASoC: SOF: ext_manifest: Parse debug ABI version
config: arm64-sof-customedconfig-sof-defconfig (attached as .config)
compiler: aarch64-linux-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 9df44d84b86dfe5ec20bfaacc16fd8d3d02ea78b
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=arm64 

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

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

In file included from sound/soc/sof/loader.c:15:
>> include/sound/sof/ext_manifest.h:97:29: error: field 'hdr' has incomplete type
97 |  struct ext_man_elem_header hdr;
|                             ^~~
In file included from include/sound/sof/header.h:13,
from include/sound/sof/info.h:12,
from include/sound/sof/ext_manifest.h:22,
from sound/soc/sof/loader.c:15:
sound/soc/sof/loader.c: In function 'ext_man_get_dbg_abi_info':
>> sound/soc/sof/loader.c:188:33: error: 'const struct ext_man_dbg_abi' has no member named 'abi_version'
188 |    SOF_ABI_VERSION_MAJOR(dbg_abi->abi_version),
|                                 ^~
include/uapi/sound/sof/abi.h:46:5: note: in definition of macro 'SOF_ABI_VERSION_MAJOR'
46 |  (((version) >> SOF_ABI_MAJOR_SHIFT) & SOF_ABI_MAJOR_MASK)
|     ^~~~~~~
>> sound/soc/sof/loader.c:186:2: note: in expansion of macro 'dev_info'
186 |  dev_info(sdev->dev,
|  ^~~~~~~~
sound/soc/sof/loader.c:189:33: error: 'const struct ext_man_dbg_abi' has no member named 'abi_version'
189 |    SOF_ABI_VERSION_MINOR(dbg_abi->abi_version),
|                                 ^~
include/uapi/sound/sof/abi.h:48:5: note: in definition of macro 'SOF_ABI_VERSION_MINOR'
48 |  (((version) >> SOF_ABI_MINOR_SHIFT) & SOF_ABI_MINOR_MASK)
|     ^~~~~~~
>> sound/soc/sof/loader.c:186:2: note: in expansion of macro 'dev_info'
186 |  dev_info(sdev->dev,
|  ^~~~~~~~
sound/soc/sof/loader.c:190:33: error: 'const struct ext_man_dbg_abi' has no member named 'abi_version'
190 |    SOF_ABI_VERSION_PATCH(dbg_abi->abi_version));
|                                 ^~
include/uapi/sound/sof/abi.h:50:5: note: in definition of macro 'SOF_ABI_VERSION_PATCH'
50 |  (((version) >> SOF_ABI_PATCH_SHIFT) & SOF_ABI_PATCH_MASK)
|     ^~~~~~~
>> sound/soc/sof/loader.c:186:2: note: in expansion of macro 'dev_info'
186 |  dev_info(sdev->dev,
|  ^~~~~~~~

vim +/hdr +97 include/sound/sof/ext_manifest.h

    95	
    96	struct ext_man_dbg_abi {
  > 97		struct ext_man_elem_header hdr;
    98		/* use sof_ipc struct because of code re-use */
    99		struct sof_ipc_user_abi_version dbg_abi;
   100	} __packed;
   101	

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

                 reply	other threads:[~2020-06-01 16:57 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=202006020009.C8UemCe2%lkp@intel.com \
    --to=lkp@intel.com \
    --cc=kbuild-all@lists.01.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.