Linux-Next Archive on lore.kernel.org
 help / color / Atom feed
From: Stephen Rothwell <sfr@canb.auug.org.au>
To: Mark Brown <broonie@kernel.org>, Liam Girdwood <lgirdwood@gmail.com>
Cc: Linux Next Mailing List <linux-next@vger.kernel.org>,
	Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
	Daniel Baluta <daniel.baluta@nxp.com>
Subject: linux-next: build failure after merge of the sound-asoc tree
Date: Fri, 11 Oct 2019 11:01:49 +1100
Message-ID: <20191011110149.79d529c4@canb.auug.org.au> (raw)

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

Hi all,

After merging the sound-asoc tree, today's linux-next build (x86_64
allmodconfig) failed like this:

In file included from include/sound/sof/dai-imx.h:11,
                 from <command-line>:
include/sound/sof/header.h:125:2: error: unknown type name 'uint32_t'
  125 |  uint32_t size;   /**< size of structure */
      |  ^~~~~~~~
include/sound/sof/header.h:136:2: error: unknown type name 'uint32_t'
  136 |  uint32_t size;   /**< size of structure */
      |  ^~~~~~~~
include/sound/sof/header.h:137:2: error: unknown type name 'uint32_t'
  137 |  uint32_t cmd;   /**< SOF_IPC_GLB_ + cmd */
      |  ^~~~~~~~
include/sound/sof/header.h:146:2: error: unknown type name 'int32_t'
  146 |  int32_t error;   /**< negative error numbers */
      |  ^~~~~~~
include/sound/sof/header.h:160:2: error: unknown type name 'uint32_t'
  160 |  uint32_t count;  /**< count of 0 means end of compound sequence */
      |  ^~~~~~~~
include/sound/sof/header.h:167:2: error: unknown type name 'uint32_t'
  167 |  uint32_t arch;  /* Identifier of architecture */
      |  ^~~~~~~~
include/sound/sof/header.h:168:2: error: unknown type name 'uint32_t'
  168 |  uint32_t totalsize; /* Total size of oops message */
      |  ^~~~~~~~
include/sound/sof/header.h:175:2: error: unknown type name 'uint32_t'
  175 |  uint32_t configidhi; /* ConfigID hi 32bits */
      |  ^~~~~~~~
include/sound/sof/header.h:176:2: error: unknown type name 'uint32_t'
  176 |  uint32_t configidlo; /* ConfigID lo 32bits */
      |  ^~~~~~~~
include/sound/sof/header.h:177:2: error: unknown type name 'uint32_t'
  177 |  uint32_t numaregs; /* Special regs num */
      |  ^~~~~~~~
include/sound/sof/header.h:178:2: error: unknown type name 'uint32_t'
  178 |  uint32_t stackoffset; /* Offset to stack pointer from beginning of
      |  ^~~~~~~~
include/sound/sof/header.h:181:2: error: unknown type name 'uint32_t'
  181 |  uint32_t stackptr; /* Stack ptr */
      |  ^~~~~~~~
In file included from <command-line>:
include/sound/sof/dai-imx.h:18:2: error: unknown type name 'uint16_t'
   18 |  uint16_t reserved1;
      |  ^~~~~~~~
include/sound/sof/dai-imx.h:19:2: error: unknown type name 'uint16_t'
   19 |  uint16_t mclk_id;
      |  ^~~~~~~~
include/sound/sof/dai-imx.h:20:2: error: unknown type name 'uint32_t'
   20 |  uint32_t mclk_direction;
      |  ^~~~~~~~
include/sound/sof/dai-imx.h:22:2: error: unknown type name 'uint32_t'
   22 |  uint32_t mclk_rate; /* MCLK frequency in Hz */
      |  ^~~~~~~~
include/sound/sof/dai-imx.h:23:2: error: unknown type name 'uint32_t'
   23 |  uint32_t fsync_rate; /* FSYNC frequency in Hz */
      |  ^~~~~~~~
include/sound/sof/dai-imx.h:24:2: error: unknown type name 'uint32_t'
   24 |  uint32_t bclk_rate; /* BCLK frequency in Hz */
      |  ^~~~~~~~
include/sound/sof/dai-imx.h:27:2: error: unknown type name 'uint32_t'
   27 |  uint32_t tdm_slots;
      |  ^~~~~~~~
include/sound/sof/dai-imx.h:28:2: error: unknown type name 'uint32_t'
   28 |  uint32_t rx_slots;
      |  ^~~~~~~~
include/sound/sof/dai-imx.h:29:2: error: unknown type name 'uint32_t'
   29 |  uint32_t tx_slots;
      |  ^~~~~~~~
include/sound/sof/dai-imx.h:30:2: error: unknown type name 'uint16_t'
   30 |  uint16_t tdm_slot_width;
      |  ^~~~~~~~
include/sound/sof/dai-imx.h:31:2: error: unknown type name 'uint16_t'
   31 |  uint16_t reserved2; /* alignment */
      |  ^~~~~~~~

Caused by commit

  b4be427683cf ("ASoC: SOF: imx: Describe ESAI parameters to be sent to DSP")

I added the following fix for today (include/sound/sof/header.h
probably should have something similar):

From: Stephen Rothwell <sfr@canb.auug.org.au>
Date: Fri, 11 Oct 2019 10:56:46 +1100
Subject: [PATCH] ASOC: SOF: dai-imx.h needs linux/types.h

Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
---
 include/sound/sof/dai-imx.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/include/sound/sof/dai-imx.h b/include/sound/sof/dai-imx.h
index e02fb0b0fae1..31ccb87a8273 100644
--- a/include/sound/sof/dai-imx.h
+++ b/include/sound/sof/dai-imx.h
@@ -8,6 +8,7 @@
 #ifndef __INCLUDE_SOUND_SOF_DAI_IMX_H__
 #define __INCLUDE_SOUND_SOF_DAI_IMX_H__
 
+#include <linux/types.h>
 #include <sound/sof/header.h>
 
 /* ESAI Configuration Request - SOF_IPC_DAI_ESAI_CONFIG */
-- 
2.23.0

-- 
Cheers,
Stephen Rothwell

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

             reply index

Thread overview: 196+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-10-11  0:01 Stephen Rothwell [this message]
2019-10-15  6:46 ` Daniel Baluta
2019-10-15 11:38   ` Stephen Rothwell
  -- strict thread matches above, loose matches on Subject: below --
2019-08-09  3:08 Stephen Rothwell
2019-08-13  3:16 ` Stephen Rothwell
2019-08-13 11:21   ` Mark Brown
2019-08-13 13:52     ` Pierre-Louis Bossart
2019-04-03  0:11 Stephen Rothwell
2019-04-03  2:12 ` Baolin Wang
2019-04-03  3:35   ` Mark Brown
2019-04-03  4:27     ` Baolin Wang
2019-04-03  4:43       ` Mark Brown
2019-03-26 23:03 Stephen Rothwell
2019-03-26  2:33 Stephen Rothwell
2019-03-26 13:15 ` Mark Brown
2019-03-27  4:29   ` Michael Ellerman
2019-03-27 11:57     ` Mark Brown
2019-04-01 11:11       ` Michael Ellerman
2019-04-02  5:14         ` Mark Brown
2019-02-08  2:18 Stephen Rothwell
2019-02-08  7:37 ` Takashi Iwai
2019-02-08  8:39   ` Takashi Iwai
2019-02-08 12:53     ` Mark Brown
2018-04-17 23:51 Stephen Rothwell
2018-04-18 14:49 ` Mark Brown
2018-04-17  1:02 Stephen Rothwell
2018-04-17  1:22 ` Shuming [范書銘]
2018-04-17  2:14   ` Shuming [范書銘]
2018-03-21  2:30 Stephen Rothwell
2018-03-21  2:45 ` Mark Brown
2018-03-21  5:45   ` Mukunda,Vijendar
2018-03-22  1:38     ` Mark Brown
2018-03-22  5:54       ` Mukunda,Vijendar
2018-03-27 11:27         ` Mark Brown
2018-03-27 12:45           ` Mukunda,Vijendar
2018-03-13  6:09 Stephen Rothwell
2018-03-13  8:52 ` Adam Thomson
2018-03-01 23:54 Stephen Rothwell
2018-03-02  2:49 ` John Hsu
2018-02-15  0:35 Stephen Rothwell
2018-02-15  2:49 ` Kuninori Morimoto
2018-02-15 15:33   ` Mark Brown
2018-02-16  0:01     ` Kuninori Morimoto
2017-11-29  0:50 Stephen Rothwell
2017-09-20  2:01 Stephen Rothwell
2017-09-20 11:54 ` robert.jarzmik
2017-09-20 11:56   ` Mark Brown
2017-08-25  7:58 Hsin-yu Chao
2017-08-25  7:41 Stephen Rothwell
2017-06-29  1:54 Stephen Rothwell
2017-06-29  2:01 ` Bard Liao
2017-06-30  1:51   ` Stephen Rothwell
2017-07-03  3:21     ` Stephen Rothwell
2017-06-16  2:04 Stephen Rothwell
2017-06-14  1:26 Stephen Rothwell
2017-06-14  2:22 ` Kuninori Morimoto
2017-06-08  3:37 Stephen Rothwell
2016-12-06  0:14 Stephen Rothwell
2016-12-06  0:41 ` Kuninori Morimoto
2016-12-06  9:37   ` Mark Brown
2016-12-06 12:55     ` Lee Jones
2016-12-06 13:22       ` Mark Brown
2016-11-14  0:28 Stephen Rothwell
2016-11-14  9:45 ` Richard Fitzgerald
2016-11-08  2:47 Stephen Rothwell
2016-11-08  3:18 ` Chen-Yu Tsai
2016-11-09 14:41   ` Mark Brown
2016-08-23  2:27 Stephen Rothwell
2016-08-08  0:50 Stephen Rothwell
2016-08-08  1:29 ` Kuninori Morimoto
2016-05-11  1:07 Stephen Rothwell
2016-05-11  3:38 ` Vinod Koul
2016-05-06  0:57 Stephen Rothwell
2016-05-06  9:48 ` Opensource [Adam Thomson]
2016-05-06 12:02   ` Mark Brown
2016-05-06 13:39     ` Opensource [Adam Thomson]
2016-04-22  2:03 Stephen Rothwell
2016-04-22  8:40 ` Philipp Zabel
2016-04-22  8:58   ` Mark Brown
2016-04-22  9:21   ` Mark Brown
2015-11-19  0:35 Stephen Rothwell
2015-11-19  3:02 ` Vinod Koul
2015-11-19 10:38   ` Mark Brown
2015-11-20 12:06   ` Mark Brown
2015-11-20 14:58     ` Vinod Koul
2015-09-21  1:23 Stephen Rothwell
2015-08-28  1:50 Stephen Rothwell
2015-08-28  7:40 ` Ricard Wanderlof
2015-08-28 15:45   ` Mark Brown
2015-08-31  7:04     ` Ricard Wanderlof
2015-08-31  7:48       ` Stephen Rothwell
2015-08-31  7:51         ` Stephen Rothwell
2015-08-31  8:18           ` Ricard Wanderlof
2015-07-17  4:25 Stephen Rothwell
2015-07-20  3:44 ` Stephen Rothwell
2015-06-04  4:02 Stephen Rothwell
2015-06-02  2:51 Stephen Rothwell
2015-04-30  2:05 Stephen Rothwell
2015-04-30  2:14 ` Bard Liao
2015-03-10  2:01 Stephen Rothwell
2015-03-12  2:11 ` Stephen Rothwell
2015-03-12  2:50   ` Bard Liao
2015-02-09  3:36 Stephen Rothwell
2015-01-28  2:00 Stephen Rothwell
2015-01-28  9:09 ` Charles Keepax
2015-01-28  9:50   ` Charles Keepax
2015-01-28 11:06     ` Mark Brown
2014-10-21  0:33 Stephen Rothwell
2014-08-17 22:30 Stephen Rothwell
2014-08-18  6:51 ` Sean Cross
2014-08-18 14:09   ` Mark Brown
2014-04-15  1:49 Stephen Rothwell
2014-04-15  1:47 Stephen Rothwell
2014-03-19  1:10 Stephen Rothwell
2014-03-19 10:17 ` Mark Brown
2014-03-19 20:30   ` Stephen Rothwell
2014-02-20  3:01 Stephen Rothwell
2013-11-29  0:54 Stephen Rothwell
2013-11-29 12:36 ` Mark Brown
2013-07-16  3:18 Stephen Rothwell
2013-07-16 11:52 ` Mark Brown
2013-06-17  3:46 Stephen Rothwell
2013-03-21  2:13 Stephen Rothwell
2013-02-08  0:57 Stephen Rothwell
2013-02-05  1:46 Stephen Rothwell
2013-01-23  2:17 Stephen Rothwell
2013-01-14  1:04 Stephen Rothwell
2013-01-14  4:55 ` Mark Brown
2012-10-29  0:48 Stephen Rothwell
2012-10-29 18:15 ` Mark Brown
2012-10-29 20:46   ` Stephen Rothwell
2012-10-30 12:11     ` Mark Brown
2012-06-29  3:38 Stephen Rothwell
2012-06-29  7:09 ` Mark Brown
2012-06-25  4:11 Stephen Rothwell
2012-06-25  6:09 ` Rajeev kumar
2012-06-25  8:06   ` viresh kumar
2012-06-25  9:03   ` Mark Brown
2012-06-13  2:52 Stephen Rothwell
2012-06-12  1:59 Stephen Rothwell
2012-06-05  1:25 Stephen Rothwell
2012-06-05  6:55 ` MR Swami Reddy
2012-06-05  9:43   ` Mark Brown
2012-06-05 10:05     ` MR Swami Reddy
2012-06-04  3:25 Stephen Rothwell
2012-06-04  7:19 ` Mark Brown
2012-05-10  4:33 Stephen Rothwell
2012-05-10  8:30 ` Linus Walleij
2012-05-10  8:35   ` Ola Lilja
2012-05-10  9:11     ` Mark Brown
2012-05-10  9:09   ` Mark Brown
2012-05-10 12:12     ` Linus Walleij
2012-04-03  1:26 Stephen Rothwell
2012-04-02  1:34 Stephen Rothwell
2012-04-02 15:04 ` Mark Brown
2012-02-06  1:25 Stephen Rothwell
2012-02-06 16:50 ` Liam Girdwood
2012-02-06 16:53   ` Mark Brown
2012-02-06 22:02   ` Stephen Rothwell
2012-01-23  1:14 Stephen Rothwell
2012-01-23  2:25 ` Fabio Estevam
2012-01-23 10:47 ` Mark Brown
2012-01-23 13:10   ` Stephen Rothwell
2011-12-15  3:38 Stephen Rothwell
2011-12-15  6:10 ` Mark Brown
2011-12-13  3:58 Stephen Rothwell
2011-10-06  2:22 Stephen Rothwell
2011-08-11  3:11 Stephen Rothwell
2011-08-11  4:06 ` Mark Brown
2011-08-12  0:37   ` Stephen Rothwell
2011-08-10  0:25 Stephen Rothwell
2011-08-10  4:55 ` Mark Brown
2011-06-14  3:43 Stephen Rothwell
2011-06-07  1:55 Stephen Rothwell
2011-04-28  1:53 Stephen Rothwell
2011-04-12  1:59 Stephen Rothwell
2011-04-12  4:48 ` Mark Brown
2011-03-07  1:56 Stephen Rothwell
2011-03-07 11:47 ` Mark Brown
2011-02-15  2:33 Stephen Rothwell
2010-12-27 23:40 Stephen Rothwell
2010-12-27 23:48 ` Stephen Rothwell
2010-12-28  2:17   ` Mark Brown
2010-12-30 12:24     ` Takashi Iwai
2010-12-28  2:15 ` Mark Brown
2010-12-23  1:02 Stephen Rothwell
2010-12-23  2:12 ` Mark Brown
2010-12-01  0:31 Stephen Rothwell
2010-10-18  3:29 Stephen Rothwell
2010-10-18  3:39 ` Stephen Rothwell
2010-10-18  5:44   ` Takashi Iwai
2010-10-18  5:03 ` Mark Brown
2010-10-18 20:25 ` Peter Hsiang
2010-10-19  0:07   ` Mark Brown
2010-10-19  0:30     ` Peter Hsiang
2010-10-19  0:43       ` Mark Brown

Reply instructions:

You may reply publically 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=20191011110149.79d529c4@canb.auug.org.au \
    --to=sfr@canb.auug.org.au \
    --cc=broonie@kernel.org \
    --cc=daniel.baluta@nxp.com \
    --cc=lgirdwood@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-next@vger.kernel.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

Linux-Next Archive on lore.kernel.org

Archives are clonable:
	git clone --mirror https://lore.kernel.org/linux-next/0 linux-next/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 linux-next linux-next/ https://lore.kernel.org/linux-next \
		linux-next@vger.kernel.org linux-next@archiver.kernel.org
	public-inbox-index linux-next

Example config snippet for mirrors

Newsgroup available over NNTP:
	nntp://nntp.lore.kernel.org/org.kernel.vger.linux-next


AGPL code for this site: git clone https://public-inbox.org/ public-inbox