Re: [PATCH 41/45] include/uapi/sound/emu10k1.h: hide gpr_valid, tram_valid and code_valid in userspace

From
Mikko Rapeli <hidden>
Date
2015-03-11 01:22:10
Also in
alsa-devel, lkml
Reply to
Takashi Iwai, 2015-02-17
On Tue, Feb 17, 2015 at 07:27:38AM +0100, Takashi Iwai wrote:
At Tue, 17 Feb 2015 00:05:44 +0100,
Mikko Rapeli wrote:
quoted
The DECLARE_BITMAP macro is not available in userspace headers.
Fixes userspace compile error:
error: expected specifier-qualifier-list before ‘DECLARE_BITMAP’
It's nonsense.  This results in an incompatible structure, thus ABI
would be broken completely (actually this will break the compile of
ld10k1).
None of the exported headers after 'make headers_install' have definition
of DECLARE_BITMAP macro. It is defined in include/linux/types.h which is
different from include/uapi/linux/types.h and missing this definition and
a few other things.

One option would be add DECLARE_BITMAP macro to include/uapi/linux/types.h
and add include/linux/bitops.h to uapi.

Thoughts?

-Mikko
Thread (8 messages) 8 messages, 3 authors, last reply 2015-03-12
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help