1
0
Fork 0
remarkable-linux/include/uapi/linux/raid
Artur Paszkiewicz fc6d2a3ca5 uapi: fix linux/raid/md_p.h userspace compilation error
Use __le32 and __le64 instead of u32 and u64.

This fixes klibc build error:
  In file included from /klibc/usr/klibc/../include/sys/md.h:30:0,
                   from /klibc/usr/kinit/do_mounts_md.c:19:
  /linux-next/usr/include/linux/raid/md_p.h:414:51: error: 'u32' undeclared here (not in a function)
    (PPL_HEADER_SIZE - PPL_HDR_RESERVED - 4 * sizeof(u32) - sizeof(u64))

Reported-by: Greg Thelen <gthelen@google.com>
Reported-by: Nigel Croxon <ncroxon@redhat.com>
Tested-by: Greg Thelen <gthelen@google.com>
Signed-off-by: Artur Paszkiewicz <artur.paszkiewicz@intel.com>
Signed-off-by: Shaohua Li <shli@fb.com>
2017-04-20 09:41:45 -07:00
..
Kbuild UAPI: (Scripted) Disintegrate include/linux/raid 2012-10-09 09:49:02 +01:00
md_p.h uapi: fix linux/raid/md_p.h userspace compilation error 2017-04-20 09:41:45 -07:00
md_u.h drivers: md: use ktime_get_real_seconds() 2016-01-06 11:39:53 +11:00