mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-09 11:23:09 -04:00
Merge tag 'at24-4.16-updates-for-wolfram' of git://git.kernel.org/pub/scm/linux/kernel/git/brgl/linux into i2c/for-4.16
"AT24 updates for 4.16 merge window The driver has been converted to using regmap instead of raw i2c and smbus calls which shrank the code significantly. Device tree binding document has been cleaned up. Device tree support in the driver has been improved and we now support all at24 models as well as two new DT properties (no-read-rollover and wp-gpios). We no longer user unreadable magic values for driver data as the way it was implemented caused problems for some EEPROM models - we switched to regular structs. Aside from that, there's a bunch of coding style fixes and minor improvements all over the place."
This commit is contained in:
9
include/uapi/asm-generic/bpf_perf_event.h
Normal file
9
include/uapi/asm-generic/bpf_perf_event.h
Normal file
@@ -0,0 +1,9 @@
|
||||
#ifndef _UAPI__ASM_GENERIC_BPF_PERF_EVENT_H__
|
||||
#define _UAPI__ASM_GENERIC_BPF_PERF_EVENT_H__
|
||||
|
||||
#include <linux/ptrace.h>
|
||||
|
||||
/* Export kernel pt_regs structure */
|
||||
typedef struct pt_regs bpf_user_pt_regs_t;
|
||||
|
||||
#endif /* _UAPI__ASM_GENERIC_BPF_PERF_EVENT_H__ */
|
||||
@@ -8,11 +8,10 @@
|
||||
#ifndef _UAPI__LINUX_BPF_PERF_EVENT_H__
|
||||
#define _UAPI__LINUX_BPF_PERF_EVENT_H__
|
||||
|
||||
#include <linux/types.h>
|
||||
#include <linux/ptrace.h>
|
||||
#include <asm/bpf_perf_event.h>
|
||||
|
||||
struct bpf_perf_event_data {
|
||||
struct pt_regs regs;
|
||||
bpf_user_pt_regs_t regs;
|
||||
__u64 sample_period;
|
||||
};
|
||||
|
||||
|
||||
@@ -630,9 +630,9 @@ struct kvm_s390_irq {
|
||||
|
||||
struct kvm_s390_irq_state {
|
||||
__u64 buf;
|
||||
__u32 flags;
|
||||
__u32 flags; /* will stay unused for compatibility reasons */
|
||||
__u32 len;
|
||||
__u32 reserved[4];
|
||||
__u32 reserved[4]; /* will stay unused for compatibility reasons */
|
||||
};
|
||||
|
||||
/* for KVM_SET_GUEST_DEBUG */
|
||||
|
||||
@@ -256,7 +256,6 @@ struct tc_red_qopt {
|
||||
#define TC_RED_ECN 1
|
||||
#define TC_RED_HARDDROP 2
|
||||
#define TC_RED_ADAPTATIVE 4
|
||||
#define TC_RED_OFFLOADED 8
|
||||
};
|
||||
|
||||
struct tc_red_xstats {
|
||||
|
||||
@@ -557,6 +557,7 @@ enum {
|
||||
TCA_PAD,
|
||||
TCA_DUMP_INVISIBLE,
|
||||
TCA_CHAIN,
|
||||
TCA_HW_OFFLOAD,
|
||||
__TCA_MAX
|
||||
};
|
||||
|
||||
|
||||
@@ -880,6 +880,8 @@ struct usb_wireless_cap_descriptor { /* Ultra Wide Band */
|
||||
__u8 bReserved;
|
||||
} __attribute__((packed));
|
||||
|
||||
#define USB_DT_USB_WIRELESS_CAP_SIZE 11
|
||||
|
||||
/* USB 2.0 Extension descriptor */
|
||||
#define USB_CAP_TYPE_EXT 2
|
||||
|
||||
@@ -1072,6 +1074,7 @@ struct usb_ptm_cap_descriptor {
|
||||
__u8 bDevCapabilityType;
|
||||
} __attribute__((packed));
|
||||
|
||||
#define USB_DT_USB_PTM_ID_SIZE 3
|
||||
/*
|
||||
* The size of the descriptor for the Sublink Speed Attribute Count
|
||||
* (SSAC) specified in bmAttributes[4:0].
|
||||
|
||||
Reference in New Issue
Block a user