Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

modpost: Mark uuid_le type to be suitable only for MEI

The uuid_le type is used only in MEI ABI, do not advertise it for others.
While at it, comment out that UUID types are not to be used in a new code.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>

authored by

Andy Shevchenko and committed by
Masahiro Yamada
24804329 8818039f

+8 -4
+8 -4
scripts/mod/file2alias.c
··· 34 34 typedef uint32_t __u32; 35 35 typedef uint16_t __u16; 36 36 typedef unsigned char __u8; 37 + 38 + /* UUID types for backward compatibility, don't use in new code */ 37 39 typedef struct { 38 40 __u8 b[16]; 39 41 } guid_t; 40 42 41 - /* backwards compatibility, don't use in new code */ 42 - typedef struct { 43 - __u8 b[16]; 44 - } uuid_le; 45 43 typedef struct { 46 44 __u8 b[16]; 47 45 } uuid_t; 46 + 48 47 #define UUID_STRING_LEN 36 48 + 49 + /* MEI UUID type, don't use anywhere else */ 50 + typedef struct { 51 + __u8 b[16]; 52 + } uuid_le; 49 53 50 54 /* Big exception to the "don't include kernel headers into userspace, which 51 55 * even potentially has different endianness and word sizes, since