History

Merge 5.0-rc4 into char-misc-next

We need the char-misc fixes in here as well.

Greg Kroah-Hartman committed 7 years ago

Commit fdddcfd2 parents f9f7bb9 f17b5f01169 files · +11823 −6458Browse files

Showing the changes to include/uapi/linux (6 of 1169 files). Show all

Unified · Split

6 files
  1. include/uapi/linux/android/binderfs.h +5 −5
  2. include/uapi/linux/audit.h +2 −0
  3. include/uapi/linux/blkzoned.h +1 −0
  4. include/uapi/linux/in.h +1 −1
  5. include/uapi/linux/input.h +5 −1
  6. include/uapi/linux/ptp_clock.h +1 −1
include/uapi/linux/android/binderfs.hrenamed from include/uapi/linux/android/binder_ctl.h+5−5
@@ -4,8 +4,8 @@ · 3 unmodified lines
44 *
55 */
66
7−#ifndef _UAPI_LINUX_BINDER_CTL_H
8−#define _UAPI_LINUX_BINDER_CTL_H
7+#ifndef _UAPI_LINUX_BINDERFS_H
8+#define _UAPI_LINUX_BINDERFS_H
99
1010 #include <linux/android/binder.h>
1111 #include <linux/types.h>
@@ -22,8 +22,8 @@ · 10 unmodified lines
2222 */
2323 struct binderfs_device {
2424 char name[BINDERFS_MAX_NAME + 1];
25− __u8 major;
26− __u8 minor;
25+ __u32 major;
26+ __u32 minor;
2727 };
2828
2929 /**
@@ -31,5 +31,5 @@ struct binderfs_device { · 1 unmodified line
3131 */
3232 #define BINDER_CTL_ADD _IOWR('b', 1, struct binderfs_device)
3333
34−#endif /* _UAPI_LINUX_BINDER_CTL_H */
34+#endif /* _UAPI_LINUX_BINDERFS_H */
3535
include/uapi/linux/audit.h+2−0
@@ -400,6 +400,8 @@ enum { · 399 unmodified lines
400400 /* do not define AUDIT_ARCH_PPCLE since it is not supported by audit */
401401 #define AUDIT_ARCH_PPC64 (EM_PPC64|__AUDIT_ARCH_64BIT)
402402 #define AUDIT_ARCH_PPC64LE (EM_PPC64|__AUDIT_ARCH_64BIT|__AUDIT_ARCH_LE)
403+#define AUDIT_ARCH_RISCV32 (EM_RISCV|__AUDIT_ARCH_LE)
404+#define AUDIT_ARCH_RISCV64 (EM_RISCV|__AUDIT_ARCH_64BIT|__AUDIT_ARCH_LE)
403405 #define AUDIT_ARCH_S390 (EM_S390)
404406 #define AUDIT_ARCH_S390X (EM_S390|__AUDIT_ARCH_64BIT)
405407 #define AUDIT_ARCH_SH (EM_SH)
include/uapi/linux/blkzoned.h+1−0
@@ -138,6 +138,7 @@ struct blk_zone_range { · 137 unmodified lines
138138 * @BLKRESETZONE: Reset the write pointer of the zones in the specified
139139 * sector range. The sector range must be zone aligned.
140140 * @BLKGETZONESZ: Get the device zone size in number of 512 B sectors.
141+ * @BLKGETNRZONES: Get the total number of zones of the device.
141142 */
142143 #define BLKREPORTZONE _IOWR(0x12, 130, struct blk_zone_report)
143144 #define BLKRESETZONE _IOW(0x12, 131, struct blk_zone_range)
include/uapi/linux/in.h+1−1
@@ -268,7 +268,7 @@ struct sockaddr_in { · 267 unmodified lines
268268 #define IN_MULTICAST(a) IN_CLASSD(a)
269269 #define IN_MULTICAST_NET 0xe0000000
270270
271−#define IN_BADCLASS(a) ((((long int) (a) ) == 0xffffffff)
271+#define IN_BADCLASS(a) (((long int) (a) ) == (long int)0xffffffff)
272272 #define IN_EXPERIMENTAL(a) IN_BADCLASS((a))
273273
274274 #define IN_CLASSE(a) ((((long int) (a)) & 0xf0000000) == 0xf0000000)
include/uapi/linux/input.h+5−1
@@ -26,13 +26,17 @@ · 25 unmodified lines
2626 */
2727
2828 struct input_event {
29−#if (__BITS_PER_LONG != 32 || !defined(__USE_TIME_BITS64)) && !defined(__KERNEL)
29+#if (__BITS_PER_LONG != 32 || !defined(__USE_TIME_BITS64)) && !defined(__KERNEL__)
3030 struct timeval time;
3131 #define input_event_sec time.tv_sec
3232 #define input_event_usec time.tv_usec
3333 #else
3434 __kernel_ulong_t __sec;
35+#if defined(__sparc__) && defined(__arch64__)
36+ unsigned int __usec;
37+#else
3538 __kernel_ulong_t __usec;
39+#endif
3640 #define input_event_sec __sec
3741 #define input_event_usec __usec
3842 #endif
include/uapi/linux/ptp_clock.h+1−1
@@ -147,7 +147,7 @@ struct ptp_pin_desc { · 146 unmodified lines
147147 #define PTP_SYS_OFFSET_PRECISE \
148148 _IOWR(PTP_CLK_MAGIC, 8, struct ptp_sys_offset_precise)
149149 #define PTP_SYS_OFFSET_EXTENDED \
150− _IOW(PTP_CLK_MAGIC, 9, struct ptp_sys_offset_extended)
150+ _IOWR(PTP_CLK_MAGIC, 9, struct ptp_sys_offset_extended)
151151
152152 struct ptp_extts_event {
153153 struct ptp_clock_time t; /* Time event occured. */