diff options
| author | Mauro Carvalho Chehab <mchehab@s-opensource.com> | 2016-11-16 13:42:27 -0500 |
|---|---|---|
| committer | Mauro Carvalho Chehab <mchehab@s-opensource.com> | 2016-11-16 13:42:27 -0500 |
| commit | 36f94a5cf0f9afb527f18166ae56bd3cc7204f63 (patch) | |
| tree | 88d5d356343c2ddbdce083597dc0a63203171964 /include/uapi/linux | |
| parent | c0026c7bfb95c250c3e34fde59f96ad72fd730d6 (diff) | |
| parent | a25f0944ba9b1d8a6813fd6f1a86f1bd59ac25a6 (diff) | |
Merge tag 'v4.9-rc5' into patchwork
Linux 4.9-rc5
* tag 'v4.9-rc5': (1102 commits)
Linux 4.9-rc5
gp8psk: Fix DVB frontend attach
gp8psk: fix gp8psk_usb_in_op() logic
dvb-usb: move data_mutex to struct dvb_usb_device
iio: maxim_thermocouple: detect invalid storage size in read()
aoe: fix crash in page count manipulation
lightnvm: invalid offset calculation for lba_shift
Kbuild: enable -Wmaybe-uninitialized warnings by default
pcmcia: fix return value of soc_pcmcia_regulator_set
infiniband: shut up a maybe-uninitialized warning
crypto: aesni: shut up -Wmaybe-uninitialized warning
rc: print correct variable for z8f0811
dib0700: fix nec repeat handling
s390: pci: don't print uninitialized data for debugging
nios2: fix timer initcall return value
x86: apm: avoid uninitialized data
NFSv4.1: work around -Wmaybe-uninitialized warning
Kbuild: enable -Wmaybe-uninitialized warning for "make W=1"
lib/stackdepot: export save/fetch stack for drivers
mm: kmemleak: scan .data.ro_after_init
...
Diffstat (limited to 'include/uapi/linux')
| -rw-r--r-- | include/uapi/linux/Kbuild | 1 | ||||
| -rw-r--r-- | include/uapi/linux/bt-bmc.h | 18 | ||||
| -rw-r--r-- | include/uapi/linux/ethtool.h | 3 | ||||
| -rw-r--r-- | include/uapi/linux/rtnetlink.h | 2 |
4 files changed, 21 insertions, 3 deletions
diff --git a/include/uapi/linux/Kbuild b/include/uapi/linux/Kbuild index c49c448cff92..855908e70610 100644 --- a/include/uapi/linux/Kbuild +++ b/include/uapi/linux/Kbuild | |||
| @@ -75,6 +75,7 @@ header-y += bpf_perf_event.h | |||
| 75 | header-y += bpf.h | 75 | header-y += bpf.h |
| 76 | header-y += bpqether.h | 76 | header-y += bpqether.h |
| 77 | header-y += bsg.h | 77 | header-y += bsg.h |
| 78 | header-y += bt-bmc.h | ||
| 78 | header-y += btrfs.h | 79 | header-y += btrfs.h |
| 79 | header-y += can.h | 80 | header-y += can.h |
| 80 | header-y += capability.h | 81 | header-y += capability.h |
diff --git a/include/uapi/linux/bt-bmc.h b/include/uapi/linux/bt-bmc.h new file mode 100644 index 000000000000..d9ec766a63d0 --- /dev/null +++ b/include/uapi/linux/bt-bmc.h | |||
| @@ -0,0 +1,18 @@ | |||
| 1 | /* | ||
| 2 | * Copyright (c) 2015-2016, IBM Corporation. | ||
| 3 | * | ||
| 4 | * This program is free software; you can redistribute it and/or | ||
| 5 | * modify it under the terms of the GNU General Public License | ||
| 6 | * as published by the Free Software Foundation; either version | ||
| 7 | * 2 of the License, or (at your option) any later version. | ||
| 8 | */ | ||
| 9 | |||
| 10 | #ifndef _UAPI_LINUX_BT_BMC_H | ||
| 11 | #define _UAPI_LINUX_BT_BMC_H | ||
| 12 | |||
| 13 | #include <linux/ioctl.h> | ||
| 14 | |||
| 15 | #define __BT_BMC_IOCTL_MAGIC 0xb1 | ||
| 16 | #define BT_BMC_IOCTL_SMS_ATN _IO(__BT_BMC_IOCTL_MAGIC, 0x00) | ||
| 17 | |||
| 18 | #endif /* _UAPI_LINUX_BT_BMC_H */ | ||
diff --git a/include/uapi/linux/ethtool.h b/include/uapi/linux/ethtool.h index 099a4200732c..8e547231c1b7 100644 --- a/include/uapi/linux/ethtool.h +++ b/include/uapi/linux/ethtool.h | |||
| @@ -119,8 +119,7 @@ struct ethtool_cmd { | |||
| 119 | static inline void ethtool_cmd_speed_set(struct ethtool_cmd *ep, | 119 | static inline void ethtool_cmd_speed_set(struct ethtool_cmd *ep, |
| 120 | __u32 speed) | 120 | __u32 speed) |
| 121 | { | 121 | { |
| 122 | 122 | ep->speed = (__u16)(speed & 0xFFFF); | |
| 123 | ep->speed = (__u16)speed; | ||
| 124 | ep->speed_hi = (__u16)(speed >> 16); | 123 | ep->speed_hi = (__u16)(speed >> 16); |
| 125 | } | 124 | } |
| 126 | 125 | ||
diff --git a/include/uapi/linux/rtnetlink.h b/include/uapi/linux/rtnetlink.h index 262f0379d83a..5a78be518101 100644 --- a/include/uapi/linux/rtnetlink.h +++ b/include/uapi/linux/rtnetlink.h | |||
| @@ -350,7 +350,7 @@ struct rtnexthop { | |||
| 350 | #define RTNH_F_OFFLOAD 8 /* offloaded route */ | 350 | #define RTNH_F_OFFLOAD 8 /* offloaded route */ |
| 351 | #define RTNH_F_LINKDOWN 16 /* carrier-down on nexthop */ | 351 | #define RTNH_F_LINKDOWN 16 /* carrier-down on nexthop */ |
| 352 | 352 | ||
| 353 | #define RTNH_COMPARE_MASK (RTNH_F_DEAD | RTNH_F_LINKDOWN) | 353 | #define RTNH_COMPARE_MASK (RTNH_F_DEAD | RTNH_F_LINKDOWN | RTNH_F_OFFLOAD) |
| 354 | 354 | ||
| 355 | /* Macros to handle hexthops */ | 355 | /* Macros to handle hexthops */ |
| 356 | 356 | ||
