]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: uapi: Add linux/types.h include back (but carefully)
authorTakashi Iwai <tiwai@suse.de>
Mon, 30 Dec 2019 21:27:42 +0000 (22:27 +0100)
committerTakashi Iwai <tiwai@suse.de>
Mon, 30 Dec 2019 21:28:59 +0000 (22:28 +0100)
commit10f25f5a19711ba38032d689e29398495cf3be3b
treee3712e31dafb87598ea2a926c5d7de0f5d00dab1
parent57019003115e80cb3a7de9420d2bc25df03f5343
ALSA: uapi: Add linux/types.h include back (but carefully)

A few uapi/sound/*.h headers have been corrected for recovering from
the compile errors with the existing user-space code (alsa-lib) by the
recent commits.  OTOH, these introduced another regression, as now
linux/types.h inclusion became mandatory for the uapi header checks.

As a compromise, this patch re-adds linux/types.h inclusions again,
but conditionally not to break other non-standard user-space stuff
again.

Fixes: 143f57a12a81 ("ALSA: emu10k1: Make uapi/emu10k1.h compilable again")
Fixes: 39ff8bddd7f7 ("ALSA: hdsp: Make uapi/hdsp.h compilable again")
Fixes: 656a3a104075 ("ALSA: hdspm: Drop linux/types.h inclusion in uapi header")
Reported-by: kbuild test robot <lkp@intel.com>
Link: https://lore.kernel.org/r/20191230212742.28925-1-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
include/uapi/sound/emu10k1.h
include/uapi/sound/hdsp.h
include/uapi/sound/hdspm.h