Linux kernel source tree for SHARP Brain series (PW-SH1 or later)
Go to file
Jason Liu 270cb692df MLK-24874-6: include: uapi: mxc_asrc: fix the UAPI_HEADER_TEST failure
Enable CONFIG_UAPI_HEADER_TEST turns out the following build issues

HDRTEST usr/include/linux/mxc_asrc.h
In file included from <command-line>:32:0:
./usr/include/linux/mxc_asrc.h:125:2: error: unknown type name ‘snd_pcm_format_t’
  snd_pcm_format_t input_format;
  ^~~~~~~~~~~~~~~~
./usr/include/linux/mxc_asrc.h:126:2: error: unknown type name ‘snd_pcm_format_t’
  snd_pcm_format_t output_format;
  ^~~~~~~~~~~~~~~~
./usr/include/linux/mxc_asrc.h:134:2: error: unknown type name ‘uint64_t’
  uint64_t supported_in_format;
  ^~~~~~~~
./usr/include/linux/mxc_asrc.h:135:2: error: unknown type name ‘uint64_t’
  uint64_t supported_out_format;

But even add the missing/necessary header file, it finally failed too in the end:

HDRTEST usr/include/linux/mxc_asrc.h
In file included from ./usr/include/linux/mxc_asrc.h:23:0,
                 from <command-line>:32:
./usr/include/sound/asound.h:459:18: error: field ‘trigger_tstamp’ has incomplete type
  struct timespec trigger_tstamp; /* time when stream was started/stopped/paused */
                  ^~~~~~~~~~~~~~
./usr/include/sound/asound.h:460:18: error: field ‘tstamp’ has incomplete type
  struct timespec tstamp;  /* reference timestamp */
                  ^~~~~~
./usr/include/sound/asound.h:469:18: error: field ‘audio_tstamp’ has incomplete type
  struct timespec audio_tstamp; /* sample counter, wall clock, PHC or on-demand sync'ed */
                  ^~~~~~~~~~~~
./usr/include/sound/asound.h:470:18: error: field ‘driver_tstamp’ has incomplete type
  struct timespec driver_tstamp; /* useful in case reference system tstamp is reported with delay */
                  ^~~~~~~~~~~~~
./usr/include/sound/asound.h:472:37: error: invalid application of ‘sizeof’ to incomplete type ‘struct timespec’
  unsigned char reserved[52-2*sizeof(struct timespec)]; /* must be filled with zero */
                                     ^~~~~~
./usr/include/sound/asound.h:479:18: error: field ‘tstamp’ has incomplete type
  struct timespec tstamp;  /* Timestamp */
                  ^~~~~~
./usr/include/sound/asound.h:481:18: error: field ‘audio_tstamp’ has incomplete type
  struct timespec audio_tstamp; /* from sample counter or wall clock */
                  ^~~~~~~~~~~~
./usr/include/sound/asound.h:651:18: error: field ‘tstamp’ has incomplete type
  struct timespec tstamp;  /* Timestamp */
                  ^~~~~~
./usr/include/sound/asound.h:763:18: error: field ‘tstamp’ has incomplete type
  struct timespec tstamp;  /* Timestamp - last update */
                  ^~~~~~
./usr/include/sound/asound.h:813:18: error: field ‘tstamp’ has incomplete type
  struct timespec tstamp;
                  ^~~~~~
./usr/include/sound/asound.h:956:18: error: field ‘tstamp’ has incomplete type
  struct timespec tstamp;
                  ^~~~~~
./usr/include/sound/asound.h:957:36: error: invalid application of ‘sizeof’ to incomplete type ‘struct timespec’
  unsigned char reserved[128-sizeof(struct timespec)];

This is kernel known issue, just like other fixes as the following, put mxc_asrc.h into the skip-list:
header-test- += sound/asequencer.h
header-test- += sound/asoc.h
header-test- += sound/asound.h
header-test- += sound/compress_offload.h
header-test- += sound/emu10k1.h
header-test- += sound/sfnt_info.h

Signed-off-by: Jason Liu <jason.hui.liu@nxp.com>
(cherry picked from commit 4018355af34d9b25ff7bd4d27960d72b8d304e30)
2020-11-17 15:09:21 +08:00
Documentation MLK-24050-3 dt-bindings: phy-imx8mq-usb: add phy tuning for imx8mq/p 2020-11-12 14:07:24 +08:00
LICENSES LICENSES: Rename other to deprecated 2019-05-03 06:34:32 -06:00
arch LF-2777 arm64: dts: imx8qm: Update A53 opp table 2020-11-16 12:34:35 +08:00
block Merge tag 'v5.4.70' into imx_5.4.y 2020-10-08 17:46:51 +08:00
certs PKCS#7: Refactor verify_pkcs7_signature() 2019-08-05 18:40:18 -04:00
crypto Merge tag 'v5.4.70' into imx_5.4.y 2020-10-08 17:46:51 +08:00
drivers MLK-25013 net: wireless: nxp: mxm_wifiex: upgrade to mxm5x16210 release 2020-11-17 14:57:55 +08:00
fs ep_create_wakeup_source(): dentry name can change under you... 2020-10-07 08:01:31 +02:00
include MLK-24874-5: include: uapi: ipu: fix the UAPI_HEADER_TEST failure 2020-11-17 15:09:21 +08:00
init kprobes: tracing/kprobes: Fix to kill kprobes on initmem after boot 2020-10-01 13:18:23 +02:00
ipc ipc/util.c: sysvipc_find_ipc() incorrectly updates position index 2020-05-20 08:20:16 +02:00
kernel MA-17422-1 genirq: Export irq_chip_pm_get and irq_chip_pm_put 2020-10-23 14:54:22 +08:00
lib Merge tag 'v5.4.70' into imx_5.4.y 2020-10-08 17:46:51 +08:00
mm Merge tag 'v5.4.70' into imx_5.4.y 2020-10-08 17:46:51 +08:00
net Bluetooth: MGMT: Fix not checking if BT_HS is enabled 2020-11-05 17:07:46 +08:00
samples MLK-24937-3 samples: mpssd: disable GSO and virtconsole for imx-mic 2020-10-30 09:38:48 +08:00
scripts MLK-24874-1: include: uapi: fmd: fix the UAPI_HEADER_TEST/install failure 2020-11-17 15:09:21 +08:00
security Merge tag 'v5.4.70' into imx_5.4.y 2020-10-08 17:46:51 +08:00
sound LF-2700: ASoC: fsl: imx-cdnhdmi: Fix error prompt 2020-11-16 14:07:59 +08:00
tools perf beauty: Allow the CC used in the arch errno names script to acccept CFLAGS 2020-10-14 08:14:45 +08:00
usr MLK-24874-6: include: uapi: mxc_asrc: fix the UAPI_HEADER_TEST failure 2020-11-17 15:09:21 +08:00
virt Merge tag 'v5.4.70' into imx_5.4.y 2020-10-08 17:46:51 +08:00
.clang-format clang-format: Update with the latest for_each macro list 2019-08-31 10:00:51 +02:00
.cocciconfig scripts: add Linux .cocciconfig for coccinelle 2016-07-22 12:13:39 +02:00
.get_maintainer.ignore Opt out of scripts/get_maintainer.pl 2019-05-16 10:53:40 -07:00
.gitattributes .gitattributes: set git diff driver for C source code files 2016-10-07 18:46:30 -07:00
.gitignore Modules updates for v5.4 2019-09-22 10:34:46 -07:00
.mailmap ARM: SoC fixes 2019-11-10 13:41:59 -08:00
COPYING COPYING: use the new text with points to the license files 2018-03-23 12:41:45 -06:00
CREDITS MAINTAINERS: Remove Simon as Renesas SoC Co-Maintainer 2019-10-10 08:12:51 -07:00
Kbuild kbuild: do not descend to ./Kbuild when cleaning 2019-08-21 21:03:58 +09:00
Kconfig docs: kbuild: convert docs to ReST and rename to *.rst 2019-06-14 14:21:21 -06:00
MAINTAINERS Merge tag 'v5.4.70' into imx_5.4.y 2020-10-08 17:46:51 +08:00
Makefile Linux 5.4.70 2020-10-07 08:01:31 +02:00
README Drop all 00-INDEX files from Documentation/ 2018-09-09 15:08:58 -06:00

README

Linux kernel
============

There are several guides for kernel developers and users. These guides can
be rendered in a number of formats, like HTML and PDF. Please read
Documentation/admin-guide/README.rst first.

In order to build the documentation, use ``make htmldocs`` or
``make pdfdocs``.  The formatted documentation can also be read online at:

    https://www.kernel.org/doc/html/latest/

There are various text files in the Documentation/ subdirectory,
several of them using the Restructured Text markup notation.

Please read the Documentation/process/changes.rst file, as it contains the
requirements for building and running the kernel, and information about
the problems which may result by upgrading your kernel.